|
Posted by David Quinton on 07/28/06 09:26
On 27 Jul 2006 21:26:36 -0700, "Max" <max@kipness.com> wrote:
>Hello -
>
>Just switched to PHP 5 and just realized that all my scripts with
>relative paths for require statements no longer work unless I put the
>absolute path. Usually, if the file is in the same directory I would us
>the following statement:
>
>require 'file.php';
>
>Now I'm having to use:
>
>require '/var/www/html/file.php';
>
>Do I just need to convert everthing to absolute, or is there something
>I'm missing somewhere?
If it's like v4, you can also use .htaccess if you can't get at
php.ini.
php_value include_path .:/usr/lib/php:/home/xxxx/yyyy
I think you need to be using mod_apache and not as cgi.
<http://www.zend.com/manual/configuration.changes.php>refers.
--
Locate your Mobile phone: <http://www.bizorg.co.uk/news.html>
Great gifts: <http://www.ThisBritain.com/ASOS_popup.html>
Navigation:
[Reply to this message]
|