View Single Post
Old 25th October 2006, 21:39
DaddyFix DaddyFix is offline
Join Date: Jan 2006
Location: Canada
Posts: 35
Thanks: 0
Thanked 1 Time in 1 Post
Default PHP Open_basedir and PEAR

Hello Falko and Till,

I feel like I know you personally cause I have been reading a ton of solutions you have written for other users! Falko, I love ISPConifg.

Here's my Prob. I just installed Debian 3.1 (Sarge) and all the OS Apps. and then the latest ISPConfig 2.2.7.

Everything went well until I tried to use PEAR classes. After turning PHP Safe Mode to ON, I was able to determine that the PEAR class I want to use (Services/Weather.php) is being blocked with the open_basedir directive in /path/to/apache2/conf/vhosts/Vhosts_ispconfig.conf.

So I tried to add the directive php_admin_flag include_path ".:/var/www/someweb/:/path/to/pear" through my ISP Manager->Apache Directives, but that also didn't do the trick.

Now, I also tried to check with my php include_path in my php.ini and found that it was commented out. so I uncommented it and added the path to my PEAR modules directory, something like, /use/share/php/. No luck either.

So then I made sure my PEAR modules were up to date (pear update-all)

Now, Im tired and confused. Any ideas how to get PEAR working?

Except things still don't work.
Reply With Quote
Sponsored Links