Jump to content

Archived

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

JP128

I cannot install PHP5 with Apache 2.2...

Recommended Posts

I added the line :

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

and I get an error...
I am running Apache 2.2.3, and php 5.1.6

any Ideas?

Share this post


Link to post
Share on other sites
Is switching the server OS to Linux an option at this point? :-P All kidding aside, I always encourage running PHP on a *nix based server, and running PHP as an Apache module.  :)

Share this post


Link to post
Share on other sites
Downgrade Apache to Apache2.0.x instead. The php5apache2.dll Apache Module is not compatible with Apache2.2.x. If you wnat to use Apache2.2.x with PHP you'll need to get the third party php45apache2.dll Apache2.2 Module from apachelounge.com

Share this post


Link to post
Share on other sites
Ok, I now have it working, thanks... But now when I try to get MySQL, I get a  CALL TO UNDEFINED FUNCTION... hmmm.

Share this post


Link to post
Share on other sites
Did you compile php with support for mysql? Did you compile php at all? You need t give us details on how exactly you [i]installed[/i] php.

Share this post


Link to post
Share on other sites
[quote author=JP128 link=topic=112963.msg460942#msg460942 date=1162356720]
Ok, I now have it working, thanks... But now when I try to get MySQL, I get a  CALL TO UNDEFINED FUNCTION... hmmm.
[/quote]
You'll need to enable the MySQL extension in the php.ini now. PHP5 doesnt come with mysql builtin no more. To enable the mysql extension please read this [url=http://www.phpfreaks.com/forums/index.php/topic,95378.0.html]FAQ Thread[/url]

@thorep JP128 is using Windows so no compiling necessary :)

Share this post


Link to post
Share on other sites

×

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.