bplgonzo
17th August 2007, 11:40
I have problem setting include_path directive per folder via .htacces file
I have Apache2/PHP5/ISPConfig installed. I see mod_php5 loaded so I guess that PHP is working as Apache module.
Problem is following:
I need to set include_path per folder. My directive is:
php_value include_path ".:/usr/lib/php:/usr/share/pear:/var/www/web1/web/test"
- If I put it in .htaccess file under /var/www/web1/web/test it returns Error 500
- If I put it in ISPConfig Apache directive box it works OK, but I guess that then it is directive for whole site, and I need it per separate folders.
Is there something I'm missing in code or in some other settings?
I have Apache2/PHP5/ISPConfig installed. I see mod_php5 loaded so I guess that PHP is working as Apache module.
Problem is following:
I need to set include_path per folder. My directive is:
php_value include_path ".:/usr/lib/php:/usr/share/pear:/var/www/web1/web/test"
- If I put it in .htaccess file under /var/www/web1/web/test it returns Error 500
- If I put it in ISPConfig Apache directive box it works OK, but I guess that then it is directive for whole site, and I need it per separate folders.
Is there something I'm missing in code or in some other settings?