[NTLUG:Discuss] is php loaded
rob apodaca
rob.apodaca at attbi.com
Tue Nov 19 16:49:19 CST 2002
On 19 Nov 2002 15:12:03 -0600
Bobby Wrenn <bjwrenn at augustmail.com> wrote:
> I thought I had loaded PHP when I set up a new box (Mandrake 9.0)
>
> When I try to browse http://localhost/test_env.php I get:
>
> Warning: Failed opening '/var/www/html/test_env.php' for inclusion
> (include_path='.:/usr/lib/php/:/usr/lib/php/pear/') in Unknown on line 0
>
> There is no directory /usr/lib/php/pear/. But I do have
> /usr/lib/php/extensions/.
>
> The body of test_env.php contains only one the following:
>
> <?php
> phpinfo();
> ?>
>
> Any ideas?
>
Bobby,
This is a permissions issue with the test_env.php file. The file needs to be readable by the
user that apache is running as (most likely apache). So, either chmod it or chown/chgrp it.
The abscence of the pear directory is no big deal.
hth,
-rob
More information about the Discuss
mailing list