PEAR Package not found by PHP

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • luftikus143
    New Member
    • Jan 2007
    • 97

    #1

    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_Exc el_Writer ), but my PHP script is still telling me:

    [PHP]Warning: main(Spreadshee t/Excel/Writer.php) [function.main]: failed to open stream: No such file or directory in XXXX
    Fatal error: main() [function.requir e]: 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!
  • luftikus143
    New Member
    • Jan 2007
    • 97

    #2
    Originally posted by luftikus143
    [PHP]Warning: main(Spreadshee t/Excel/Writer.php) [function.main]: failed to open stream: No such file or directory in XXXX
    Fatal error: main() [function.requir e]: 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!

    Comment

    Working...