php not running
Posted by: bohus (85.248.40.---)
Date: November 09, 2006 11:44PM

I installed the wampserver. All looks good, database is running, apache is running, but php dont works. I can see on localhost all php tags. I dont see output of these tags but syntax of these tags only. Can you help me somebody? Thx

Re: php not running
Posted by: nairit (---.162.177-2.cal.static.vsnl.net.in)
Date: November 10, 2006 10:36AM

Use
<?php
?>
tags
Or enable short tags

Re: php not running
Posted by: mind99 (---.speedxs.nl)
Date: November 11, 2006 12:08AM

I have the same problem .... even after enabling the short tags in php.ini

restarted apache , to no use ...

tnx in advance for an answer

Re: php not running
Posted by: analeah (---.physics.unr.edu)
Date: November 15, 2006 01:17AM

Hi,


Same problem, can't figure out what's going on.

What error messages do you guys get in your php log?

Re: php not running
Posted by: analeah (---.physics.unr.edu)
Date: November 15, 2006 01:20AM

Hey,

I just fixed mine by using <?php instead of <?

Does this work for you guys?

Re: php not running
Posted by: CyberSpatium (71.237.217.---)
Date: November 15, 2006 07:45AM

make sure apache is started and running.

put all your website files (html, php, images, css, etc) in your document root where apache expects to find them:
c:\wamp\www

to get apache to correctly parse you website files, you need to make sure you access it using http, do not open the file directly.
[localhost]

make sure you use full php stype tags, not short ASP style tags. although you can change that in your php.ini file, I highly recommend you dont. it is the standard php coding practice to use full php tags. also, if you will be using any XML with your website, having short style tags enabled will cause problems.


CyberSpatium
WAMP English Forum Admin

Sorry, only registered users may post in this forum.