Duplicate entries in php.ini after running easyapache

moxey

Member
Feb 1, 2003
7
0
151
The last several times I rebuilt PHP and Apache, a number of PHP errors suddenly appeared. I traced this down to duplicate entries in the php.ini. Specifically, the Unix and Windows sections for enabling the IonCube loader and suhosin.so were both active, which caused an error when the second one was encountered in the php.ini file. Commenting out the Windows entries fixed the problem. The question is: why does this error now occur? How do I stop this from happening? It sounds to me like there is an error in EasyApache regarding the update of the /usr/local/lib/php.ini file, but I don't see any recent posts about this issue.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
Hello :)

I have been unable to reproduce this issue on a test machine. Could you open a support ticket so we can take a closer look? You can open a ticket via:

Submit A Ticket

Please post the ticket number here so we can update this thread with the outcome.

Thank you.
 

inthukha

Well-Known Member
Jul 17, 2013
61
0
6
cPanel Access Level
Root Administrator
Hello,

I m sorry for another question regarding the php.ini file in this topic but it seems related with my problem.

as i aware that suhosin is not compiled with new PHP 5.4.17. but i can still see the following old entries of PHP 5.3.25 compiled suhosin in my php.ini file.

; Directory in which the loadable extensions (modules) reside.
extension_dir = "/usr/local/lib/php/extensions/no-debug-non-zts-20100525"
zend_extension="/usr/local/IonCube/ioncube_loader_lin_5.4.so"
extension="suhosin.so"
suhosin.post.max_vars="4096"
suhosin.request.max_vars="4096"
suhosin.get.max_value_length="2000"
suhosin.request.max_varname_length="350"
Should i remove these ?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463