Skip to content


How do I add my PHP directory to the PATH on Windows?

How do I add my PHP directory to the PATH
on Windows?

On Windows NT+ and Windows Server 2000+:

  • Go to Control Panel and open the System icon (Start ->
    Settings
    -> Control Panel -> System, or just Start -> Control
    Panel
    -> System for Windows XP/2003+)

  • Go to the Advanced tab

  • Click on the ‘Environment Variables’ button

  • Look into the ‘System Variables’ pane

  • Find the Path entry (you may need to scroll to find it)

  • Double click on the Path entry

  • Enter your PHP directory at the end, including ‘;’ before (e.g.
    ;C:\php)

  • Press OK

More information is here OR

http://www.php.net/manual/en/faq.installation.php#faq.installation.addtopath

Posted in PHP, WIndows.

Tagged with , , , , .



0 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.