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.
obviously you cant do that! If a normal user can shut down apache, imagine the case of all those hosted in your server. Contact support.
If you have dedicated email reboots@hostgator.com - Dedicated Server Reboot Triage For shared I'd do live chat or submit a ticket to support. Best of luck!
yeah, i submitted a ticket and they did it in few mins..thanks everyone..their service is quite good..