Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > it.comp.www.php > #21852

Re: Test php su apache

From Alessandro Pellizzari <shuriken@amiran.it>
Newsgroups it.comp.www.php
Subject Re: Test php su apache
Date 2018-01-20 08:40 +0000
Message-ID <fcgdj3Ftn61U1@mid.individual.net> (permalink)
References <p3ubol$r1f$1@gioia.aioe.org>

Show all headers | View raw


On 20/01/18 03:06, kk wrote:

> <body>
> <p>
> <?php
> 
> /* Primo script del libro in php comment */
> 
> echo "Oggi e' il ";
> echo Date("l F d, Y");
> echo "<br>";

Quanto antico è questo libro?

> Invece funziona.
> Consigli, suggerimenti ?

"Non funziona" purtroppo non dice niente.

Hai salvato il file con estensione .php ?

Controlla il sorgente della pagina dal browser e vedi se PHP viene
eseguito o meno. Se vedi il sorgente uguale a come l'hai scritto,
significa che PHP non è configurato correttamente nel server.

Se hai pagina bianca, controlla i log di apache. In Linux sono in
/var/log/apache2/

Se hai Windows... passa a Linux :P

Bye.

Back to it.comp.www.php | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Test php su apache kk <fgd@iul.li> - 2018-01-20 04:06 +0100
  Re: Test php su apache Alessandro Pellizzari <shuriken@amiran.it> - 2018-01-20 08:40 +0000
    Re: Test php su apache kk <fgd@iul.li> - 2018-01-20 19:45 +0100
      Re: Test php su apache Alessandro Pellizzari <shuriken@amiran.it> - 2018-01-20 22:23 +0000
        Re: Test php su apache kk <fgd@iul.li> - 2018-01-21 01:22 +0100
          Re: Test php su apache Alessandro Pellizzari <shuriken@amiran.it> - 2018-01-21 08:18 +0000
            Re: Test php su apache "GO_BREXIT" <21669invalid@mynewsgate.net> - 2018-01-21 09:29 +0000

csiph-web