I have a file, I just transfered hosts, and it keeps giving me this error:
Parse error: parse error, unexpected $ in /var/www/sites/overboards/index.php on line 186
But line 186 is the last line in the file and it just says "?>".
All my other PHP files run fine, except for this one. Whats wrong?
Also, cookies arent working AT ALL, and I want to know how to restart the server from another computer, from a php script. I tried system("/etc/rc.d/init.d httpd restart",$exec);
and it just returns Stopping httpd: [FAILED] Starting httpd: 0 and doesnt even stop.