Newbi, trying to learn PHP but can't get past Apache - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Newbi, trying to learn PHP but can't get past Apache

Garrett85Garrett85 Posts: 168Member
I'M trying to learn PHP but I can't seem to get past the setting up of MySQL and Apache. I am using the book "PHP, MySQL and Apache All in ONE". This is ridicules, once I edited the file httpd.conf in my text editor, the books now tells me to add my PHP directory to my Windows PATH. But it doesn't bother to tell me what that means or how to do that. Keep in mind I am familiar with file paths and directories. Please help someone, anyone.

Comments

  • anthrax11anthrax11 Posts: 511Member
    Find out your PHP directory (where you have php.exe), it should be something like "C:Program FilesPHP".
    Now go to Control Panel -> System -> Advanced -> Environment Variables and append that directory to the user variable PATH. Don't forget to add the semicolon.
  • Garrett85Garrett85 Posts: 168Member
    Thanks, I hope I got it right.
Sign In or Register to comment.