php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #18811 load_infile: no such struct member
Submitted: 2002-08-08 13:23 UTC Modified: 2002-09-11 11:56 UTC
From: braver at pobox dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4CVS-2002-08-08 OS: SuSE 7.2 + upgrades
Private report: No CVE-ID: None
 [2002-08-08 13:23 UTC] braver at pobox dot com
When compiling the fresh PHP from CVS (pull 2002-08-08) against the source build of the latest stable MySQL 3.23.51, there's a compilation error in the file ext/mysql/php_mysql.c -- all references to load_infile say there's no such struct member.  After commenting out those lines (340, 356, 485) it compiles and works (hopefully right).

I also compile with the most recent imap client, freshest Apache, etc., here's the config line:

../php/configure --with-mysql --with-apxs2=/usr/local/apache2/bin/apxs --with-imap=/src/imap/c-client/imap-2002.RC2 --with-imap-ssl=/usr/local/ssl --with-openssl=/usr/local/ssl --with-ibm-db2 --with-mysql --with-zlib --with-gdbm --with-db3 --with-mysql-socket-path=/chroot/httpd/var/lib/mysql/mysql.sock --with-config-file-path=/usr/local/lib/php


Regards,
Alexy Khrabrov

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-08-10 10:19 UTC] kalowsky@php.net
I think georg just fixed this last night.  Try a new snapshot please. 
 [2002-09-11 11:56 UTC] sniper@php.net
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Oct 07 15:00:01 2026 UTC