Re: MySQL problems

From: Date: Fri, 18 Jul 2003 01:56:57 +0000
Subject: Re: MySQL problems
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-3467@lists.php.net to get a copy of this message
How about only emitting a warning if the local library is not found. On Thursday, July 17, 2003, at 09:09 PM, Olivier Hill wrote:
Marcus Börger wrote:
a) provide a patch that explains the matter in short during configuration if the lib is missing and
Attached is a file to add the warning in configure.in The warning is always on when building with MySQL support. I think we should leave it that way during BETA and the first version 5 release, just to let users know. After a while, we could only display it when the librairies are really missing. Anyway, that's the way I saw the problem. The link inside the warning will be filled with a FAQ entry as soon as the docs are built, I saw something about it on CVS. thanks, Oliver -- GB/E/IT d+ s+:+ a-- C++$ UL++++$ P++++ L+++$ E- W++$ N- ?o ?K w--(---) !O M+$ V- PS+ PE- Y PGP t++ 5-- X+@ R- tv++ b++(+++) DI++++ D+ G++ e+>++ h(*) r y+(?) --- configure.in.old 2003-07-17 21:00:33.000000000 -0400 +++ configure.in 2003-07-17 20:58:08.000000000 -0400 @@ -1306,6 +1306,20 @@ X fi + # Warn about linking with MySQL support with system librairies + if test "$PHP_MYSQL" != "no"; then +cat <<X ++--------------------------------------------------------------------+
+|                        *** WARNING ***                             |
+|                                                                    |
+| Due to licensing constraints, MySQL librairies are not bundled     |
+| with the PHP source anymore. If you need to compile PHP with MySQL | +| support, you need to have the correct librairies on your system. | +| Please visit http://www.php.net/manual/faq.databases.php for more |
+| details.                                                           |
+X + fi + # Warn about linking Apache with libpthread if oci8 extension is enabled on linux. if test "$PHP_OCI8" != "no" -o "$PHP_ORACLE" != "no"; then
     if test "$PHP_SAPI" = "apache"; then
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php -- George Schlossnagle
-- Principal Consultant -- OmniTI Computer Consulting, Inc. -- +1.410.872.4910 x202 -- 1024D/1100A5A0 1370 F70A 9365 96C9 2F5E 56C2 B2B9 262F 1100 A5A0

« previous php.internals (#3467) next »