php - httpd: how can I understand where the error in httpd.conf is -


i'm trying install php on apache httpd server 2.4 on windows. yes, know that extremely simple. after adding following 3 lines httpd start operation fails.

loadmodule php5_module c:/php/php5apache2_4.dll addhandler application/x-httpd-php .php phpinidir "c:/php" 

i'm not trying asc done wrong after giving 3 lines, want know can somehow understand problem (in error.log not have message errors while start).

thank in advance!

you need load php dll file using loadfile directive:

loadfile "c:/server/php/php5ts.dll" 

in case, php5ts.dll name of dll file, may need change php5nts.dll based on whether use thread safe.


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -