Timothy Smith wrote:
> There is an odd conflict with the USE_OLD_FUNCTIONS change in
> MySQL 4.0.  PHP wraps almost all of ext/mysql/php_mysql.c in
> an #ifdef HAVE_MYSQL_REAL_CONNECT, which is only defined if
> USE_OLD_FUNCTIONS is defined (in mysql-4.0's mysql.h).  So, you
> have to #define USE_OLD_FUNCTIONS in php_mysql.c before you
> include <mysql.h>.  Also, you have to make sure your mysql is
> built with USE_OLD_FUNCTIONS defined.
>
> I guess PHP needs to clean this up.  But, also, why does MySQL
> only define HAVE_MYSQL_REAL_CONNECT if USE_OLD_FUNCTIONS is
> defined?  It seems like that is misleading at best.
>
> After doing the above, I was able to compile and start up
> apache with the php4 module.
>
> Tim

-- 
  Sebastian Bergmann
  http://sebastian-bergmann.de/                 http://phpOpenTracker.de/

  Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to