Here is problem
I get new vps which always has apache 2.0 instead of 2.2 and 5.2.9 instead of 5.2.17 (latest stable version of 5.2.xx) so I update them using /scripts/easyapache
You also by default don't include any of the following Curl, CurlSSL, GD Library, Mod suPHP, Suhosin, Zend Optimizer, Mod Security, IonCube, Deflate and MemCache so I have add them too. This takes a long time to do. But to top it of once Apache rebuild Successfully and I check CSF Firewall I see "Check php WARNING Unable to examine PHP settings due to an error in the output from: /usr/local/bin/php -i"
I check php.ini and notice /usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/ZendOptimizer.so is being added multiple times to Zend zend_extension after changing PHP Configuration Editor using Advanced Mode at Main >> Service Configuration >> PHP Configuration Editor
So instead of it being
/usr/local/IonCube/ioncube_loader_lin_5.2.so, /usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/ZendOptimizer.so
it will repeat the zend line which causes error. so it is like this
/usr/local/IonCube/ioncube_loader_lin_5.2.so, /usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/ZendOptimizer.so, /usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/ZendOptimizer.so, /usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/ZendOptimizer.so
Same thing happens with all of the newly setup VPSs lately. There must be something wrong with the OS template you use.
Please do
1. use Apache 2.2
2. use latest stable version of php which is 5.2.17
3. include commonly used software like Curl, CurlSSL, GD Library, Mod suPHP, Suhosin, Zend Optimizer, Mod Security, IonCube, Deflate, MemCache
at least offer template to be chosen during checkout...
Also someone please look into the issue with php.ini as it's driving me nuts lol.
Currently rebuilding Apache at the moment to see if it corrects php.ini automatically. Failing that I'll have to check php error logs and see what other lines have been added too many times to php.ini after updating the file using PHP Configuration Editor using Advanced Mode at Main >> Service Configuration >> PHP Configuration Editor


Reply With Quote



