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
–enable-module1
–enable-module2
Archive for the ‘ WHM/Cpanel ’ Category
To create a separate php.ini file for Cpanel and Fantastico run:
~$ /scripts/makecpphp
If Horde Webmail don’t open correctly in Cpanel run:
/scripts/autorepair phpapps_owner_fix
as root user. It will fix the owner prmissions
which mostyl causes this problem.
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
To update Cpanel/WHM to the latest version run:
~# /scripts/upcp
Depending on your configuration the latest
Edge, Release, Current or Stable version will be installed
To install PostgreSQL on a Cpanel server run:
~# /scripts/installpostgres
and follow the isntructions. You need assign a password
from the SQL section in WHM.
Recompile Apache with pgsql support.