Using PHP, MySQL and Apache Server

Reply

Join Date: Jul 2004
Posts: 1
Reputation: TelKennedy is an unknown quantity at this point 
Solved Threads: 0
TelKennedy TelKennedy is offline Offline
Newbie Poster

Using PHP, MySQL and Apache Server

 
0
  #1
Jul 29th, 2004
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
Reply With Quote Quick reply to this message  
Join Date: Jul 2004
Posts: 1
Reputation: thangalimodzi is an unknown quantity at this point 
Solved Threads: 0
thangalimodzi thangalimodzi is offline Offline
Newbie Poster

Re: Using PHP, MySQL and Apache Server

 
0
  #2
Jul 29th, 2004
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.
Reply With Quote Quick reply to this message  
Join Date: Aug 2004
Posts: 2
Reputation: wattle99 is an unknown quantity at this point 
Solved Threads: 0
wattle99 wattle99 is offline Offline
Newbie Poster

Re: Using PHP, MySQL and Apache Server

 
0
  #3
Aug 2nd, 2004
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

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
Reply With Quote Quick reply to this message  
Join Date: Feb 2003
Posts: 282
Reputation: Roberdin will become famous soon enough Roberdin will become famous soon enough 
Solved Threads: 6
Team Colleague
Roberdin Roberdin is offline Offline
Supreme Evil Overlord

Re: Using PHP, MySQL and Apache Server

 
0
  #4
Aug 3rd, 2004
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
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC