Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Starting php

Status
Not open for further replies.

Elmserv

Programmer
Sep 25, 2004
72
GB
I am a complete novice at this (foxpro seems much easier at the mo)

I am trying to load phpmyadmin & one of the requirements is having PHP running.

I have installed PHP, mySQL & phpmyadmin on my local machine, I tried running the index file in phpmyadmin but that just shows me the code, it doesn't run.

I think its because PHP isn't running.

Help !!!!


Richard
 
you need to provide a bit more information:

1. what os are you running
2. what webserver are you running
3. what type of php installation are you using (cgi or sapi)
4. is your webserver working - does it give any errors?
 
OS is XP Pro

Webserver isn't loaded, I will try to load apache.

Richard
 
you need a webserver to use phpmyadmin. php can be used without one but only as a command line tool or GUI. most uses of php are, i suspect, as a hypertext preprocessor and thus required a web-server.

if you are on xp pro- i'd recommend using IIS - it's already on your computer and you may find that it is already up and running. the php installation files (assuming you downloaded from php.net) contain an excellent installation howto. be sure to use the variant of php that is a SAPI and not the CGI. typically you need to download the file called php-5.1.6-Win32.zip
 
Would it work if I use my development website which runs on apache?
I can load the mysql into a local directory

Richard
 
yes - if you configure apache to use php. again - in the installation instructions.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top