Page executed via Apache fails but command line works
Posted: Sat Mar 27, 2004 9:53 pm
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.
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.