Re: pear include_path problem
| From: | Ye Xu | 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:
Hito 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: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
On 7/20/07, Ye Xu <ye.xu@gmx.de> wrote: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.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:"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".And also make sure Spreadsheet/Excel/Writer.php can be accessed by the webserver user.