> >    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.

This question came up a lot yet it was not mentioned in the docs.  IIRC
some(one|people) are working on new Windows installation docs but until
then I figured this would help.  At that time people will mention which
directories stuff can go in, PATH, SYSTEMROOT, etc.  Please feel free to
modify.

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

Because PHP no longer bundles the client libraries people must define
[DIR], I didn't go into detail because some details on this already exist
in the paragraph above.  This information is PHP 5 specific, not Windows,
but I didn't say *nix here because I figure maybe people compile for
Windows too :)

Regards,
Philip

Reply via email to