Jump to content

php 5 install on apache 2.2


Destramic

Recommended Posts

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
Link to comment
https://forums.phpfreaks.com/topic/25437-php-5-install-on-apache-22/
Share on other sites

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

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.