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
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\"

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.