Monthly Archives: May 2010

Maximum file limit reach while starting Apache

To fix this error, Login to shell using root and make the following changes. root@shameer[~]#nano /etc/sysctl.conf Add following line as fs.file-max = 22992 Then run following command from shell to active changes.

Private PHP Error Logging by using .htaccess file

To enable private PHP error logging, First disable PHP errors. To do it, add following lines into .htaccess file. # Disable php errors php_flag display_startup_errors off php_flag display_errors off php_flag html_errors off