httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jimmy McDonald <...@bsdshell.dyndns.org>
Subject Re: [users@httpd] mod_php question
Date Wed, 01 Oct 2003 15:52:03 GMT
yeah, it turns out the php is built into the apache
that comes with Redhat. I never knew.. I'd say "Who knew?"
but many of you would write back and say "Me!"

:)

Thanks,
Jimmy


On Wed, 1 Oct 2003, Nathan Ollerenshaw wrote:

> On Oct 1, 2003, at 6:50 AM, Jimmy McDonald wrote:
>
> > I'm kind of confused. I just installed Redhat 9 and chose php as an
> > option during install.
>
> [...]
>
> > So php isn't built in and there is no module installed and
> > httpd.conf doesn't try to load one.
>
> Actually, I think you'll find that RedHat's httpd.conf includes a
> directory in /etc/httpd that has one file per module to load, or
> something like that. I never checked because it's always worked for me
> to just install all the packages and start apache.
>
> Try putting a index.php file in /var/www/htdocs (or is it
> /var/www/html?) with the following:
>
> <?php
>
> phpinfo();
>
> ?>
>
> then hit the root of the webserver. You should see some nice output
> from PHP telling you what it was compiled with, the defaults that have
> been set, etc.
>
> Nathan.
>
>
> ---------------------------------------------------------------------
> 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
>
>

---------------------------------------------------------------------
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


Mime
View raw message