Destramic Posted October 28, 2006 Share Posted October 28, 2006 i have added these lines to my httpd.confLoadModule php5_module "c:/Server/PHP/php5apache2.dll"AddType application/x-httpd-php .phpPHPIniDir "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 Quote Link to comment https://forums.phpfreaks.com/topic/25437-php-5-install-on-apache-22/ Share on other sites More sharing options...
Destramic Posted October 29, 2006 Author Share Posted October 29, 2006 can anyone help please? Quote Link to comment https://forums.phpfreaks.com/topic/25437-php-5-install-on-apache-22/#findComment-116195 Share on other sites More sharing options...
wildteen88 Posted October 29, 2006 Share Posted October 29, 2006 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 Quote Link to comment https://forums.phpfreaks.com/topic/25437-php-5-install-on-apache-22/#findComment-116230 Share on other sites More sharing options...
Destramic Posted October 29, 2006 Author Share Posted October 29, 2006 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 loadingFatal error: Class 'mysqli' not found in D:\www\core\database\connect.php on line 14the semi-colon has been taken off in php.ini and ext dir is set correct..help?thanks Quote Link to comment https://forums.phpfreaks.com/topic/25437-php-5-install-on-apache-22/#findComment-116272 Share on other sites More sharing options...
wildteen88 Posted October 29, 2006 Share Posted October 29, 2006 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. Quote Link to comment https://forums.phpfreaks.com/topic/25437-php-5-install-on-apache-22/#findComment-116275 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.