Casper
Casper

Reputation: 1723

cannot run PHP script from apache webserver

I'm trying to execute a PHP script from my apache webserver. I tried a Hello World page and it worked, but when I run this findmyiphone script, it shows 500 error from the webserver. What's wrong?

I tried to execute the example.php in terminal by doing php -f example.php, how would I do that from a browser in my web server

Upvotes: 1

Views: 448

Answers (1)

Casper
Casper

Reputation: 1723

Answer is I need to restart the server

Upvotes: 1

Related Questions