I'm trying lo load php into my Apache webserver by creating a config file called httpd-php5.conf with the following content:
LoadModule php5_module "C:\Program Files\PHP\php5apache2_2.dll" PHPIniDir "C:\Program Files\PHP" AddType application/x-httpd-php .php
Then in my apache httpd.conf config file I add the following command:
Include conf/httpd-php5.conf
But when I install the Apache service, I got the following error:
Syntax error on line 1 of C:/Program Files/Apache Software Foundation/Apache2.2/ conf/httpd-php5.conf: Invalid command '\xff\xfeL', perhaps misspelled or defined by a module not included in the server configuration
What kind of error is this?
Regards,
ethereal1m

New Topic/Question
Reply


MultiQuote




|