PHP Config --bindir
<p>When using the following configure flags below, the following error is reported, why is this? Obviously the directory exists. This is a PHP 5.2.9 install on a 64bit CentOS 5.2 OS.</p>

<p>./phpconfig.scr: line 11: --bindir=/usr/bin: No such file or directory</p>

<p>'./configure' \<br />
'--host=x86_64-redhat-linux-gnu' \<br />
'--build=x86_64-redhat-linux-gnu' \<br />
'--target=x86_64-redhat-linux' \<br />
'--program-prefix=' \<br />
'--prefix=/usr' \<br />
'--exec-prefix=/usr' \<br />
'--bindir=/usr/bin' \<br />
'--sbindir=/usr/sbin' \<br />
'--sysconfdir=/etc' \<br />
'--datadir=/usr/share' \<br />
'--includedir=/usr/include' \<br />
'--libdir=/usr/lib64' \<br />
'--libexecdir=/usr/libexec' \<br />
'--localstatedir=/var' \<br />
'--sharedstatedir=/usr/com' \<br />
'--mandir=/usr/share/man' \<br />
'--infodir=/usr/share/info' \<br />
'--cache-file=../config.cache' \<br />
'--with-libdir=lib64' \<br />
'--with-config-file-path=/etc' \<br />
'--with-config-file-scan-dir=/etc/php.d' \<br />
'--disable-debug' \<br />
'--with-pic' \<br />
'--disable-rpath' \<br />
'--without-pear' \<br />
'--with-bz2' \<br />
'--with-curl' \<br />
'--with-exec-dir=/usr/bin' \<br />
'--with-freetype-dir=/usr' \<br />
'--with-png-dir=/usr' \<br />
'--enable-gd-native-ttf' \<br />
'--without-gdbm' \<br />
'--with-gettext' \<br />
'--with-gmp' \<br />
'--with-iconv' \<br />
'--with-jpeg-dir=/usr' \<br />
'--with-openssl' \<br />
'--with-png' \<br />
'--with-pspell' \<br />
'--with-expat-dir=/usr' \<br />
'--with-pcre-regex=/usr' \<br />
'--with-zlib' \<br />
'--with-layout=GNU' \<br />
'--enable-exif' \<br />
'--enable-ftp' \<br />
'--enable-magic-quotes' \<br />
'--enable-sockets' \<br />
'--enable-sysvsem' \<br />
'--enable-sysvshm' \<br />
'--enable-sysvmsg' \<br />
'--enable-track-vars' \<br />
'--enable-trans-sid' \<br />
'--enable-yp' \<br />
'--enable-wddx' \<br />
'--with-kerberos' \<br />
'--enable-ucd-snmp-hack' \<br />
'--with-unixODBC=shared,/usr' \<br />
'--enable-memory-limit' \<br />
'--enable-shmop' \<br />
'--enable-calendar' \<br />
'--enable-dbx' \<br />
'--enable-dio' \<br />
'--without-mime-magic' \<br />
'--without-sqlite' \<br />
'--with-libxml-dir=/usr' \<br />
'--with-xml' \<br />
'--with-apxs2=/usr/sbin/apxs' \<br />
'--without-mysql' \<br />
'--without-gd' \<br />
'--without-odbc' \<br />
'--disable-dom' \<br />
'--disable-dba' \<br />
'--without-unixODBC' \<br />
'--disable-pdo' \<br />
'--disable-xmlreader' \<br />
'--disable-xmlwriter' \<br />
'--disable-json'</p>
