Log in

View Full Version here: : php 4.*.*, mysql 5.* and apache2.0 help please


davidpretorius
16-07-2006, 08:45 PM
HI Guys,

I know there are some top guys out there that use this all the time. I am a .net nut, but I am trying to install a very neat program called dotproject.

It does not work with anything apart from apache, mysql and php.

i am very new to these programs. A server has had IIS removed and I have followed recommendations and installed php 4, apache 2.0 and mysql.

This is where it all comes unstuck linking apache and php.

"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.0:
Example 2-6. PHP and Apache 2.0 as Module
# For PHP 4 do something like this:
LoadModule php4_module "c:/php/php4apache2.dll"
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"
"

Upon adding these lines to the httpd.conf, apache will not restart?

Any pointers in this newish area would be great.

Dotproject prefers version 4 of php, so I have not touched php5