Apache 2.0 and PHP 5.5.3 troubleshooting

I am a first time PHP, Apache user. Apache returns “It Works”. Example PHP scripts saved with .php extensions display nothing when opened with local host. What can I do?

Thanks
Jim

Have you installed php?

If so, please paste the url you have when the site is open, and the code of the file. Use the php tag in the tools bar to display it correctly on the forum :slight_smile:

Like JimL said, have you installed PHP??

If you are a beginner, installing PHP, MySQL and Apache separately can get difficult. Use WAMP / MAMP / XAMPP to simplify the things. You can easily install install PHP, MySQL and Apache on your computer with a few clicks and don’t have to do the configuration. The installer will do all these for you.

If you are using windows you can user WAMP because it’s straight forward and you can easily manage local PHP scripts in it. If you are on Mac choose MAMP.

Sponsor our Newsletter | Privacy Policy | Terms of Service