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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.