Issue connecting to apache after loading module

Hi, i will start off by explaining where i am in the process of trying to install php.

(Windows 7 OS)

I’ve successfully installed MySQL and Apache 2.2
I have reached the “It Works!” page via localhost/127.0.0.1 in my web browser.
I’ve downloaded php 5.4 installation files, i renamed php.ini-devel… to php.ini and moved it to c:/windows
I have created c:/php, all php files reside there now
I have added the lines: AddType application/x-httpd-php .php .phtml LoadModule php5_module "c:/php/php5apache2_2.dll"
(a php5apache2_3.dll file also exists, but im assuming to just use the one)

The book i’m following has not specified to define the PHPIniDir, though i added that line above the LoadModule section, nothing seemed to change.

The problem occurs in the LoadModule apache2_2 line, if it’s #commented i can connect to apache. When i uncomment it, connecting fails.

Any thoughts?

what version is the apache 2.2 or 2.3 ?
I would try both might have been a mistake putting 2_2.dll in there

If this is going to be a development server them maybe you should look at wamp or easyphp might save you all the problems.

Sponsor our Newsletter | Privacy Policy | Terms of Service