JP128 Posted October 27, 2006 Share Posted October 27, 2006 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.6any Ideas? Quote Link to comment https://forums.phpfreaks.com/topic/25336-i-cannot-install-php5-with-apache-22/ Share on other sites More sharing options...
JP128 Posted October 27, 2006 Author Share Posted October 27, 2006 Should I switch it to Apache2.0.58? Quote Link to comment https://forums.phpfreaks.com/topic/25336-i-cannot-install-php5-with-apache-22/#findComment-115518 Share on other sites More sharing options...
Caesar Posted October 27, 2006 Share Posted October 27, 2006 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. :) Quote Link to comment https://forums.phpfreaks.com/topic/25336-i-cannot-install-php5-with-apache-22/#findComment-115561 Share on other sites More sharing options...
wildteen88 Posted October 28, 2006 Share Posted October 28, 2006 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 Quote Link to comment https://forums.phpfreaks.com/topic/25336-i-cannot-install-php5-with-apache-22/#findComment-115790 Share on other sites More sharing options...
JP128 Posted November 1, 2006 Author Share Posted November 1, 2006 Ok, I now have it working, thanks... But now when I try to get MySQL, I get a CALL TO UNDEFINED FUNCTION... hmmm. Quote Link to comment https://forums.phpfreaks.com/topic/25336-i-cannot-install-php5-with-apache-22/#findComment-117687 Share on other sites More sharing options...
trq Posted November 1, 2006 Share Posted November 1, 2006 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. Quote Link to comment https://forums.phpfreaks.com/topic/25336-i-cannot-install-php5-with-apache-22/#findComment-117860 Share on other sites More sharing options...
wildteen88 Posted November 1, 2006 Share Posted November 1, 2006 [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 :) Quote Link to comment https://forums.phpfreaks.com/topic/25336-i-cannot-install-php5-with-apache-22/#findComment-117954 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.