Jump to content

Installation Error. phP5 to Apache 2


MetalCharms

Recommended Posts

running php 5.1.1 and apache 2.0.55

Trying to install php onto apache.

 

Added this to httpd.conf for Apache:

 

"LoadModule php5_module "e:/php/php5ts.dll"

AddType application/x-httpd-php.php

 

PHPIniDir "e:/php"

 

(The "e" drive being our main HDD)

 

Error message :

"Can't locate API module structure 'php5_module' in file E:/PHP/php5ts.dll : No error

 

1) What is wrong?

2) What can i do?

 

Thanks phpfreaks forams!

Link to comment
https://forums.phpfreaks.com/topic/3039-installation-error-php5-to-apache-2/
Share on other sites

Well the folowing line:

LoadModule php5_module "e:/php/php5apache2.dll"

is what you are suppose to use in order to use PHP as an Apache Module. No other file. Try taking the quotes of around your module line like so:

LoadModule php5_module E:/php/php5apache2.dll

 

Also you need to move php5ts.dll and your php.ini file to C:\WINDOWS\ folder.

 

So this line:

PHPIniDir "e:/php"

gets changed to:

PHPIniDir "E:\WINDOWS\"

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.