Ok, I have been searching for a couple days now on how to resolve this issue. The mysql.so line is uncommented in php.ini, so that's one option checked off the list. My syntax is correct, because the same file works on other machines.
I'm running PHP 4.3.9 and MySQL 4.1.7 w/ apache2. I've grabbed the latest slack packages and installed them. After a few other issues, I finally got PHP working and got it working under apache.
Here is the output of my ./configure line from PHP:
'./configure' '--prefix=/usr' '--enable-discard-path' '--with-config-file-path=/etc/apache2' '--enable-safe-mode' '--with-openssl' '--enable-bcmath' '--with-bz2' '--with-pic' '--enable-calendar' '--enable-ctype' '--with-gdbm' '--with-db3' '--with-imap=shared,/usr' '--with-imap-ssl' '--enable-dbase' '--enable-dba' '--enable-ftp' '--with-gd' '--enable-gd-native-ttf' '--with-jpeg-dir=/usr' '--with-png-dir=/usr' '--with-freetype-dir=/usr' '--with-gmp' '--with-mysql=shared,/usr' '--with-pgsql=shared,/usr' '--with-xml' '--enable-trans-sid' '--enable-shmop' '--enable-sockets' '--with-regex=php' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--enable-yp' '--enable-memory-limit' '--with-tsrm-pthreads' '--enable-shared' '--disable-debug' '--with-zlib' '--with-t1lib' '--with-pspell=shared' '--with-mhash' '--with-gettext' '--with-xsl' '--with-iconv' '--enable-inline-optimization' '--disable-static' '--with-curl' '--enable-exif' '--enable-magic-quotes' '--with-readline' '--enable-force-cgi-redirect' '--enable-fastcgi' '--enable-pcntl' '--enable-sigchild' '--with-apxs2=/usr/sbin/apxs' '--sysconfdir=/etc'
so, I have no idea what is going on. I did some reading, and a possible solution for redhat users is to install the php4-mysql RPM - however, I'm running slack 10.
