Hi
I am attempting a build of PHP5.2.4 on a CentOS 5 platform.
Apache 2.2.3 and MySQL 5.0.45 are installed and functional.
I build PHP with the following options:
./configure \
--with-mysql=/usr/local/mysql \
--with-mysqli=/usr/local/mysql/bin/mysql_config \
--with-apxs2=/usr/sbin/apxs \
--with-openssl \
--enable-calendar \
--with-gd \
--with-curl \
--with-curlwrappers \
--enable-discard-path \
--enable-force-cgi-redirect \
The following error messages appear at the top of 'make test':
Build complete.
Don't forget to run 'make test'.
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/mysql.so' - /usr/lib/php/modules/mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/gd.so' - /usr/lib/php/modules/gd.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/mysql.so' - /usr/lib/php/modules/mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/gd.so' - /usr/lib/php/modules/gd.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/mysql.so' - /usr/lib/php/modules/mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/gd.so' - /usr/lib/php/modules/gd.so: cannot open shared object file: No such file or directory in Unknown on line 0
=====================================================================
CWD : /usr/src/mysql/php-5.2.4
PHP : /usr/src/mysql/php-5.2.4/sapi/cli/php
PHP_SAPI : cli
PHP_VERSION : 5.2.4
ZEND_VERSION: 2.2.0
PHP_OS : Linux - Linux bubba.bubbaville.com 2.6.18-8.1.15.el5 #1 SMP Mon Oct 22 08:32:04 EDT 2007 i686
INI actual : /usr/src/mysql/php-5.2.4/tmp-php.ini
More .INIs :
Extra dirs :
When I search for the modules gd.so and mysql.so, they do not exist on the box
find / -name gd.so
#
find / -name mysql.so
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/DBD/mysql/mysql.so
/root/.cpan/build/DBD-mysql-4.005-laGSpH/blib/arch/auto/DBD/mysql/mysql.so
/root/.cpan/build/DBD-mysql-4.005-gN4tOP/blib/arch/auto/DBD/mysql/mysql.so
/root/.cpan/build/DBD-mysql-4.005-nW22Dc/blib/arch/auto/DBD/mysql/mysql.so
^ this mysql.so appears to belong to perl
more output:
php -m
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/mysql.so' - /usr/lib/php/modules/mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/gd.so' - /usr/lib/php/modules/gd.so: cannot open shared object file: No such file or directory in Unknown on line 0
[PHP Modules]
ctype
date
dom
filter
gd
hash
iconv
json
libxml
mysql
mysqli
openssl
pcre
PDO
pdo_sqlite
posix
Reflection
session
SimpleXML
SPL
SQLite
standard
tokenizer
xml
xmlreader
xmlwriter
[Zend Modules]
It appears I do not have paths set up properly and after ~80 hours of banging my head against this, I'm stuck.
Please provide guidance