Jump to content
Killersites Forums

PHP path in Windows XP


Recommended Posts

Perhaps a silly question, but why bother doing this all manually? WAMP takes care of all of that for you -- you can have the server set up and ready to work with within about ten minutes?


I'm sorry if it is a silly one! But I'm just curious... and I want to try it manually....

people these days become more lazy because of these technologies and not knowing how things work... too bad sometimes one of them! ^_^ but I think its still much better to know why...


peace!!! :D

Link to comment
Share on other sites

Well, after doing a google search, it looks like there are a lot of answers for "How do I add my PHP directory to the PATH on Windows?". I would think that if it was necessary, PHP wouldn't work, so I'd guess that you probably do need it.


Here are instructions:



Link to comment
Share on other sites

Guest Brainsick

It is not needed at all. It is purely for ease of maintenance.


In fact, the "php.ini" is looked for in several locations.


Reference: http://www.askapache.com/php/custom-phpini-tips-and-tricks.html


Scroll down a bit until you see, "Default locations to look for php.ini".


I do not use the PATH simply because I do not want to. I have all of my various installations (PHP, MySQL, SQLite, etc) in the primary "Apache Software Foundation" folder.


I have found when something does not work it is simply a matter of rearranging a few key DLLs, INIs, or CONFs within that folder group to get everything running smoothly.


The best, most educative installation is, in my opinion, using the Apache binary installer and PHP compressed archive. You learn a bit and it goes surprisingly well if you pay attention to the details. This article for example goes to great lengths to complicate things in my opinion. Then it recommends against putting your PHP installation in the root of the server but does not explain why. Something I have had running without incident for several years.

Edited by Brainsick
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...