Daniel Gladstone wrote:
I just downloaded the software and when in and config by httpd.conf file

LoadModule php5_module "c:/PHP/php5apache2_2.dll"
AddType application /x-httpd-php .php
PHPIniDir "C:/PHP"

when I tried to restart, I get an error message:

Syntax error on line 489 of
C:/Program Files/Apache Software Foundation/Apache2.2/conf/httpd.conf:
Only first PHPINIDir directive honored per configuration tree - subsequent ones
ignored

I can only find one what am I doing wrong

Check to see if httpd.conf is 'including' a php configuration file. I suspect that you have had the php bits added via a second file. In any case is should not stop apache/php running, so checking you setup with a 'phpinfo();' will probably work.

--
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk//
Firebird - http://www.firebirdsql.org/index.php

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
  "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to