httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vishal Gaurav" <vishalgaura...@gmail.com>
Subject Re: [users@httpd] Php not running
Date Mon, 29 Oct 2007 14:59:23 GMT
Hi,
Thanks for your suggestion. Yes i am save the file as .php . I am able to
get info to use this script in php file <?php phpinfo(); ?> and i was also
attached the phpinfo out put file in this mail.When i was trying to run this
script then browser gives internal server error(500) in title
bar.Andnothing is displayed in browser. I am successfully install
Apache on my
machine. And when i try to run http://localhost/ browser displayed its
works! message.


Thanks,
Vishal
vishalgaurav01@gmail.com
linuxvishal@yahoo.com



On 10/29/07, Luis Moreira <luis.moreira@esi.pt> wrote:
>
>  This syntax works fine.
>
>
>
> When you say you are "not able" what do you mean?
>
> What is the output?
>
> Have you checked your APACHE log files?
>
>
>
> Are you sure you saved the file as <filename>.PHP ?
>
>
>
>
>
> *Luis Moreira*
> *Analista*
> *E. S. Informática*
> *Gestão de Sistemas, Qualidade e Produção**
> **Comunicação de Dados e Segurança**
> *Rua Fraternidade Operária 5
> 2799-501 Carnaxide
> Tel: +351 21 416 82 88
> Fax: +351 21 416 80 92
> Email : luis.moreira@esi.pt
> URL: http://www.esi.pt
>
>
>  ------------------------------
>
> *From:* Vishal Gaurav [mailto:vishalgaurav01@gmail.com]
> *Sent:* segunda-feira, 29 de Outubro de 2007 13:08
> *To:* users@httpd.apache.org
> *Subject:* Re: [users@httpd] Php not running
>
>
>
> Hi,
>
> Yes i am save that file as a .php extension.And i am able to view result
> of <?php phpinfo(); ?>
>
>
>
> Thanks,
>
> Vishal
>
> vishalgaurav01@gmail.com
>
> linuxvishal@yahoo.com
>
>
>
> On 10/29/07, *Lester Caine* <lester@lsces.co.uk> wrote:
>
> 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
>
>
>
>
> --
> Vishal Gaurav
>



-- 
Vishal Gaurav

Mime
View raw message