no php
Posted by: falieson (---.wireless.calpoly.edu)
Date: August 03, 2007 03:19AM

So i just installed wamp5 and I can't seem to get php to work. the WAMP5 dock says "All services running - Server offline"

OS: Vista Ultimate

Options: ReplyQuote
Re: no php
Posted by: falieson (---.wireless.calpoly.edu)
Date: August 03, 2007 04:07AM

I create a simple index.php file
<?PHP
phpinfo();
?>

and place it in c:/wamp/www/

I go to localhost/index.php and get a blank screen.

The server is running - there is no timeout and index.html works fine. PHP is simply not being parsed.

Options: ReplyQuote
Re: no php
Posted by: yfastud (---.cable.mindspring.com)
Date: August 03, 2007 04:11AM

It might conflict w/ original index.php that comes w/ wamp, so you should name it differently or put in a folder instead

Check my old post here:

[forum.wampserver.com]

Have fun,

[www.jlbn.net] (Basic Guide for WAMP)

Options: ReplyQuote
Re: no php
Posted by: falieson (---.wireless.calpoly.edu)
Date: August 03, 2007 04:14AM

No - I have replaced the original. This is not the problem. I have also read this post by you.

the www/ directory only contains index.html and index.php - both created by me.

Options: ReplyQuote
Re: no php
Posted by: yfastud (---.cable.mindspring.com)
Date: August 03, 2007 04:26AM

In that case, you don't need to include the file name in url, so it's just:

[localhost]


Have fun,

[www.jlbn.net] (Basic Guide for WAMP)

Options: ReplyQuote
Re: no php
Posted by: falieson (---.wireless.calpoly.edu)
Date: August 03, 2007 04:45AM

wow.. that was not very helpful. Your guide was much more helpful.

My problem is not being unable to access the file - please give me that much credit.

As i said before my problem is apache is not parsing php.

Options: ReplyQuote
Re: no php
Posted by: falieson (---.dsl.snlo01.sbcglobal.net)
Date: August 03, 2007 05:42AM

so here was teh fix - php was not enabled.

wamp menu (left click) -> apache modules -> (scroll to bottom) php5_module

Options: ReplyQuote
Re: no php
Posted by: yfastud (---.cable.mindspring.com)
Date: August 03, 2007 10:20PM

he he ... he he... ;-)

It's is NOT a very common error most people got, so not sure if you've got the corrupted installation files or it happened after you edited something. Anyway, glad that you found the soluttion

Have fun,

[www.jlbn.net] (Basic Guide for WAMP)

Options: ReplyQuote
Re: no php
Posted by: Asho (---.dynamic.dsl.as9105.com)
Date: August 04, 2007 12:01PM

I have this same problem also. But The fix you sujested doesn't work for me sad smiley

Options: ReplyQuote


Sorry, only registered users may post in this forum.