Re: [phplib] Fatal error: Failed opening required '/usr/local/httpd/php/prepend.php3' in /usr/local/httpd/htdocs/index.php3 on line 0 From: marion schmid (m.schmid <email protected>)
Date: 05/30/01

Hi!

did you set the path where to find the prepend.php3-file in php3.ini
auto_prepend or have an
include("prepend.php3); in your index.php3 (uncommented)?

I have had similar problems and it was because of this or because I
unintended changed something in my local.inc

I also had problems with my include_path in php3.ini.
It couldn't find my own include-files, although they were in the same
directory as the phplib-includes.
I had (thanks to Fernando at the mailing list) to set

include_path = .:/usr/local/httpd/PHP/php/ instead of only the
include_path= /usr...

You also have to check if all the rights are ok.
the phplib-files you use must have the same rights as your files where
you use phplib.

this is what I found somewhere to solve my problems: probably it's a
hint for you.good luck!

/marion

#############

Warning: Failed opening ... .inc for inclusion in ... php3 on line __

If you are running a unix based system be sure that the user running the
webserver can read the file. to be sure do a chmod a+r on the file.
Are you sure you have the right path to the file, if the .inc file isent
in the same dir as the php file, you have to add a path. fx:

include("/bla/blabla/functions.inc");
--------
And make sure execute permission (chmod a+x) is enabled on directories.
For example, if you're trying to include the above, make sure execute
permission is enabled for /bla and /bla/blabla directories.
-------
If *ALL* php pages are failing with "failed opening..." messages and
you're using the Zend optimizer, make sure the optimizer library file
and directories are readable (/usr/local/Zend/lib by default on Unix)

Baerbel Deisting wrote:
>
> hi all,
>
> we have a newbie problem:
>
> we tried to install phplib on an apache web server. when we tried to reach http://localhost/index.php3 we get the following error:
>
> Fatal error: Failed opening required '/usr/local/httpd/php/prepend.php3' in /usr/local/httpd/htdocs/index.php3 on line 0
>
> has anybody some hints to solve this problem?
>
> thanks
>
> baerbel
> _______________________________________________________________________
> 1.000.000 DM gewinnen - kostenlos tippen - http://millionenklick.web.de
> IhrName <email protected>, 8MB Speicher, Verschluesselung - http://freemail.web.de
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: phplib-unsubscribe <email protected>
> For additional commands, e-mail: phplib-help <email protected>

---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>