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

by Nirmala 2008-11-19 10:38:12

Hi...
On Windows NT, 2000, XP and 2003:

*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. ;CRazz
hp)
*Press OK and restart your computer

On Windows 98/Me you need to edit the autoexec.bat file:

*Open the Notepad (Start -> Run and enter notepad)
*Open the C:autoexec.bat file
*Locate the line with PATH=C:WINDOWS;C:WINDOWSCOMMAND;..... and add: ;CRazz
hp to the end of the line
*Save the file and restart your computer

Tagged in:

1195
like
1
dislike
0
mail
flag

You must LOGIN to add comments