PHP doesn´t wrok !?
Posted by: fkrahe (---.poa.virtua.com.br)
Date: December 28, 2006 05:46PM

Ok, I´m a total noob in the ways of the wamp. I just wanted to get started with it. So, I instaled WAMP. After some effort, I´ve got the server to work.

I´ve tested it with this test page (there goes the code):
<html>
<head>
<title>Entendendo o funcionamentio do PHP</title>
</head>

<body>
<p> There is an HTML code</p>
<?
echo "There is my PHP code";
?>
<p>Back to the HTML code</p>
</body>
</html>

The only thing I can read in my browser is the two "HTML" sentences. It looks like my apache doesn't read the PHP line...

Im I wrong? Over my wamp tray icon I can read "All services running - server online". Are they running? All of them? Seems like PHP is sleeping...

So, I'm a noob, help me, please!!!
Thank's, guys

Re: PHP doesn´t wrok !?
Posted by: yfastud (---.cable.mindspring.com)
Date: December 28, 2006 05:54PM

The question is where did you save that test file and how did you access it?

Anyway, save that test_file in c:/wamp/www/test_folder and access it like this

[localhost]

Check my old post here for the idea

[forum.wampserver.com]

Have fun

[www.jlbn.com] (testing web server)
[test.jlbn.com] (testing codes)
[forum.jlbn.com] (testing phpBB2)
[forums.jlbn.com] (testing phpBB3)
[mail.jlbn.com] (testing mailserver)
[ftp.jlbn.com] (testing ftp server)
[www.jlbn.com] (testing flashes)
[www.jlbn.com] (testing images)
[fusion.jlbn.com] (testing phpFusion)

Sorry, only registered users may post in this forum.