Posted by Libit on 01/15/06 09:27
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 :)
[Back to original message]
|