system' failed with exit code '65280' !!

dragon2611

Well-Known Member
Nov 30, 2003
124
0
166
Anyone know why this is failing on a centos 6.x X64 box?

Annoyingly it reverts back to the previous Apache version even if I've selected the options Not to. :rolleyes:


-- Begin step 'set php_ini for PECL and PEAR' --
!! '/usr/local/bin/pear config-set php_ini /usr/local/lib/php.ini system' failed with exit code '65280' !!
!! Restoring original working apache !!
!! Executing '/scripts/initsslhttpd' !!
!! Restarting 'httpd' ... !!
!! 'httpd' restart complete. !!
Building global cache for cpanel...Done
!! Executing '/scripts/initfpsuexec' !!
!! Executing '/scripts/initsslhttpd' !!
!! Executing '/scripts/update_apachectl' !!
!! Executing '/scripts/enablefileprotect' !!
 

KurtN.

Well-Known Member
Jan 29, 2013
95
1
83
cPanel Access Level
Root Administrator
As root, what do you get when you execute the following commands?
> /usr/local/bin/pear config-set php_ini /usr/local/lib/php.ini
> echo $?

NOTE: Make sure you execute 'echo $?' directly after running the pear command, with no other commands in between.
 

dragon2611

Well-Known Member
Nov 30, 2003
124
0
166
As root, what do you get when you execute the following commands?
> /usr/local/bin/pear config-set php_ini /usr/local/lib/php.ini
> echo $?

NOTE: Make sure you execute 'echo $?' directly after running the pear command, with no other commands in between.
Whoops forgot to remove the > from the first command, think I just trashed pear.

Pretty sure /usr/local/bin/pear is not supposed to be a 0 byte file.
 

KurtN.

Well-Known Member
Jan 29, 2013
95
1
83
cPanel Access Level
Root Administrator
I think this particular issue has already been submitted to the support staff.

On the positive side, we're already working on Case 63881, that will prevent EasyApache builds from failing if the pear command fails. Instead, it will print a message to the screen containing the output (if any) of your pear error, then continue. We intend on releasing this as soon as possible.

With respect to the error code, but no output, this will definitely require some investigation, since it's coming from PHP itself.
 

ScottTh

Well-Known Member
Jan 28, 2013
157
2
18
Houston, TX
cPanel Access Level
Root Administrator
Hi dragon2611,

The EasyApache team released version 3.18.6 yesterday afternoon. As Kurt alluded to in his post a fix has been implemented to address the pear command failing issue. Please see our change log for more details about what's included in EasyApache 3.18.6:

EasyApache < AllDocumentation/ChangeLog < TWiki

Please let us know if this new version has addressed the issue you're experiencing. Thank you!
 

dragon2611

Well-Known Member
Nov 30, 2003
124
0
166
I raised a ticket with the support team in the end and they were able to trace the issue to the fact that I had the ini_set function disabled.

I temporally re-enabled it for the build and then it worked.

This was prior to the new version of easy apache, I'm afraid I've not yet tried this new version as the suggest support gave me fixed the issue.