yes...
it seems that you do not have mysql in the PHP module.

you can use --with-mysql in the php configure, but you should use 
--with-mysql=/your/mysql/directory

PHP has included code for the default mysql build.  try to use your own libs 
and headers.

HTH

brian

sql, query, mysql






On Thursday 05 December 2002 08:28, Bryant Hester wrote:
> -----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:[EMAIL PROTECTED]]
> 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 <[EMAIL PROTECTED]>
> To unsubscribe, e-mail
> <[EMAIL PROTECTED]>
> 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-----
>
>
> ---------------------------------------------------------------------
> 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 <[EMAIL PROTECTED]>
> To unsubscribe, e-mail <[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php


---------------------------------------------------------------------
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 <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to