P
petr.pavel
Guest
Hi folks,
the issue I'm having is to do both with PHP 5.0.4 and Plesk 8.0.1.
The core problem is this:
http://bugs.php.net/bug.php?id=29170
I don't understand why it's marked as Bogus when the last entry doesn't offer anything better than a workaround. According to this
http://www.php.net/include/
the code should work fine.
Another workaround is to clear open_basedir variable.
Because I don't want to modify all my scripts that worked so nicely under PHP 4.3.8 I want to find some server-wide solution.
It means that I don't want to set up a vhost.conf file for each hosting clearing the open_basedir. I want something that I do once and it works for new domains too.
So please someone either confirm to me that it really is a PHP bug and upgrading to PHP 5.1 will fix it and won't break Plesk.
Or please reveal to me where can I find httpd.include template that defines open_basedir for each site so that I can remove the definitions.
I don't see how I could do it in global /etc/httpd/conf/httpd.conf for all VirtualHosts.
I suspect that httpd.include template is hard-coded into websrvmng. It means no hope for me.
Or is there? Any ideas?
Thanks
Petr 'PePa' Pavel
the issue I'm having is to do both with PHP 5.0.4 and Plesk 8.0.1.
The core problem is this:
http://bugs.php.net/bug.php?id=29170
I don't understand why it's marked as Bogus when the last entry doesn't offer anything better than a workaround. According to this
http://www.php.net/include/
the code should work fine.
Another workaround is to clear open_basedir variable.
Because I don't want to modify all my scripts that worked so nicely under PHP 4.3.8 I want to find some server-wide solution.
It means that I don't want to set up a vhost.conf file for each hosting clearing the open_basedir. I want something that I do once and it works for new domains too.
So please someone either confirm to me that it really is a PHP bug and upgrading to PHP 5.1 will fix it and won't break Plesk.
Or please reveal to me where can I find httpd.include template that defines open_basedir for each site so that I can remove the definitions.
I don't see how I could do it in global /etc/httpd/conf/httpd.conf for all VirtualHosts.
I suspect that httpd.include template is hard-coded into websrvmng. It means no hope for me.
Or is there? Any ideas?
Thanks
Petr 'PePa' Pavel