Pear

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
mariolopes
Forum Contributor
Posts: 102
Joined: Sun May 22, 2005 7:08 am

Pear

Post by mariolopes »

I'm new in PHP and i have a lot of problems For example I want to use the
Spreadsheet_Excel_Writer http://pear.php.net/package/Spreadsheet ... r/download but i don't know hou to install it. My SO is windows and i installed the package in my PEAR folder. I installed the dependences OLE too but i cannot get rid of this error:
Warning: require_once(OLE/PPS.php) [function.require-once]: failed to open stream: No such file or directory in C:\xampp\xampp\php\PEAR\Spreadsheet\Excel\Writer\OLE\PPS\Root.php on line 23

Fatal error: require_once() [function.require]: Failed opening required 'OLE/PPS.php' (include_path='.;C:\xampp\xampp\php\PEAR') in C:\xampp\xampp\php\PEAR\Spreadsheet\Excel\Writer\OLE\PPS\Root.php on line 23
There is one simple way for installing this stuff?
mariolopes
Forum Contributor
Posts: 102
Joined: Sun May 22, 2005 7:08 am

Re: Pear

Post by mariolopes »

I Thnik I'm on the right track
http://pear.php.net/manual/en/installation.shared.php
The configuration of pear in a remove server is hard to do?
Thank you
User avatar
AbraCadaver
DevNet Master
Posts: 2572
Joined: Mon Feb 24, 2003 10:12 am
Location: The Republic of Texas
Contact:

Re: Pear

Post by AbraCadaver »

You want to add the PEAR directory to your include path. Either in php.ini or you can use set_include_path() in your script.
mysql_function(): WARNING: This extension is deprecated as of PHP 5.5.0, and will be removed in the future. Instead, the MySQLi or PDO_MySQLextension should be used. See also MySQL: choosing an API guide and related FAQ for more information.
mariolopes
Forum Contributor
Posts: 102
Joined: Sun May 22, 2005 7:08 am

Re: Pear

Post by mariolopes »

Thank you Abracadaver
But look at my question: I downloaded one file from pear and I Have to install it in my local system. My question is : It's hard to install it in my remote system?
User avatar
AbraCadaver
DevNet Master
Posts: 2572
Joined: Mon Feb 24, 2003 10:12 am
Location: The Republic of Texas
Contact:

Re: Pear

Post by AbraCadaver »

mariolopes wrote:Thank you Abracadaver
But look at my question: I downloaded one file from pear and I Have to install it in my local system. My question is : It's hard to install it in my remote system?
You should be able to just FTP the PEAR directory to your remote system and set the inlude path correctly, or depending upon the host they may have PEAR installed somewhere.
mysql_function(): WARNING: This extension is deprecated as of PHP 5.5.0, and will be removed in the future. Instead, the MySQLi or PDO_MySQLextension should be used. See also MySQL: choosing an API guide and related FAQ for more information.
Post Reply