httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lester Caine <les...@lsces.co.uk>
Subject Re: [users@httpd] Php not running
Date Mon, 29 Oct 2007 09:02:25 GMT
Vishal Gaurav wrote:
> Hello,
> I am able to view local host http://localhost/ and able to view php 
> installtion details by use this command on php file
>  <?php phpinfo(); ?>.

> But i am not able to use any other php script on my local machine. for like
> <html>
> <head>
> <title>PHP Test</title>
> </head>
> <body>
> <p>This is an HTML line
> <p>
> <?php
> echo "This is a PHP line";
> phpinfo();
> ?>
> </body></html>

Are you saving that as a script.php file?
script.html will not get processed as php

-- 
Lester Caine - G8HFL
-----------------------------
Contact - http://home.lsces.co.uk/lsces/wiki/?page=contact
L.S.Caine Electronic Services - http://home.lsces.co.uk
MEDW - http://home.lsces.co.uk/ModelEngineersDigitalWorkshop/
Firebird - http://www.firebirdsql.org/index.php

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message