php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #27642 Configuring php 5.0.0b4 from source with options below causes Apache2 to hang
Submitted: 2004-03-18 19:15 UTC Modified: 2004-03-23 13:06 UTC
From: josh at trutwins dot homeip dot net Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5.0.0RC1 OS: Linux SuSE 8.1
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: josh at trutwins dot homeip dot net
New email:
PHP Version: OS:

 

 [2004-03-18 19:15 UTC] josh at trutwins dot homeip dot net
Description:
------------
Attempting to compile PHP-5.0.0RC1 with MySQL 5.0.0 alpha built from source using --with-mysqli

Here is the error:

cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
/usr/local/source/php/php-5.0.0RC1/ext/mysqli/mysqli_prop.c: In function `stmt_affected_rows_read':
/usr/local/source/php/php-5.0.0RC1/ext/mysqli/mysqli_prop.c:189: structure has no member named `affected_rows'
/usr/local/source/php/php-5.0.0RC1/ext/mysqli/mysqli_prop.c:189: structure has no member named `affected_rows'
/usr/local/source/php/php-5.0.0RC1/ext/mysqli/mysqli_prop.c:189: structure has no member named `affected_rows'
make: *** [ext/mysqli/mysqli_prop.lo] Error 1

Here is the configure script:

./configure \
--with-config-file-path=/etc/httpd \
--enable-libgcc \
--enable-sigchild \
--enable-track-vars \
--disable-ipv6 \
\
--with-apxs2=/usr/local/apache/bin/apxs \
\
--enable-exif \
--enable-ftp \
--enable-sockets \
--with-mcrypt \
--with-mhash \
--with-openssl \
--with-iconv \
--with-ncurses \
--with-readline \
--with-curl \
\
--with-bz2 \
--with-zip \
--with-zlib \
\
--with-mysqli=/usr/local/mysql/bin/mysql_config \
--with-mysql-sock=/usr/local/mysql/mysql.sock \
\
--with-pgsql=/usr/local/pgsql \
\
--with-oci8 \
\
--with-sqlite \
\
--with-gd \
--with-ttf \
--with-freetype \
--with-freetype-dir=/usr/X11/lib \
--with-png-dir=/usr \
--with-jpeg-dir=/usr \
--with-tiff-dir=/usr \
--with-xpm-dir=/usr \
\
--enable-xml \
--enable-wddx \
--with-xsl \
--with-expat-dir=/usr \
--with-libxml-dir=/usr/local \
--with-xmlrpc \
--with-dom \
--with-qtdom \
\
--with-java=/usr/local/java/ \
| tee config.out

System is SuSE 8.1 with gcc 3.2





Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-03-18 19:23 UTC] josh at trutwins dot homeip dot net
Oops, bad subject.
 [2004-03-19 01:16 UTC] georg@php.net
MySQL 5.0 is a preview version for SP's. 
Fixes and changes in 4.1 are currently not merged in 5.0 
tree, this will probably happen when 4.1.3-beta will come 
out. 
 [2004-03-19 03:14 UTC] spam at 8304 dot ch
same problem under suse 9.0. 
5.0.0b4 compiled perfectely, but with the same config.nice build of 5.0.0rc1 fails:

#! /bin/sh
#
# Created by configure

'./configure' \
'--prefix=/usr/local/php5' \
'--with-apxs2=/usr/local/apache2/bin/apxs' \
'--with-iconv' \
'--enable-mbstring' \
'--enable-track-vars' \
'--enable-safe-mode' \
'--with-gd' \
'--with-curl' \
'--with-ttf' \
'--with-mysql=/usr/local/mysql500' \
'--with-mysqli=/usr/local/mysql500/bin/mysql_config' \
'--with-xml' \
'--enable-memory-limit' \
'--with-png-dir=/usr/lib' \
'--with-jpeg-dir=/usr/lib' \
'--with-freetype-dir=/usr/lib' \
'--with-zlib' \
'--enable-ftp' \
'--with-openssl' \
'--with-ldap' \
'--enable-mbstring' \
'--with-mssql=/usr/local/freetds' \
"$@"

/usr/local/src/php-5.0.0RC1/ext/mysqli/mysqli_prop.c: In function `stmt_affected_rows_read':
/usr/local/src/php-5.0.0RC1/ext/mysqli/mysqli_prop.c:189: error: structure has no member named `affected_rows'
/usr/local/src/php-5.0.0RC1/ext/mysqli/mysqli_prop.c:189: error: structure has no member named `affected_rows'
/usr/local/src/php-5.0.0RC1/ext/mysqli/mysqli_prop.c:189: error: structure has no member named `affected_rows'
make: *** [ext/mysqli/mysqli_prop.lo] Error 1
 [2004-03-23 13:06 UTC] josh at trutwins dot homeip dot net
Perhaps then the Changelog / Release Notices should be updated:

- A new MySQL extension named MySQLi for developers using MySQL 4.1 and 
later. Additionally to a functional interface this new extension also 
includes an object-oriented interfaced and support for many of MySQL's new 
features such as prepared statements.

"MySQL 4.1 and later" implies MySQL 5.0.

Josh
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri Aug 15 18:00:02 2025 UTC