sumittyagi

Member
Jun 18, 2009
5
0
51
How can I compile php in the cpanel. I have to edit the options in php.ini and have to recompile it. any idea how to do it????
 

krizag

Member
Jun 19, 2009
10
0
51
If you have root access, you can do it by ssh.

use /scripts/easyapache --force for recompiling php.

You can find the loaded php.ini file from the following command from shell:

#php --info | grep php.ini
 

Spiral

BANNED
Jun 24, 2005
2,020
8
193
How can I compile php in the cpanel. I have to edit the options in php.ini and have to recompile it. any idea how to do it????
Just to be clear and thorough, you do know that changing options in the PHP.INI file doesn't require you to recompile PHP, right?

That said, if you do need to recompile such as for adding new features that were not included in the original compile, the easiest way to do this is actually manually building the source but EasyApache either from the shell or from WHM will work as well.