Jump to content

php5_module where do I get it?


doox00

Recommended Posts

You get it from from PHP.net. NOTE: PHP 4 or 5 currently doesnt support Apache2.2.x

You should get the Apache modules with the PHP distribution you download from php.net.

You'll have to download php4apache2_2.dll or php5apache2_2.dll from Apache Lounge in  order to get PHP to wokr with Apache2.2.x. Or downgrade to Apache2.0.x

NOTE if you are on a unix based system you'll want the .so files rather than .dll files.
[quote author=wildteen88 link=topic=104965.msg418981#msg418981 date=1156094484]
You get it from from PHP.net. NOTE: PHP 4 or 5 currently doesnt support Apache2.2.x

You should get the Apache modules with the PHP distribution you download from php.net.

You'll have to download php4apache2_2.dll or php5apache2_2.dll from Apache Lounge in  order to get PHP to wokr with Apache2.2.x. Or downgrade to Apache2.0.x

NOTE if you are on a unix based system you'll want the .so files rather than .dll files.
[/quote]

thanks for the help, but I am unable to find php5_module from php.net, or able to find apache lounge to get the php5apache2_2.dll

this is what I have downloaded

http://us2.php.net/get/php-5.1.5-Win32.zip/from/a/mirror

and

Apache 2.2.3 from apache.org

This is on a windows box btw.
The PHP module is in the root of the PHP zip file you ahve downloaded. Extract the contents of the zip to C:\PHP

Now open the httpd.conf file for Apache And add this:
[code]LoadModule php5_module "C:/php/php5apache2.dll[/code]
Now download the Apache2.2.x php5 module from from [url=http://www.apachelounge.com/download/mods/php5apache2.dll-php5.1.x.zip]ApacheLounge.com[/url]
Extract the contents of that zip to your My Documents area. Copy the php5apache2.dll file to C:\php overwritting the existing php5apache2.dll file.

Now read the readme.txt file encloded in the zip file for more installation instructions.

You're done!
[quote author=wildteen88 link=topic=104965.msg419297#msg419297 date=1156150043]
The PHP module is in the root of the PHP zip file you ahve downloaded. Extract the contents of the zip to C:\PHP

Now open the httpd.conf file for Apache And add this:
[code]LoadModule php5_module "C:/php/php5apache2.dll[/code]
Now download the Apache2.2.x php5 module from from [url=http://www.apachelounge.com/download/mods/php5apache2.dll-php5.1.x.zip]ApacheLounge.com[/url]
Extract the contents of that zip to your My Documents area. Copy the php5apache2.dll file to C:\php overwritting the existing php5apache2.dll file.

Now read the readme.txt file encloded in the zip file for more installation instructions.

You're done!
[/quote]

Again, thanks.. but I am missing something here, its seems sooo simple, but its just not working, you say the php5_module is in the root of php when you extract it, I have downloaded and extracted it 10 times now and there is no php5_module file in there.  What the hell am I doing wrong here, I feel pretty stupid right now lol... this is not that hard, but I am apparantly confused on this php5_module file.
There is no file called php5_module that comes with PHP. The php5 module for apache is called [b]php5apache2.dll[/b]

This line:
[code]LoadModule php5_module "C:/php/php5apache2.dll"[/code]
Sets up the php5 module. It tells Apache Where the module is. In your case the path to the module is C:/php/ and the module is php5apache2.dll

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.