PHP

[How To] Disable Suhosin for a domain

php logo

If you are getting following error related to suhosin /usr/bin/php: symbol lookup error: /usr/local/lib/php/extensions/no-debug-non-zts-20060613/suhosin.so: undefined symbol: zend_atol [Sun Jan 30 11:07:08 2011] [error] [client] Premature end of script headers: /home/username/public_html/wp-admin/index.php It means that Suhosin should be disabled for the particular domain. We are going to see how this can be achieved using php.ini. Please note that .htaccess does not support …

Read More »

How to install APC on Linux server ?

php logo

The Alternative PHP Cache (APC) is a free and open opcode cache for PHP. Its goal is to provide a free, open, and robust framework for caching and optimizing PHP intermediate code. No external libraries are needed to build this extension. There are two ways of installing APC on Linux server. Let us discuss both of them in brief   …

Read More »

How to fix "Warning: Cannot modify header information - headers already sent by"

php logo

If you are getting error as "Warning: Cannot modify header information - headers already sent by" then open the php.ini file of the domain. Check "output_buffer" value in php.ini and alter the current settings (turn On/Off) Also, increase "maximum_execution_time" to 300. Save the php.ini file and restart apache service. If any feedback, queries are always welcome!

Read More »

How to fix error "suhosin.so: undefined symbol: zend_atol"

php logo

Suhosin is an advanced protection system for PHP installations. It was designed to protect servers and users from known and unknown flaws in PHP applications and the PHP core. If you are getting error as /usr/bin/php: symbol lookup error: /usr/local/lib/php/extensions/no-debug-non-zts-20060613/suhosin.so: undefined symbol: zend_atol [Sun Jan 30 11:07:08 2011] [error] [client] Premature end of script headers: /home/username/public_html/wp-admin/index.php   You will have …

Read More »