Re: Apache not processing php under Red Hat Linux x86
| From: | Erik | Date: | Fri, 31 May 2002 17:10:02 +0000 |
| Subject: | Re: Apache not processing php under Red Hat Linux x86 | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-7185@lists.php.net to get a copy of this message | ||
hi,
1) typing error it is
<?phpinfo();?>
and not <?php info(); ?>
not spaces allowed in the function name also php files must have a extension
that you associated with php
.php .php3 .php4 .phtml or whatever but it must be there in httpd.conf also
the mime type must be there
AddType application/x-httpd-php .php .php3 .php4 .phtml
if this line is missing add it and try again
did you installed from rpm's ?
regards Erik
"Michael Knauf/Niles" <mknauf@nilesaudio.com> schreef in bericht
news:OF05B7C443.31AC6C1C-ON85256BC9.00685A85@LocalDomain...
> It looked like I could select the php4 and apache packages when I
installed
> Red Hat Linux 7, and sure enough apache is up and working, and php4 seems
> to be there also, but the php info function
>
> <? php info(); ?>
>
> inside an html file is rendered exactly like that by the browser... the
> httpd.conf file looks like it's got the correct add module etc lines as
> well, what should I look for?
>
> Michael
>