Jump to content

Archived

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

Destramic

php 5 install on apache 2.2

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

Share this post


Link to post
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

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
Have a read of [url=http://www.phpfreaks.com/forums/index.php/topic,95378.0.html]this FAQ Thread[/url]. It'll lak you through enabling the mysql(i) extension.

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.