English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I have run MAMP very easily on several macs. now i am trying WAMP on my XP machine and I can't get it to serve up any php code locally for code development and testing. Apache seems to be loading everything fine. Any ideas?

2007-02-25 14:09:13 · 3 answers · asked by ecoandy 2 in Computers & Internet Programming & Design

3 answers

You may need to activate the PHP engine.

Make sure the following lines are uncommented in your httpd.conf file:
LoadModule php4_module libexec/httpd/libphp4.so
AddModule mod_php4.c

There may be something a little different, maybe it's a PHP5 module you have or something like that. In any case just make sure the # signs are removed from those lines.

Once you have that, restart Apache and create a file called info.php that contains:
phpinfo();
?>

and call it up through Apache. If you get the PHP info page, you're golden. If not, you'll see the PHP code verbatim.

2007-02-25 14:21:10 · answer #1 · answered by poorcocoboiboi 6 · 0 0

there is a meter kind of thing that shows up in your system tray once you install wamp, see what is the status on that meter, that'll tell you if mySQL started or not, and that whether Apache got started properly or not. There is a possibility that WinXP might be blocking apache from starting up. Windows XP has a truck load of services and the HTTP service is turned off, then apache won't be able to start properly. To resolve the WAMP problem, i'd suggest to post the problem on a discussion forum on wamp's site or something, because there are alot of things to check to see if they are causing problems. you can't do that on yahoo answers!

2007-02-25 22:14:46 · answer #2 · answered by Muhammed 3 · 0 0

What version of WAMP did you install. The latest is 1.6.6

some earlier versions had some issues with PHP not running on all systems

2007-02-25 22:40:14 · answer #3 · answered by Jeffrey F 6 · 0 0

fedest.com, questions and answers