Web Hosting Talk







View Full Version : Apache/PHP/MySQL on Windows XP Professional


Sharif
09-04-2003, 10:43 AM
Hi all,

I am trying to setup a testing environment for my scripts on my windows system.

I successfully installed APACHE 1.3 using the windows installer to the C:\SERVER\Apache\ directory.

Now, how do I give access to anyone so they can see the files on my server? I tried going to http://<my ip>/ from anohter computer but all I get is a Forbidden page. How can I make it so that someone else can see it too. Also, how would I go on about setting up FTP space (and accounts) for the web server.

ringnebula
09-04-2003, 11:51 AM
I should preface this by saying that I have never setup apache et all on XP but have done so on 2000 many times so there could be some differences that i'm not aware of. I also seem to recall that there were some known problems with apache and XP in the past and I don't know for sure what their status is.
Having said that......... Check to make sure that the appropriate user account has read and maybe also execute permissions on your document root directory that you have setup for apache. Execute permissions may or may not be needed depending upon how you installed php. That (should) take care of your forbidden errors.
As for setting up ftp on XP, you will have to install an ftp server. One is included in IIS on the XP cd, but if you go that route make sure to either not install the www server or bind it to a different port (other than 80) so that it doesn't conflict with apache. Then use the IIS management snap-in to configure the ftp server to have it's root dir to be the same as apache's document root. In XP's ftp server i'm not sure if you can setup more than one ftp "site" so you may be limited to giving everyone access to the main document root.
Hopefully that gives you some ideas to help you out.

Sharif
09-04-2003, 04:06 PM
I thought I just had to edit the httpd.conf file for Apache to give people the permission to view my web pages on the server.