i changed the php.ini file's maximum execution limit to 300 from 30..
it was required to restart apache for changes to take effect, but i dont know how to restart it..
i used this command in cron jobs:--
/etc/rc.d/init.d/httpd restart
but i get this error:-
/etc/rc.d/init.d/httpd: line 13: ulimit: open files: cannot modify
limit: Operation not permitted
/etc/rc.d/init.d/httpd: line 14: ulimit: open files: cannot modify
limit: Operation not permitted
/etc/rc.d/init.d/httpd: line 15: ulimit: open files: cannot modify
limit: Operation not permitted
/etc/rc.d/init.d/httpd restart: httpd not running, trying to start
fopen: Permission denied
httpd: could not open document config file
/usr/local/apache/conf/httpd.conf
/etc/rc.d/init.d/httpd restart: httpd could not be started
now my site is not opening and is giving me this error:--
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please help me correct this asap.
it was required to restart apache for changes to take effect, but i dont know how to restart it..
i used this command in cron jobs:--
/etc/rc.d/init.d/httpd restart
but i get this error:-
/etc/rc.d/init.d/httpd: line 13: ulimit: open files: cannot modify
limit: Operation not permitted
/etc/rc.d/init.d/httpd: line 14: ulimit: open files: cannot modify
limit: Operation not permitted
/etc/rc.d/init.d/httpd: line 15: ulimit: open files: cannot modify
limit: Operation not permitted
/etc/rc.d/init.d/httpd restart: httpd not running, trying to start
fopen: Permission denied
httpd: could not open document config file
/usr/local/apache/conf/httpd.conf
/etc/rc.d/init.d/httpd restart: httpd could not be started
now my site is not opening and is giving me this error:--
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please help me correct this asap.
Comment