Re: php4 and apache doesn't work together

From: Date: Wed, 27 Sep 2000 14:35:34 +0000
Subject: Re: php4 and apache doesn't work together
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-56@lists.php.net to get a copy of this message
I'm no expert but I use <?php echo "this is a php script"; ?> instead of the <script language=php> - Omar On Wed, 27 Sep 2000, Bauhaus wrote: >Hi everybody, >I am rookie in Linux so I have a problem. >I've installed php4 and apache server according to what was described in a >documentation for php4 (installation for linux as an apache module, example >2-1). The apache server is working. Php too, but not exactly together. >I 've preapared a file "test.php" with <?phpinfo()?> statement. >Writing an address: my.domain/test.php gives me a php4 info page. This is >O.K. >Next, I've preapared a file "test.html": ><!doctype html public "-//w3c//dtd html 4.0 transitional//en"> ><html> ><head> > <title>test PHP</title> ></head> ><body> >Test page ><script language="php"> >echo ("Hi, I'm a PHP script!"); ></script> ></body> ></html> >Writing: my.domain/test.html gives: Test page. And only this. Not even a >track of: Hi, I'm a PHP script! >What went wrong? I use RH 6.1, apache 1.3.12 and php4.0.1pl2 > >Thanks, >Przemek >(Bulbon) > > >-- >PHP Install Mailing List (http://www.php.net/) >To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net >For additional commands, e-mail: php-install-help@lists.php.net >To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.install (#56) next »