thedriver
Jul 6 2003, 08:39 PM
If any has a tip it would be most welcome,
When I try any of these in a VirtualHost container apache will not restart (and the apache log shows no errors):
php_admin_flag open_basedir /home/username/public_html
or
php_admin_value open_basedir /home/username/public_html
Is there a trick to allowing httpd.conf to set php setttings per virtual directory? I have some other php settings I would like to set (like the location of the tmp folder) on a per-virtual basis. I would be fine setting these in the php.ini file but I could not find wildcard syntax that would force it to use each users root as opposed to the system root as a starting point.
- Chris
thedriver
Jul 6 2003, 08:59 PM
Some more googling and I found the difference between php_admin_value and php_admin_flag, but even when used with the correct parameter type (bool or text) apache will not restart when they are passed...
A pointer to the correct error log would be great since there are no errors in the ones I have been looking at (apache, messages).
- Chris
thedriver
Jul 6 2003, 10:09 PM
You can't use hpptd.conf directives when using PHP-CGI/0.1b (which is what is on my cPanel box). It seems PHP was configured this way when I enabled suexec in the WHM...if anyone can clarify or just tell me I'm totally off base that would be great!
- Chris
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.