I installed MySQL3.23.41-1 (from an RPM) *AFTER* my original Linux install of Apache1.3.14 and PHP4.04pl1 (from the Red Hat 7.1 CDs). PHP works and MySql works. However, they're not working together. <?php phpinfo(); ?> spits out a list of interesting stuff, including the configure command: './configure' '--prefix=/usr' '--with-config-file-path=/etc' '--disable-debug' '--enable-pic' '--enable-shared' '--enable-inline-optimization' '--with-apxs=/usr/sbin/apxs' '--with-exec-dir=/usr/bin' '--with-regex=system' '--with-gettext' '--with-gd' '--with-jpeg-dir=/usr' '--with-png' '--with-zlib' '--with-db2' '--with-db3' '--with-gdbm' '--enable-debugger' '--enable-magic-quotes' '--enable-safe-mode' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-track-vars' '--enable-yp' '--enable-ftp' '--enable-wddx' '--without-mysql' '--without-oracle' '--without-oci8' '--with-xml' which has "--without-mysql" in there towards the end. I assume this is why I can't use php to connect to mysql databases. I got the following error with my first connect function: Fatal error: Call to undefined function: mysql_pconnect() in /var/www/html/ushl/index.php on line 8 Do I have to reconfigure PHP with mysql? Since I installed everything using RPM, I'm not sure what directory I have to be in to restate the ./configure command. Also, should I use the entire configure command shown above or can I just do it with just: ./configure --with-mysql=/path/to/mysql Finally, how can I tell if PHP was installed as a module of Apache or as a CGI interpreter and does it matter for configuring PHP to work with MySQL. Thanks, Greg Please remove the -NOSPAM when replying. -- 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]