Need *Simple* Explanation<

windows

Guest
Checked at least 10 different sites. All of them don't exactly answer my simple question. So I turn to what I always do when this happens: HTMLForums. Yay.

I have Windows XP. I do not want it to be a server or anything even if that was possible (I don't know). I just want it to be able to execute PHP. Like, what I've been doing is uploading my PHP files to my server in order to see what the files do. I want to just open the PHP file on my Windows XP computer and have it show what it should show on a server.

So... I got the 4.3.6 Installer. Came up with the installshield and stuff. Had no idea what to do for the SMTP, so I left it as localhost and me@localhost or whatever that was. And then these big words came up so I picked "Microsoft PWS on Windows 9x or ME" (should I have picked NT?). Well when I realized I had no idea what I was doing, I uninstalled PHP.

So I still have php-4.3.6-installer.exe - someone just tell me what I'm supposed to pick:


Type of installation (Standard or Advanced)
Standard

Destination
C:\PHP

Address of SMTP
localhost

"From" Address
<!-- e --><a href="mailto:[email protected]">[email protected]</a><!-- e -->

Type of HTTP Server to Run PHP
Microsoft PWS on Windows 9x or ME
Microsoft PWS on NT Workstation
Microsoft IIS 3 or lower
Microsoft IIS 4 or higher
Microsoft IIS 6 or higher
Apache
Xitami
None (or other server)- I will configure the web server manually

And do I have to restart after this for the effects to take place? "Effects" as in... "I doubleclick my PHP file and magically the code is executed instead of just showing the literal code."1) Google for the site, then Download & Install the
Windows version of Apache 1.3.x (X = current #)

2) Install PHP 4.3.x (x = current #) and install
it with the HTTP SERVER as 'Apache'

3) Reboot, then place all your .php files
inside the 'htdocs' folder for Apache; then
type in 'http://localhost' in your browser :)Thankyou. I'm Download ing <!-- m --><a class="postlink" href="http://apache.secsup.org/dist/httpd/binaries/win32/apache_2.0.49-win32-x86-no_ssl.msi">http://apache.secsup.org/dist/httpd/bin ... no_ssl.msi</a><!-- m --> right now. I saw 1.3.x but it said "2.0.49 is the best version" so I figure I could use it. If it doesn't work I'll regret it and go back to what you suggested.install apache first then php. php will/should configure the http.conf file for you. and yes you pick apache, not IIS.

localhost is correct and it doesn't matter what email you use.Ok so the whole installation thing worked out. I put a whole website in a directory called "music" and put the folder into the htdocs folder. How do I view it now?

<!-- m --><a class="postlink" href="http://localhost">http://localhost</a><!-- m --> shows the succesfully-setup notice page. "Test Page for Apache..."

What would be the URL for the music directory within the htdocs?Originally posted by pyrexyn
Ok so the whole installation thing worked out. I put a whole website in a directory called "music" and put the folder into the htdocs folder. How do I view it now?

<!-- m --><a class="postlink" href="http://localhost">http://localhost</a><!-- m --> shows the succesfully-setup notice page. "Test Page for Apache..."

What would be the URL for the music directory within the htdocs?

Delete those default index pages :(
Then should see folder list, and click 'music' :)<!-- m --><a class="postlink" href="http://localhost/musicHaha">http://localhost/musicHaha</a><!-- m -->, it turns out that PHP on Apache 2 is still experimental. So I need to get 1.3, as Leonisknovo first suggested. And I see how everything is working now. Thanks Leonisknovo and Scoutt. I'll be back if I run into problems. Those manuals and installation help files have way too many big words for me to comprehend. :Pmany serervers run apache2 and php. there aren't any problems anymore. I wouldn't worry about going to 1.3Yeah... I thought this problems was because I was using Apache 2. But same thing's happening with 1.3. It says something about an error afterthe PHP installation - something about httpconf file or something. Said I have to manually configure it. And the PHP documents do not work in the htdocs. I'm not sure what's going on...well there is a few posts that have been discussed about what to load in the conf file.

have nay problems than just ask, we can help.
 
Back
Top