Re: AIX

From: Date: Thu, 26 Apr 2001 20:55:36 +0000
Subject: Re: AIX
References: 1 2  Groups: php.install 
Request: Send a blank email to php-install+get-2904@lists.php.net to get a copy of this message
The client can connect to the SQL server without a problem, I can create tables, manipulate data, etc. The error seems to have something to do with PHP and it trying to call mysql_pconnect. I just don't know how to fix that problem without finding someone that can change the C on the files my install stops at. Back to the drawing board for me, thanks for the help. At 01:49 PM 4/26/01 -0700, Steve Brazill wrote:
IF, you are indeed using the MySQL server version 3.23.37, and the client version of 3.22.whatever, I would suspect that it won't work... (you'd need a 3.23.xx client) Jacob Steinberger wrote: Andi, Steve. I should have added that everything I have managed to get installed are pre-compiled binaries. I haven't been able to get PHP to compile, so I had to use pre-compiled Apache that has built in support for PHP. The MySql client wouldn't even work correctly. Apache 1.3.19 PHP4.0.4pl1 MySql client is 9.27 3.22.14b-gamma, for ibm-aix4.1.5.0 (As the only other pre-compiled version was for 4.3.3 which wouldn't work, I am running 4.3.2) MySql server is 3.23.37 on NT (the pre-compiled version for AIX is going to take a bit of time to hammer out) I'll take any suggestions at this point =) Thanks for the replys. Jacob At 01:15 PM 4/26/01 -0700, Steve Brazill wrote:
What version of MySQL did you install, and what version does
"phpinfo" say is
installed ?? (remember, PHP comes with an old 'generic' version
pre-builtin)
Also, did you install MySQL using RPM's ? If you used the 'source'
method (as
I did) the line from "phpinfo" might say something like "--with-mysql=/usr/local/mysql" Jacob Steinberger wrote:
Slowly but surely I was able to install PHP4, Apache, and MySql. All of which work, just not together. MySql is working fine, PHP4+Apache
works,
though when I try and have PHP access MySql I get: Fatal error: Call to undefined function: mysql_pconnect() in /usr/local/share/apache/htdocs/mainfile.php on line 17 Most of the sites I find this error on say that my PHP doesn't have
support
for MySql compiled in. Though, under phpinfo, I find this: --with-mysql=shared,/usr/local I've found numerous sites that have Linux RPMs that have a PHP4-MySql Package. Obviously, I can't make use of this because I'm running on
AIX.
I'm just curious if anyone knows what is correct? Do I need an added package to run PHP with MySQL? Or is the configuration of PHP with the MySql switch enough? Oy! Thanks... Jacob


« previous php.install (#2904) next »