Hi,

> philip                Thu Jul 22 18:02:12 2004 EDT
>
>   Modified files:
>     /phpdoc/en/reference/mysql        configure.xml
>   Log:
>   Add information for Windows users and PHP 5 in regards to libmysql.dll
>   #this question comes up a lot and hopefully this will help.
>
>
> http://cvs.php.net/diff.php/phpdoc/en/reference/mysql/configure.xml?r1=1.8&;
>r2=1.9&ty=u Index: phpdoc/en/reference/mysql/configure.xml
> diff -u phpdoc/en/reference/mysql/configure.xml:1.8
> phpdoc/en/reference/mysql/configure.xml:1.9 ---
> phpdoc/en/reference/mysql/configure.xml:1.8   Sat Mar 13 10:54:04 2004 +++
> phpdoc/en/reference/mysql/configure.xml       Thu Jul 22 18:02:11 2004 @@ -1,5
> +1,5 @@
>  <?xml version="1.0" encoding="iso-8859-1"?>
> -<!-- $Revision: 1.8 $ -->
> +<!-- $Revision: 1.9 $ -->
>  <section id="mysql.installation">
>   &reftitle.install;
>   <para id="mysql.configure">
> @@ -24,7 +24,12 @@
>   <para>
>    In PHP 5, MySQL is no longer enabled by default, nor is the MySQL
> library bundled with PHP.  Read this <link
> linkend="faq.databases.mysql.php5"> -  FAQ</link> for details on why.
> +  FAQ</link> for details on why.  Because of this, Windows users will need
> +  to enable <filename>php_mysql.dll</filename> inside of &php.ini; and
> either +  copy libmysql.dll into the Windows system directory or make it
> available to +  the PATH.  

libmysql.dll and any other extra *.dll could als be copied to the same folder 
apache.exe lives in (for apache 1/2,). Because apache searches on startup 
first its own folder. Bit ugly but works and avoid copying dlls to 
%SYSTEMROOT% or add the dlls folder to the PATH or modify PATH.

I am also on +1 to mention somewhere,  copying dlls to systemroot is only 
recommended, because systemroot is surely in PATH.

> For compiling, simply use <option 
> role="configure">
> +  --with-mysql=[DIR]</option> where
> +  <literal>[DIR]</literal> is defined.

??

>   </para>
>   <para>

Friedhelm

-- 
http://www.jungle-world.com/

Reply via email to