Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

COM apache crash

Status
Not open for further replies.

hyrogen

Programmer
Jul 10, 2003
60
GB
Hi,

Im trying to use the command:

$word= new COM("word.application") or die("Unable to create Word document");

Everytime I do, apache gets a fatal error; and I cant seem to find anyway to resolve it. Im using apache2 and I even upgraded my php from 4 to version 5.

Any help would be much appreciated.
 
are you using php as an asapi module? if so, try using the cgi variant and see whether it makes a difference (to test this you could just try running the script from the command line).

also, i'm not sure whether apache2 on windows is yet stable. last time i looked at it (admittedly a few months ago), the installation came with big windows health warnings.

i suggest investigating on the apache site and if my memory serves right, downgrade to the 1.x tree or switch to IIS.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top