30
Ok from the top This only a default installation and should be regarded as such Installation of Php/Apache2/Xoops2.2.2 on win32Get the php zip file at php, no reason to download the installer since it doesn't work on Apache.
Download PhpUnzip the php package into a folder...i use the folder ../Apache group/php
1. Edit php.ini-recommended Edit doc path to your paths:
Quote:
Edit Ext path to your paths
Quote:
extension_dir = "c:\program files\apache group\php\ext"
Edit MySQL extension remove
;Quote:
Save the php.ini-recommended as php.ini
In the php folder there is a file called libmysql.dll copy this file into the system32 folder
2. Loading PHP in Apache Httpd.conf file:You have to options loading php as cgi or as module. This text shows php loaded as a module.
In Httpd.conf edit the paths and add the following:
Quote:
## Load Php ##
LoadModule php5_module "c:/Program files/Apache Group/php/php5apache2.dll"
AddType application/x-httpd-php .php
PHPiniDir "c:/Program files/Apache Group/php"
## End load Php ##
The php5apache2.dll is the dedicated dll to Apache2
Now boot the server and check the apache monitor for error messages. And check the apache error log...If no errors are logged or shown Php and MySQL is installed correct.
If this doesn't work for you drop me a line ..and will try to help you
Danish is viery iasy to spoke