Re: MySQL problems
| From: | Melvyn Sopacua | Date: | Fri, 18 Jul 2003 10:18:24 +0000 |
| Subject: | Re: MySQL problems | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-3477@lists.php.net to get a copy of this message | ||
At 11:25 7/18/2003, Jani Taskinen wrote:
Nice first shot. But it also displays the message if you did disable mysql. What we really need is a message that pops up only if the user tried to use a bundled lib which is no longer available. So there must be a corresponding change in the ext/mysql/config.m4 file.Index: configure.in =================================================================== RCS file: /repository/php-src/configure.in,v retrieving revision 1.458 diff -u -r1.458 configure.inHow can you know if they wanted to use bundled lib or not? :)
--- configure.in 2 Jul 2003 01:08:26 -0000 1.458 +++ configure.in 18 Jul 2003 10:15:25 -0000@@ -1294,6 +1294,19 @@
| information about your setup. |X fi + if test "$PHP_MYSQL" = "no"; then +cat <<X ++--------------------------------------------------------------------+
+| *** WARNING *** | +| |+| You chose to compile PHP without MySQL extension. Because recent |
+| studies have shown, that you might not read FAQ's and blatently |+| mail developers we pleasently inform you, that there is no bundled | +| MySQL extension anymore, so you will have to compile it yourself. |
+| Mails to developers about this issue, are charged at 1 euro per | +| line, incoming and 10 euros per line for replies. |+X + fi if test "$PHP_DB" != "no"; then cat <<X Best regards, Melvyn Sopacua -----------------------------------------------------
\ Email Quoting, the forgotten art: // http://www.kassj.com/netiquette/netiquette.html#5 \ -----------------------------------------------------