Re: pear include_path problem

From: Date: Fri, 20 Jul 2007 23:00:18 +0000
Subject: Re: pear include_path problem
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-27709@lists.php.net to get a copy of this message
On 2007-07-20 21:01:29 +0200, saschagros@bluewin.ch (Sascha Grossenbacher) said:
Hi
Check your open_basedir settings. If it is enabled, disable it or add :/usr/share/php to it. The following line should give a open_basedir error, if it is the problem. require_once '/usr/share/php/Spreadsheet/Excel/Writer.php'; Greetings, Sascha
to Sascha, The open_basedir setting on the server as I remembered is not enabled, but I will try to enable it, see if it works. On 2007-07-20 20:29:55 +0200, demon.gene@gmail.com ("Chuck Burgess") said:
On 7/20/07, Ye Xu <ye.xu@gmx.de> wrote:
so that means, the script must be chmod to 755 or 777 ? On 2007-07-20 19:58:00 +0200, jens@codes-concepts.com (Jens Kleikamp) said:
And also make sure Spreadsheet/Excel/Writer.php can be accessed by the webserver user.
"755" should allow any/all users to read and execute the file, which I would think should be sufficient. I wouldn't expect the webserver user to need write access, which is the only extra thing "777" gives compared to "755".
to Chuck I will try to change the permission on the script, and give ya all feedback on next monday. thx ya all again for this great and kindness help. Ye.

« previous php.pear.general (#27709) next »