Re: PHP5 + Mysql5 + Apache 2.0.55

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Erik Gyepes wrote:
Hi all.

I'm trying to set up mysql 5 with php 5 on my windows machine, but I can't get work it. Also I can't see any loaded extensions with phpinfo(). I have set extensions directory in php.ini, PATH dir in windows, what else I may to do? I used linux a lot of time and now I cant remember how to set up these things on windows :)

thanks,
depi

SKIP this part if your apache already have php installed

-------------------
1.add this in you conf/httpd apache configuration file
add it at the end of the file:

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

-------------------

2.in the php.ini
extension_dir = "C:/php/ext/"

3.remove the ; from this line
extension=php_mysql.dll

4.copy this file libmysql.dll into windows/system32 (this file is originally in you php folder)

good luck :)

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux