Re: cvs: phpdoc /en/reference/mysql configure.xml
| From: | Philip Olson | Date: | Fri, 23 Jul 2004 21:34:09 +0000 |
| Subject: | Re: cvs: phpdoc /en/reference/mysql configure.xml | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969362130@lists.php.net to get a copy of this message | ||
> > 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