I'm not claiming to be an expert but have you tried setting LD_LIBRARY_PATH
first to point at mysql, then starting apache?
JS.
>Hi,
>
>MySQL is installed succesfully, and php installs ok as well, but I
>have the exact problem as stated on
>http://www.php.net/manual/en/faq.databases.php#AEN73278
>(httpd dumps core)
>
>see this snippet of apache's error_log:
>[notice] Apache/1.3.14 (Unix) PHP/4.1.1 mod_perl/1.24 mod_ssl/2.7.1
>OpenSSL/0.9.6 configured -- resuming normal operations
>/usr/libexec/ld.so: Undefined symbol "_mysql_init" called from
>httpd:/usr/lib/apache/modules/libphp4.so at 0 x404d9594
>
>after this httpd dumps core ....
>Only, i don't know how to solve it :-(
>I've tried recompiling MySQL, but can't seem to get the correct option
>..
>
>can somebody please enlighten me ?
>
>my MySQL configure commandline:
> ./configure --without-pthread \
> --with-unix-socket-path=/var/mysql/mysql.sock \
> --with-mysqld-user=mysql --with-innodb
>
>my PHP configure commandline
> './configure' '--with-apxs=/usr/sbin/apxs' \
> '--with-config-file-path=/var/www/conf' \
> '--enable-calendar' '--enable-bcmath' \
> '--enable-trans-sid' '--enable-versioning' \
> '--with-yp' '--with-pcre-regex' '--with-xml' \
> '--with-zlib' '--without-gdbm' '--without-gettext' \
> '--disable-ftp' '--without-imap' '--without-ldap' \
> '--without-mhash' '--without-mm' '--without-recode' \
> '--without-snmp' '--without-openssl' \
> '--with-gd=shared,/usr/local' \
> '--enable-gd-native-ttf' \
> '--with-jpeg-dir=/usr/local/lib' \
> '--with-png-dir=/usr/local/lib' \
> '--with-freetype-dir=/usr/local/include/freetype2/freetype' \
> '--without-pdflib' '--disable-dbase' '--disable-filepro' \
> '--with-mysql=/usr/local' '--without-pgsql' \
> '--prefix=/usr/local' \
> '--sysconfdir=/etc'
>
>--
>PHP Install 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]
>
_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com
--
PHP Install 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]