Yes, you can download the package or install from RH CD: php-mysql http://rpmfind.net/linux/rpm2html/search.php?query=php_mysql&submit=Search+...&system=&arch= This is required so PHP will have support for mysql functions. You apache should be ok without changes. Sincerely, Szymon Machajewski MCSD, CNA, MySQL Core Grand Rapids Community College Open Sourceror
>>> "Peter J Milanese" <[EMAIL PROTECTED]> 2/10/2004 2:54:40 PM >>> You need to install the client side of mysql on the linux box (libmysql.*) then compile php with the mysql modules (I think they exist in RPMs) P -----"Eric W. Holzapfel" <[EMAIL PROTECTED]> wrote: ----- To: [EMAIL PROTECTED] From: "Eric W. Holzapfel" <[EMAIL PROTECTED]> Date: 02/10/2004 02:55PM Subject: MySQL and PHP Hello Mysql listers, I have a mysql db running on a Slackware Linux box. I have an Apache webserver running on a Red Hat Enterprise box. (Mysql 4.0.15a, apached 2.0, php 4.3.2). I think (!!?) I have php on the Red hat box, version 4.3.2. I have been trying without success to use php on apache to connect to the db on slackware box. I do not have MySQL installed on the Redhat box (but do have the mysql client installed). Do I need to install MySQL on the red hat machine to get commands like: mysql_connect, mysql_pconnect to work??? My php does not recognize these commands. Also my php will not connect to the database using a php script like: "mysql://user:[EMAIL PROTECTED] phpdemo" where user is the username, passwrd is the password, etc. I can log on locally to the Slackware box, and connect to the db using the user and password, etc. And I can also use ODBC from a windows box to connect. any ideas on how to set this beginner (me) straight???? Thanks, eric -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED] -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]