RE: [PHP] Trouble setting include_path
| From: | Pablo Gosse | Date: | Sun, 02 May 2004 23:53:25 +0000 |
| Subject: | RE: [PHP] Trouble setting include_path | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-185159@lists.php.net to get a copy of this message | ||
<snip>
Most default apache configurations now a days dont have .htaccess
enabled by default (for performance reasons.) Or some hosting
services implicitly turn this option off. So no matter what
you put in the .htaccess file, it will be ignored.
You can test this by putting in your .htaccess file something like:
bogus_statment
if you reload your page on your server and dont get a "500 server
error", apache isn't even looking at the .htaccess file. You can
set set the include_path using the php function ini_set().
</snip>
Thanks, Curt. That was indeed the problem.
Cheers,
Pablo