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.
How to execute the php files in XAMPP?
Moderator: General Moderators
Re: How to execute the php files in XAMPP?
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\

if u have installed xampp in C:\ then the folder htdocs might be in
C:\Program Files\xampp\htdocs\
- novice4eva
- Forum Contributor
- Posts: 327
- Joined: Thu Mar 29, 2007 3:48 am
- Location: Nepal
Re: How to execute the php files in XAMPP?
I would go for the folder named www.
Anyways to be sure check for "DocumentRoot" in httpd.conf
It should look something like:
Whatever it be, that's the location in which your localhost points to and you files should be inside that location
Anyways to be sure check for "DocumentRoot" in httpd.conf
It should look something like:
Code: Select all
DocumentRoot "C:\Program Files\xampp\www"Re: How to execute the php files in XAMPP?
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."
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."
- novice4eva
- Forum Contributor
- Posts: 327
- Joined: Thu Mar 29, 2007 3:48 am
- Location: Nepal
Re: How to execute the php files in XAMPP?
aren't those services loaded automatically!! I use wamp server, never needed to load services separately, maybe xampp is a totally different animal 