|
Posted by Rik on 08/13/07 19:57
On Mon, 13 Aug 2007 21:42:45 +0200, Miyagi <justin.michaliga@gmail.com>
wrote:
> I am running a custom setup that the workgroup here needs to run.
> IIS6 with Windows Server 2K3. PHP install was a little tricky but
> only required the Environment Path to include C:\PHP\ and use the
> php.ini in the PHP dir.
>
> The htdocs directory is located on the D:\
>
> I also installed MySQL on the D:\ and have the PATH variable for that
> as well.
> However, MySQL will not configure with PHP (as shown through the
> phpinfo() );
> C:\PHP\ext has all required files. php.ini has all of the comments.
> Things just don't seem to work correctly.
>
> I was just wondering if anybody had any luck with this setup and if
> it's just me going crazy, or I'm doing something totally wrong. It's
> been a breeze with Apache/MySQL/PHP on my local computer - however IIS
> has been on heck of a pain. This has gone on for awhile now and I
> definitely need to have this running soon.
<http://nl3.php.net/mysql>
1. php_mysql.dll must be enabled inside of php.ini.
2. libmysql.dll is included in the Windows PHP distribution and in order
for PHP to talk to MySQL this file needs to be available to the Windows
systems PATH.
3. the PHP directive extension_dir should be set to the directory where
the PHP extensions are located.
Have you done all this? Especially (2) seems to be overlooked by a lot of
people.
--
Rik Wasmus
Navigation:
[Reply to this message]
|