Re: PHP5 + Mysql5 + Apache 2.0.55

From: Date: Sun, 15 Jan 2006 07:27:57 +0000
Subject: Re: PHP5 + Mysql5 + Apache 2.0.55
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-228623@lists.php.net to get a copy of this message
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 :)

« previous php.general (#228623) next »