i found this on the php.net faq

10.4.4 PHP 5 no longer bundles MySQL client libraries, what does this mean
to me? Can I still use MySQL with PHP? I try to use MySQL and get "function
undefined" errors, what gives?

Yes. There will always be MySQL support in PHP of one kind or another. The
only change in PHP 5 is that we are no longer bundling the client library
itself. Some reasons in no particular order:

  a.. Most systems these days already have the client library installed.
  b.. Given the above, having multiple versions of the library can get
messy. For example, if you link mod_auth_mysql against one version and PHP
against another, and then enable both in Apache, you get a nice fat crash.
Also, the bundled library didn't always play well with the installed server
version. The most obvious symptom of this being disagreement over where to
find the mysql.socket Unix domain socket file.
  c.. Maintenance was somewhat lax and it was falling further and further
behind the released version.
  d.. Future versions of the library are under the GPL and thus we don't
have an upgrade path since we cannot bundle a GPL'ed library in a
BSD/Apache-style licensed project. A clean break in PHP 5 seemed like the
best option.
This won't actually affect that many people. Unix users, at least the ones
who know what they are doing, tend to always build PHP against their
system's libmyqlclient library simply by doing --with-mysql=/usr when
building PHP. Windows users may enable the extension php_mysql.dll inside
php.ini . Also, copy libmySQL.dll into the appropriate %SYSTEMROOT%
directory, just like you do with every other bundled DLL from the dll
directory.

witch i tried but i still not working



"De Greef SéBastien" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi threre i re-installed again PHP5 this time i took the CVS version
> 5.0.0-RC1-Dev witch is perfectly running exepted for the mysql module
still
> cannot be loaded on apache startup. Tip : if i just switch the directory
> with the php4.3.4 and change the php5apache2.dll to php4.... everything
> works fine including mysql ext. but i cant get it run under ANY version 5.
> There is still a point witch is not clear is the Mysql support built in or
> not ? do i need to add the php_mysql.dll to the php.ini file?
> I could use a little bit help
> Thnxs a lot

Reply via email to