The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
installing php as an apache module
Hi,
i would like to set up my server as a Apache module and NOT as CGI what is the best way to do this ? I'm running apache 2.0.47 and php 4.3.3. I already done the following what's in the php manual For PHP 4 do something like this: LoadModule php4_module "c:/php/php4apache2.dll" # Don't forget to copy the php4apache2.dll file from the sapi directory! AddType application/x-httpd-php .php # For PHP 5 do something like this: LoadModule php5_module "c:/php/php5apache2.dll" AddType application/x-httpd-php .php # configure the path to php.ini PHPIniDir "C:/php" BUT dis isn't working, apache return then an error that it can't find the module Any help would be great at this time Best Regards |
#2
|
||||
|
||||
First of all, you should get PHP 4.4.1 ...
|
#3
|
||||
|
||||
Taken from the online php manual.
Installing as an Apache module You need to insert these two lines to your Apache httpd.conf configuration file to set up the PHP module for Apache 2.x: Code:
# For PHP 4 do something like this: LoadModule php4_module "c:/php/php4apache2.dll" # Don't forget to copy the php4apache2.dll file from the sapi directory! AddType application/x-httpd-php .php # For PHP 5 do something like this: LoadModule php5_module "c:/php/php5apache2.dll" AddType application/x-httpd-php .php # configure the path to php.ini PHPIniDir "C:/php" |
#4
|
|||
|
|||
I've installad apache 1.34 again
after alot of messing arround i couldn't get this to work on apache 2, i kept giving me errors and apache couldn't start again. Now it works on version 1.3xxx.. Thanks for the support guys |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|