windows installation
| From: | Nuno Lopes | Date: | Thu, 15 Jul 2004 12:16:24 +0000 |
| Subject: | windows installation | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969361877@lists.php.net to get a copy of this message | ||
Ok, here we code for a third time :)
First of all, I would like to say that I've solved my problem with having to
copy the libmysql.dll to the windows folder :)
With Filemon, I've traced the filesystem calls, and I've found the problem:
PHP was loading the libmysql.dll that was in the C:\mysql\bin folder (that
is first in the path). The solution: just remove it :)
I think we must definetly vote for a install procedure for windows. Then I
can update the install section, so that we can switch to the new one.
My proposal:
1) unzip the php5-x.zip to C:\php
2) copy php.ini-dist to php.ini and configure it (or php-apache2handler.ini
for multiple installs)
3) add to httpd.conf:
PHPIniDir "C:/php"
LoadModule php5_module c:/php/php5apache2.dll
AddType application/x-httpd-php .php
For PHP 4, just copy everything to the C:\php dir and follow the PHP 5
steps.
With this config, I think all problems that were raised are solved.
Any sugestions/tips/ideas?
Nuno