3 messages in com.mysql.lists.mysqlRE: Install PHP with MySQL
FromSent OnAttachments
Brian Austin05 Dec 2002 05:18 
Kenneth Illingsworth05 Dec 2002 05:49 
Bryant Hester05 Dec 2002 06:28 
Subject:RE: Install PHP with MySQL
From:Bryant Hester (bhes@juxtaposeinc.com)
Date:12/05/2002 06:28:09 AM
List:com.mysql.lists.mysql

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1

Kenneth,

I would download the source packages from php.net and explicitly compile the mysql options into PHP. As an alternative, you can look for the mysql-php library rpms on rpmfind.net. My linux webserver (running apache and PHP 4.1.2) has php-mysql-4.1.2-7.i386.rpm, and I am sure that there is a comparable rpm package for your version.

HTH, Bryant Hester

- -----Original Message----- From: Kenneth Illingsworth [mailto:ILLI@cityofrochester.gov] Sent: Thursday, December 05, 2002 7:50 AM To: < Subject: Install PHP with MySQL

I recently installed the following RPM's:

MySQL-3.23.41-1a.s390.rpm MySQL-devel-3.23.41-1a.s390.rpm MySQLclient9-3.23-22-6a.s390.rpm MySQL-server-3.23.41-1a.s390.rpm

Afterwards, I was able to start the mysqld daemon ok and install an application I downloaded for a demonstration of the viability of the Linux VM on s390 platform. The application url is http://epayroll.sourceforge.net/ and it required mysql v3,22x or higher, Apache running as a webserver, and PHP v4.0.2 or higher (mine is v4.0.6). However, when I finally attempted to log into this application, I got the following error:

Fatal error: Call to undefined function: mysql_connect() in /var/www/html/eps/datacon.php on line 14

I contacted the author of this application who suggested that I reinstall PHP with the mysql option enabled. Towards that end, I downloaded and installed the php-mysql-4.0.6-15.s390.rpm file. Unfortunately I got the same error. I am somewhat certain that the author of this application was on the right track.

Would anyone on this forum care to offer me any direction on this matter?

Thank you in advance for your time.

- --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive)

To request this thread, e-mail <mysq@lists.mysql.com> To unsubscribe, e-mail <mysql-unsubscribe-bhester=juxt@lists.mysql.com> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

-----BEGIN PGP SIGNATURE----- Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>

iQA/AwUBPe9ij0lWu7/HFp4nEQIdAwCgpmddOCcEdtpTQTR4oYV3YfRnCrUAn1AH psNBnvk4dbfG81g0CEQdSoQU =t/gi -----END PGP SIGNATURE-----