Question:
installing PHP? question!?
Iamhere
2012-01-10 14:23:20 UTC
I'm doing it from the correct wesbite but when I run the phpinfo() test file, it fails.
looks like the apache server 2.0 that i installed is giivng problems. the apache test run is success without php.

any idea what is going on here?
Four answers:
Bogdan
2012-01-10 14:32:53 UTC
You should try installing WAMP or XAMPP (Google them) because they offer apache server + database + mysql + other nice things.



Keep in mind that apache server is starting on port 80, so if you have Skype for example open, apache won't start because skype is using port 80.



Check if you have any programs that run on port 80 and then try restarting apache, or simply download one of the programs I mentioned above.
just "JR"
2012-01-10 22:58:03 UTC
If you have installed XAMPP correctly, you should reach a page that says "That works!" (or something to that effect.

If not, delete all and restart... Follow the instruction TO THE LETTER: failure to do so won't work.



You should also have a short-cut to xampp-control.

Before running your server, you must start xampp-control and start, at least, Apache.
Silent
2012-01-10 22:26:42 UTC
Could you be more specific about the problem? What do you mean by "fails"? Is there an error message? If so, what is it? If not, what happens when you call phpinfo()?
Jolimar Silva
2012-01-10 22:33:39 UTC
Have you ever tried out using VertrigoServ?



That's excelent, it installs PHP, MySQL and phpMyAdmin



once you've installed it, just run it and type in your webbrowser http://127.0.0.1



or http://localhost



at the first you run it, Windows firewall should show up one alert, you just need allow.



HTH


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...