![]() |
php.ini on cpanel
Hello,
I can't find the php.ini On my php info I get this: Configuration File (php.ini) Path - /usr/local/lsws/lsphp5/lib But dear I dont see the php.ini, I only see folder: php with inside this files: System.php peclcmd.php pearcmd.php PEAR5.php PEAR.php and more... PHP Code:
Thanks! |
you can create it --- /usr/local/lsws/lsphp5/lib/php.ini
in cPanel, if you build matching php, lsphp5 should use same php.ini -- /usr/local/lib/php.ini |
I get this error when I add php.ini to /usr/local/lsws/lsphp5/lib/
PHP Code:
PHP Code:
date.timezone = "Europe/Berlin" extension=timezonedb.so |
"Europe/Berlin" is ok per http://php.net/manual/en/timezones.europe.php
should not need this: extension=timezonedb.so the 503 error may relate to this extension. please comment it out to see if the error disappears. |
I stil get this error:
PHP Code:
PHP Code:
|
you can't use 2 opcode cache together -- only select one.
comment out either apc.so or xcache.so |
Still get error:
PHP Code:
|
do you have
extension=eaccelerator.so in php.ini ? it's also opcode cache. same advice as before: only keep one. please list all of your extensions in php.ini if still 503 error. |
there only two probleem
1.timezone PHP Code:
PHP Code:
I have change to this configuration but still get error: PHP Code:
xcache.so apc.so memcache.so timezonedb.so suhosin.so ixed.5.3.lin eaccelerator.so |
please comment out all extensions:
extension=eaccelerator.so zend_extension = "/usr/local/IonCube/ioncube_loader_lin_5.3.so" and test again. if no 503 error, then add the extension one by one, to identify which extension is the cause. |
| All times are GMT -7. The time now is 12:59 PM. |