Re: Execute PEAR code from linux

From: Date: Thu, 04 Jun 2009 13:45:10 +0000
Subject: Re: Execute PEAR code from linux
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-29874@lists.php.net to get a copy of this message
Hi Raul, On Tue, Jun 2, 2009 at 9:59 AM, Raul Alvarez <ralvarezh@gmail.com> wrote: > Fatal error: require_once(): Failed opening required 'ExcelWriter/Format.php' > (include_path='.:/usr/local/lib/php') in > /home/pagecom/domains/page.com/public_html/phpxls/ExcelWriter/Workbook.php > on line 35 This looks to me like an include path error. You should use something like <?php set_include_path('/home/pagecom/domains/page.com/public_html/phpxls/:'.get_include_path()); Or, use php --ini to find which ini file to set the include path to. Hope that helps! -- Brett Bieber

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