2

I used the following link to download the latest Xampp in order to install php on a windows. I clicked on "Installer" and installed it on my computer. Now I can't seem to find php on my machine. What should I do next?

3
  • Have you tried to load up xampp and execute a php file within the web root directory? Commented Feb 3, 2012 at 5:24
  • I wrote php -v in the command line, and it doesn't recognize it Commented Feb 3, 2012 at 5:25
  • @LucyWeatherford php -v will only be recognized if the xampp bin directory for php is defined in your environment PATH variable. Commented Feb 3, 2012 at 14:54

1 Answer 1

3

First of all you must start the apache server and mysql through xampp control panel. and then directly try with browser like http://localhost/

Also you need to save the php files in C:/program files/xampp/htdocs/your folder name / (If you installed xampp in C drive )

Wherever you installed that exe create a xampp folder automatically. XAMPP folder contains all the database, server configuration files and php files

Sign up to request clarification or add additional context in comments.

8 Comments

I'm not sure I understand.. I opened up xampp, now what to do?
Okay I am running it, how do I use the command line? the xampp_start.php is not letting me write anything there, the cmd of the computer is not recognizing php; but the localhost is clearly running xampp
If you opened up the Xampp control panel there is options to start mysql, apache, Please start all these.
also, it seems that the php files were saved under `c:/xampp/htdocs', should I change this to what you suggested?
@LucyWeatherford The standard ports for apache are 80 and 443 is used for ssl, mysql generally runs under 3306. If you are receiving that as a startup notification there should be no concern, if it is a startup failure message, you likely already have an instance of xampp running. And I mentioned the php -v issue in a comment to the question already. There should be no concern as to whether or not php is in your path if you are not going to be scripting with it and only serving php files with apache.
|

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.