Posts Tagged ‘ php ’

If you want compile Apache with additional php modules which
are not implemented in Easyapache type:
~# touch /var/cpanel/easy/apache/rawopts/all_php5
edit your file
~# nano /var/cpanel/easy/apache/rawopts/all_php5
and add the modules


To create a separate php.ini file for Cpanel and Fantastico run:

~$ /scripts/makecpphp


In some php 5 versions the flle upload is bugging by default.
Open php.ini and add the following line ( or uncomment if present but not enabled )
upload_tmp_dir = /tmp


To add php modules to your configuration you can easily
use your apt manager:

~# apt-get install php5-gd
~# apt-get install php5-curl


It is strongly recommended to enable open_basedir protection
on shared hosting systems to prevent a complete server hack over php.
Log into WHM and look under security > security center.
The feature jails any user’s php ability inside the public_html directory