Page 1 of 1

How to execute the php files in XAMPP?

Posted: Tue Nov 25, 2008 4:29 am
by swetha
The operating system im using is Windows Vista.
I have IIS 7.0 in my system previously.Now i have installed XAMPP.
Am trying to access MYSQL through control panel,but am unable to do it.
Kindly help me how to access MYSQL.

Also ive changed the httpd.conf file .The port name ive changed from 80 to 81.
When i give http://localhost:81/xampp,it works fine.Im not sure in which location should i copy the .php file.assume that i have created a new file first.php.In which location do i need to copy this file to execute it through localhost.

Thanks for any help.

Re: How to execute the php files in XAMPP?

Posted: Tue Nov 25, 2008 5:13 am
by sirish
You should copy the file inside the folder htdocs
if u have installed xampp in C:\ then the folder htdocs might be in
C:\Program Files\xampp\htdocs\
:lol:

Re: How to execute the php files in XAMPP?

Posted: Tue Nov 25, 2008 6:02 am
by novice4eva
I would go for the folder named www.
Anyways to be sure check for "DocumentRoot" in httpd.conf
It should look something like:

Code: Select all

DocumentRoot "C:\Program Files\xampp\www"
Whatever it be, that's the location in which your localhost points to and you files should be inside that location

Re: How to execute the php files in XAMPP?

Posted: Mon Dec 01, 2008 11:17 am
by swetha
how do i run mysql after installing xampp?
i have installed mysql and apache as a service,but i get an error while trying to run mysql.
this is the error i get while trying to run MYSQL service.
"Access violation at address 10009FB0 in module LIBMYSQL.dll.Read of address 00000000."

Re: How to execute the php files in XAMPP?

Posted: Tue Dec 02, 2008 11:18 am
by novice4eva
aren't those services loaded automatically!! I use wamp server, never needed to load services separately, maybe xampp is a totally different animal :roll: