Page executed via Apache fails but command line works

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
jeeprocking
Forum Newbie
Posts: 1
Joined: Sat Mar 27, 2004 9:53 pm

Page executed via Apache fails but command line works

Post by jeeprocking »

Setup is:

Linux (Fedora Core 1)
Apache 2.0.48
PHP 4.3.4
MySQL 4.0.18

I'm also using the PEAR DB and PEAR Spreadsheet Excel Writer.

I have pages that use the PEAR DB and they work fine when accessing them via Apache. However, pages that use the PEAR Spreadsheet package will not execute via Apache and no errors are displayed. Now here's the confusion, the php page that uses the PEAR Spreadsheet will execute fine from the command line i.e. > php report.php . Any help in fixing this is greatly appreciated.

All this works fine running on Windows XP but I need to move it LINUX. (NOTE: Performance is much better on LINUX).

Thanks for the help.
Post Reply