[PLUG] Apache and php question
Vincent Damewood
vincentdamewood at yahoo.com
Sat Nov 23 21:01:45 UTC 2002
How are you accessing the files? http://127.0.0.1/ or
with file:///var/www/ (or whatever Red Hat uses)? The
only way I ever got that kind of error was by
accessing the files directly (file://), which doesn't
even touch apache, and thus, no PHP, but by accessing
your site through http://127.blah it actually does go
through apache.
HTH,
Vincent Damewood
--- Richard Steffens <rsteff at attbi.com> wrote:
> I'm trying to get my internal home web site running
> again on RH 8. I
> followed the instructions in the books I have but
> have been unsuccessful
> in getting php working. The book says to add the
> following to httpd.conf
>
> AddType application/x-httpd-php .php
> AddType application/x-httpd-php-source .phps
>
> I have those lines in the file.
>
> apachectl configtest reports:
>
> Syntax OK.
>
> Apache itself is working; I can connect to the web
> site from other
> machines in the house. However, when I try looking
> at a page with <?
> phpinfo() ?> as its only content, I get a blank page
> instead of the long
> page of php information that I should get. And, when
> I look at any other
> web page that uses php, I see the php commands
> instead of the results of
> those commands. From this, I assume that Apache is
> not using php.
>
> What step am I missing?
>
> Thanks in advance for the help.
>
> --
> Regards,
>
> Dick Steffens
> http://rsteff.home.attbi.com/
>
> _______________________________________________
> PLUG mailing list
> PLUG at lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
More information about the PLUG
mailing list