|
|
Apache - Adding php module - Apache
|
Views : 1487
|
|
Tagged in : Apache
|
|
|
Report This Scrap as Inappropriate We request you to choose the appropriate categroy and subcategory that suits your
objectionable concern about the scrap, So that our team can review and find out whether it violates our Guidelines or the
scrap is not suitable for all viewers.
|
While adding php module in Apache I made entry for Php by editing httpd.conf file and making entry for loadfile, addmodule and addtype.
LoadModule php4_module D:/Program Files/php/php4apache.dll
AddModule mod_php4.c
AddType application/x-httpd-php .php
While starting Apache the following error occur's
Load module takes 2 argument, a module name and the name of shared object file to load it from
The issue is, a space is provided in between Program files so it is splited into two argument.To avoid this problem the path should be provided in between the quotes
LoadModule php4_module "D:/Program Files/php/php4apache.dll"
AddModule mod_php4.c
AddType application/x-httpd-php .php
|
|
By kalai, On - 2007-05-14 |
|
|
|