In cPanel servers, the safest way to install PHP modules is to use the cPanel script for Apache-PHP compilation. You can do this as follows.
WHM login >> Main >> Software >> Apache Update
Or from the console execute /scripts/easyapache
Go through each step as follows.
1. Click “start customizing based on profile”
2. Select Apache Version – Click Next to proceed with the current version.
3. Select PHP Major Version – Click Next to proceed with the current version.
4. Select PHP Minor version – Click Next to proceed with the current version.
5. Short option list – Click Exhaustive Options List to view full options.
6 Exhaustive Options List – From here you can select the PHP modules you needed
In this case you need to select ‘GD’ and/or ‘CURL’
7. Click Save & Build to start apache-php compilation.
Once the compilation over you can verify the installed modules using the following command.
[root@servername ~]# php -m






4 responses so far ↓
Tech // June 3, 2009 at 7:55 pm |
Nice…!!
ali // July 14, 2009 at 10:26 am |
tnx for learning
FREDDY // August 15, 2009 at 3:55 pm |
GOOD TUTO THANKS MAN GOD BLESS TO TAKE YOU THE TIME TO XP US
iFlair Web Technologies Pvt. Ltd. // October 27, 2009 at 5:45 am |
Really Thanks for your suggestions.
Chirag Shah