Jump to content


Photo

php 5 install on apache 2.2


  • Please log in to reply
4 replies to this topic

#1 Destramic

Destramic
  • Members
  • PipPipPip
  • Advanced Member
  • 913 posts
  • LocationUnited Kingdom

Posted 28 October 2006 - 10:03 PM

i have added these lines to my httpd.conf

LoadModule php5_module "c:/Server/PHP/php5apache2.dll"
AddType application/x-httpd-php .php
PHPIniDir "C:/Server/PHP"

and it dont seem to work...when i try to restart apache it says "operation failed" but when i remove those 3 lines its alright..and has no errors....can anyone please help on this matter?

regards

#2 Destramic

Destramic
  • Members
  • PipPipPip
  • Advanced Member
  • 913 posts
  • LocationUnited Kingdom

Posted 29 October 2006 - 09:12 AM

can anyone help please?

#3 wildteen88

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

Posted 29 October 2006 - 12:37 PM

The Apache module (php5apache2.dll) that comes with PHP is not compatible with Apache2.2.x. In order to use PHP with Apache2.2, ypu'll need to do one of the following:
- download the latest CVS version of PHP which is PHP5.2
- download the third party Apache module from apachelounge.com, or
- downgrade Apache to Apache2.0.x

#4 Destramic

Destramic
  • Members
  • PipPipPip
  • Advanced Member
  • 913 posts
  • LocationUnited Kingdom

Posted 29 October 2006 - 02:55 PM

thank you very much...i installed apache2 and php5 now it all works fine...only probelm i have now is when i was installing mysql5...i seem to have the problem of ext php_mysqli.dll loading

Fatal error: Class 'mysqli' not found in D:\www\core\database\connect.php on line 14

the semi-colon has been taken off in php.ini and ext dir is set correct..help?

thanks

#5 wildteen88

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

Posted 29 October 2006 - 03:02 PM

Have a read of this FAQ Thread. It'll lak you through enabling the mysql(i) extension.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users