473,378 Members | 1,386 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

PEAR Package not found by PHP

Hi there,

I would say that the PEAR package is correctly installed. I added the OLE package ( $ pear install OLE ) and the PEAR Spreadsheet Excel Writer ( $ pear install Spreadsheet_Excel_Writer ), but my PHP script is still telling me:

[PHP]Warning: main(Spreadsheet/Excel/Writer.php) [function.main]: failed to open stream: No such file or directory in XXXX
Fatal error: main() [function.require]: Failed opening required 'Spreadsheet/Excel/Writer.php' (include_path='/usr/local/share/pear/usr/local/share/pear') in XXXX[/PHP]

Why would that be? I am running PHP 4 on Mac OS X Tiger.

Thanks for any help!
Nov 22 '07 #1
1 2507
[PHP]Warning: main(Spreadsheet/Excel/Writer.php) [function.main]: failed to open stream: No such file or directory in XXXX
Fatal error: main() [function.require]: Failed opening required 'Spreadsheet/Excel/Writer.php' (include_path='/usr/local/share/pear/usr/local/share/pear') in XXXX[/PHP]
Actually, one minor error is that this /usr/local/share/pear appears two times in the error message. Changed that, so it only appears once... But still, error message...

Thanks for any help!
Nov 23 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: marks | last post by:
I get the same error trying to install any pear package if it's not alreay installed. # pear install Net_SMTP no signature found for package.info(string,string,bool) # pear -V PEAR Version:...
3
by: junkmail | last post by:
on a win 2k server apparantly it is saying i dont have it. or it cant find it. im using mySQL 4.1 php 4.3.x apache 3.0.53 im new to php and am doing some tutorials, but when i run the sripts...
2
by: David | last post by:
I have a book which had code that includes the line: require 'DB.php'; I know that this is from the PEAR code modules, but when I downloaded them and unpacked the directory, they "DB.php"...
2
by: Alan Prescott | last post by:
I'm running SuSE Linux 9.3, fully up to date running # pear install db responds with ... downloading DB-1.7.6.tgz ... Starting to download DB-1.7.6.tgz (124,807 bytes)...
3
by: joshua.wehner | last post by:
I can't seem to get PEAR to work, but I think it's installed. Any ideas? phpinfo() says '--with-pear=/usr/local/apache/php-pear' $ which pear /usr/local/bin/pear $ pear list Installed...
1
by: CSTechie | last post by:
I've been battling to install PEAR on Windows XP now for too long. I am not sure what I need to do. When I run go-pear.php from the command line, I get the error message as shown at the end. I...
2
by: jhalaseh | last post by:
Hello, Was wondering if anyone could help me out with a bit of wierd prob. I have pear installed in a UNIX box, with PHP 5.1.2. I'm trying to install some packages by running pear install...
3
by: Anthony Smith | last post by:
I always get this message. No matter what package $ pear install Date PHP Warning: Module 'oci8' already loaded in Unknown on line 0 No releases available for package "pear.php.net/Date"...
0
snowdonkey
by: snowdonkey | last post by:
I'm trying to use the Mail package from PEAR in a script that sends an e-mail over SMTP. The problem is that the Mail class in Mail.php provided by the package isn't found by the script. I'm using:...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.