[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] php_flag include_path Cobalt question



Dammit Jim I'm a network guy, not a coder!

Can someone explain to me the implications of the following changes (message below)or give a suggestion as to how it should be done. We have many php sites that run with no issues but this client seems to need something else.

Thanks!
Curtis

>I got the website uploaded but immediately ran into a problem with the PHP 
>include_path variable. I need a site wide place to put a file.
>I should be able to make an .htaccess file containing the following:
>php_flag include_path .:/web:/home/site7/web
>but that causes the server to crap out and give an error. I did some 
>research (I believe you're using cobalt as the server?) and you can do a 
>few things that should work.
>In the VirtualHost section put either:
>AllowOveride All
>or
>php_flag include_path .:/web:/home/site7/web
>or you could put smarty.php in /usr/lib/php