Jump to content


Photo

I cannot install PHP5 with Apache 2.2...


  • Please log in to reply
6 replies to this topic

#1 JP128

JP128
  • Members
  • PipPipPip
  • Advanced Member
  • 233 posts
  • LocationWisconsin

Posted 27 October 2006 - 06:47 PM

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?
-----------------------------------------------------------------------
John Ensign - Age 16 - PHP Learner

My email is Johnny.Ensign@gmail.com

#2 JP128

JP128
  • Members
  • PipPipPip
  • Advanced Member
  • 233 posts
  • LocationWisconsin

Posted 27 October 2006 - 07:02 PM

Should I switch it to Apache2.0.58?
-----------------------------------------------------------------------
John Ensign - Age 16 - PHP Learner

My email is Johnny.Ensign@gmail.com

#3 Caesar

Caesar
  • Members
  • PipPipPip
  • Advanced Member
  • 1,025 posts

Posted 27 October 2006 - 08:29 PM

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.  :)
PHP Ninja

#4 wildteen88

wildteen88
  • Staff Alumni
  • Advanced Member
  • 10,482 posts
  • LocationUK, Bournemouth

Posted 28 October 2006 - 11:33 AM

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

#5 JP128

JP128
  • Members
  • PipPipPip
  • Advanced Member
  • 233 posts
  • LocationWisconsin

Posted 01 November 2006 - 04:52 AM

Ok, I now have it working, thanks... But now when I try to get MySQL, I get a  CALL TO UNDEFINED FUNCTION... hmmm.
-----------------------------------------------------------------------
John Ensign - Age 16 - PHP Learner

My email is Johnny.Ensign@gmail.com

#6 trq

trq
  • Staff Alumni
  • Advanced Member
  • 31,041 posts

Posted 01 November 2006 - 02:51 PM

Did you compile php with support for mysql? Did you compile php at all? You need t give us details on how exactly you installed php.

#7 wildteen88

wildteen88
  • Staff Alumni
  • Advanced Member
  • 10,482 posts
  • LocationUK, Bournemouth

Posted 01 November 2006 - 05:29 PM

Ok, I now have it working, thanks... But now when I try to get MySQL, I get a  CALL TO UNDEFINED FUNCTION... hmmm.

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 FAQ Thread

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




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users