Re: [PHP4BETA] re:Include path and phplib
| From: | Joseph H Blythe | Date: | Mon, 14 Feb 2000 22:53:24 +0000 |
| Subject: | Re: [PHP4BETA] re:Include path and phplib | ||
| References: | 1 2 3 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-10273@lists.php.net to get a copy of this message | ||
Teodor Cimpoesu wrote:
> Try specifing the full path
> (r u using PHP4?)
> if (include('/usr/local/include/php-lib/prepend.php3'))
> print "did it!";
> Then tell us what your php installation thinks about it :)
>
Well this seems to work as it does return "did it!", so I would have to go
through all the src in phplib and change all the include paths, this seems a
little harsh as one thing I try never try to do is explicitly hard code paths
into my source code but if this is the only way to get this working I guess
I'll have to grin a bear it :)
I am using php4beta3 and Apache-1.3.11 under RedHat 6.1. Can anyone verify
that the include path variable in the php.ini is actually working in this
version?
Thanks
Joseph H Blythe
mailto:joe.blythe@binarylogic.com.au