AlexVB

Member
Oct 23, 2007
13
1
53
11.28.87-RELEASE_51188

I've noticed that easyapache generates incorrect php.ini file.

For example, after easyapache execution there are 2 "extension =" lines, three "doc_root =" lines, three "auto_append_file" lines, etc...

Is it ok? Or if it the bug - will it be fixed?

Thanks.
 

bhd

Well-Known Member
Sep 20, 2003
149
2
166
JNB ZA
cPanel Access Level
Root Administrator
Had the same problem. Error logs were becoming huge with
Code:
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/: cannot read file data: Is a directory in Unknown on line 0
Removing the un-commented line
Code:
 extension =
from /usr/local/lib/php.ini fixed it.

Love to see this fixed too.
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
somewhere over the rainbow
cPanel Access Level
Root Administrator
Did you use the WHM > PHP Configuration Editor to edit the php.ini at any point? If so, we have resolved cases (47683 and 46972) in 11.29/11.30 that were related to duplicate entries being put into the global php.ini at /usr/local/lib/php.ini when using that editor. This could explain what is happening if you had used it anyway.

Otherwise, if this was only due to running EasyApache, please submit a ticket and confirm that we can rebuild using EasyApache to see this happening and determine the cause. You can open up a ticket using WHM > Support Center > Contact cPanel or via the link in my signature.
 

AlexVB

Member
Oct 23, 2007
13
1
53
Ok. Yes, i did.
And another question - is this fix will be available for RELEASE (11.28)?
 
Last edited:

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
somewhere over the rainbow
cPanel Access Level
Root Administrator
The cases are not currently implemented into 11.28 but you can review the changelog at the following location to see when any set case is pushed into any version:

Change Logs

You can check your current version by running this command:

Code:
cat /usr/local/cpanel/version
You can check the most recent versions for each tier at this location:

Downloads - cPanel Inc.

At this time, if you need to make changes to the global php.ini file at /usr/local/lib/php.ini location, you would want to do so in root SSH manually without using the WHM > PHP Configuration Editor.