943,752 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 5795
  • PHP RSS
Jul 29th, 2004
0

Using PHP, MySQL and Apache Server

Expand Post »
Hello

I have just bought a book on php, MySQL and Apache server which came
with an installation disk. I have installed all three on my laptop computer
running MS XP Professional. All three seem to work ok independantly but
when I try to run any code examples through IT web browser it doesn't
appear to run the php - I get a quick dos window appears and disappears.
Can anyone help with this problem.

Terry Kennedy
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
TelKennedy is offline Offline
1 posts
since Jul 2004
Jul 29th, 2004
0

Re: Using PHP, MySQL and Apache Server

Go to the directory where you installed apache hopefully you will find an apache folder
open the apache folder inside the folder you will find the folder named htdocs.
try to open a new folder and save you php files in this folder hopefully when you
run the code it will be executed.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
thangalimodzi is offline Offline
1 posts
since Jul 2004
Aug 2nd, 2004
0

Re: Using PHP, MySQL and Apache Server

Have you thought of using phpdev5. A program that installs php mysql and apache. Great for the beginner. I had it up and running with no hassles. Just remember to save your web pages in the www folder within phpdev5.

Regards Lynne

Quote originally posted by TelKennedy ...
Hello

I have just bought a book on php, MySQL and Apache server which came
with an installation disk. I have installed all three on my laptop computer
running MS XP Professional. All three seem to work ok independantly but
when I try to run any code examples through IT web browser it doesn't
appear to run the php - I get a quick dos window appears and disappears.
Can anyone help with this problem.

Terry Kennedy
Reputation Points: 10
Solved Threads: 0
Newbie Poster
wattle99 is offline Offline
2 posts
since Aug 2004
Aug 3rd, 2004
0

Re: Using PHP, MySQL and Apache Server

A mistake I made was to assume that the PHP woukld work just by double cliking the file or opening it in its directory. You need to visit

http://localhost/path/to/your/file.php
Team Colleague
Reputation Points: 63
Solved Threads: 6
Supreme Evil Overlord
Roberdin is offline Offline
282 posts
since Feb 2003

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: Retreiving a Variable from a URL
Next Thread in PHP Forum Timeline: how do i mod a php forum?





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC