Hi,
I recompiled apache and now all php scripts give an internal server error
WHM 11.2.0 cPanel 11.8.0-C15921
CENTOS Enterprise 4.5 i686 - WHM X v3.1.0
Thanks for any help
Hi,
I recompiled apache and now all php scripts give an internal server error
WHM 11.2.0 cPanel 11.8.0-C15921
CENTOS Enterprise 4.5 i686 - WHM X v3.1.0
Thanks for any help
Ok i have fixed this by downgrading php to 4.7.7 from 5.2.3
Can anybody tell me what went wrong? i need to use php5 but i get an internal server error using it
I also get this in all the accounts error_logs that use php:
[04-Aug-2007 20:10:38] PHP Warning: Unknown(): Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20020429//etc/ixed/ixed.4.4.lin' - /usr/local/lib/php/extensions/no-debug-non-zts-20020429//etc/ixed/ixed.4.4.lin: cannot open shared object file: No such file or directory in Unknown on line 0
Last edited by _Sam_; 08-04-2007 at 11:33 PM.
Try using .htaccess in php 4 in order to use php5
AddHandler application/x-httpd-php5 .php
Also, try to upgrade to php 5.21 instead of php 5.23
Exactly the same problem.
But seems working fine with 5.2.0
Tried 5.2.2, 5.2.3 : all php program give an Internal Error.
Marc
I'm not sure whether cPanel have put in the workaround for the latest PHP SNAFU, but if you have phpsuexec enabled, then with PHP v5.2.3 you may need to rename /usr/bin/php-cgi to /usr/bin/php and then restart apache.
Jonathan Michaelson
Need your cPanel servers secured and tuned?
cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
http://www.configserver.com
Hi,
I tried to rename /usr/bin/php-cgi to /usr/bin/php but problem remains the same.
When trying to execute a PHP program i receive an Internal Server Error 500
Strange with the same cPanel release R15076 the result depends of the OS used.
With a VPS Centos 4.5 all PHP 5.x.x give the Internal Server Error 500
With a VPS FC4 all works fine till PHP 5.2.2, if i try to compile o 5.2.3 with the same options (always with phpsuexec) i receive the the Internal Server Error 500
This takes a lot of time to compile and test.
Marc
Oups !
Found a solution of this problem , helped with Eugene from knownhost.com
If you try to compile with "phpsuexec" and have enabled the "security center" the option "Shell Fork Bomb Protection" you will receive the "Internal server error 500".
I disabled the "Shell Fork Bomb protection" and all seems working fine.
Again thanks to Eugene from knownhost.com
Hoping this can help you.
Regards,
Marc
Ok i have fixed the error posted above by removing from php.ini (they were there when i got the server):
extension=/etc/ixed/ixed.4.4.lin
zend_extension=/etc/ioncube/ioncube_loader_lin_4.4.so
Look in your php.ini and comment out the line for the module it is trying to load since you aren't using it. These will be at the very bottom.
The ioncube loader you may consider enabling. Many clients would use them and it would better to have it available server wide.
You may just need just change the version to 5.2 since it most likely has all the loaders available at the location its pointing to. Also be sure ioncube is the very first item on the list.
zend_extension=/etc/ioncube/ioncube_loader_lin_5.2.so