Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199908

Re: [PHP3] PHP Will Not Work From: Rasmus Lerdorf (rasmus <email protected>)
Date: 08/30/99

When you telnet to port 80 of that server and issue a
"HEAD / HTTP/1.0\n\n" does the Server string show PHP? If not, chances
are that you are not running the binary you think you are running. If the
PHP module is present in the httpd binary, and you have the PHP AddType in
the appropriate httpd.conf file, it will work. If it doesn't, you have
done something wrong on one of these things.

On Mon, 30 Aug 1999, Duncan Kinder wrote:

> Hi.
>
> I have Apache 1.3.9 running on Redhat Linux 5.2
>
> I have downloaded the source code for php-3.0.12.
>
> I have followed the directions. There is no apparent configure or compile
> error.
>
> I have uncommented the AddTypes reference to php which is found in my
> Apache httpd.conf file.
>
> Running the command /www/bin/httpd -l indicates that mod_php3.c is
> installed.
>
> Nevertheless, when prepare a text such as the following:
>
> <html>
> <body>
> <?php
> $myvar = "Hello World";
> echo $myvar;
> ?>
> </body>
> </html>
>
> It fails to display "Hello World" but rather includes the code in the
> source.
>
> Nothing happens. I have recompiled and reinstalled this about 3 times to no
> avail. Nothing happens. It does not work.
>
> My server otherwise appears to be working properly.
>
> I have done everything they say I should do. I have checked everything they
> say I should check. Useless.
>
> I would appreciate any help. Is there even any way I can verify that php is
> working on my system?
>
>
> Regards,
>
> Duncan C. Kinder
> dckinder <email protected>
>
>
>
>
>
>

-- 
PHP 3 Mailing List <http://www.php.net/>
To unsubscribe, send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest, e-mail: php3-digest-subscribe <email protected>
To search the mailing list archive, go to: http://www.php.net/mailsearch.php3
To contact the list administrators, e-mail: php-list-admin <email protected>