bsjandu wrote:

placed that in the "C:/window" directory.

You should never move any PHP-related files outside of the main PHP installation directory.

When you installed PHP, did you add the main PHP directory ("C:/php") to your system's PATH environment variable and then restarted your computer?

Also, what does the Apache error log file say?

    bsjandu wrote:

    I only moved it to the ("C:/windows") directory as thats what it said in the instructions on http://www.thesitewizard.com/php/ins...-windows.shtml

    Some people used to think that was the best way to do it, but that practice was renounced quite some time ago. The official PHP manual pages of interest to you are: [man]install.windows.manual[/man] and [man]install.windows.apache2[/man]. If you follow those instructions, you'll be fine.

    bsjandu wrote:

    Also I never added ("C:/php") to the system's PATH environment variable as I never did that the last time I used PHP, has that changed?

    It hasn't changed in a very long time, no - it's always been necessary to do that.

    Also, can you attach your httpd.conf file (you'll probably have to rename it to have a '.txt' file extension) to your next post?

    Finally, how did you install PHP? Did you download the .zip package and extract its entire contents to "C:/php" ?

      Try removing these lines:

      #BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
      ScriptAlias /php/ "C:/php/"
      Action application/x-httpd-php "C:/php/php-cgi.exe"
      #END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL

      and see if Apache will start.

        Write a Reply...