Here are some missing PHP modules on my WordPress install.
apt install php-gd php-dom php-mbstring php-imagick php-zip |
Reboot Apache after the install.
systemctl restart apache2 |
cloud engineer
Here are some missing PHP modules on my WordPress install.
apt install php-gd php-dom php-mbstring php-imagick php-zip |
apt install php-gd php-dom php-mbstring php-imagick php-zip
Reboot Apache after the install.
systemctl restart apache2 |
systemctl restart apache2
Here’s how to list the available PHP modules.
apt-cache search php- | less |
apt-cache search php- | less
To get details about a module.
apt-cache show php-curl |
apt-cache show php-curl
To install a module.
apt install php-curl |
apt install php-curl
Or install all modules.
apt install php* |
apt install php*
Restart Apache after each install.
systemctl restart apache2 |
systemctl restart apache2
Here’s how to fix when phpinfo is displaying a blank page. The install is missing this php module.
apt install php libapache2-mod-php |
apt install php libapache2-mod-php
Restart after install.
service apache2 restart |
service apache2 restart
If you switched to HTTPS in Apache, make sure to update CodeIgniter’s config file.
vim /var/www/applications/config/config.php |
vim /var/www/applications/config/config.php
Change the base URL to https.
$config['base_url'] = 'https://yourdomain.com/ci/'; |
$config['base_url'] = 'https://yourdomain.com/ci/';
If you’re still running older versions of CodeIgniter, here are a couple of tips to make it work with PHP7.
Considering v2.1.3 is very old (currently 3.1.10) , I’m surprised it works with PHP7 with just a few modifications.