Re: AIX
| From: | Andi Gutmans | Date: | Thu, 26 Apr 2001 22:18:18 +0000 |
| Subject: | Re: AIX | ||
| References: | 1 2 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-2906@lists.php.net to get a copy of this message | ||
Try and see if your pre-compiled binaries include a file called php_mysql.so.
If so you could load it via your php.ini.
Andi
At 03:29 PM 4/26/2001 -0500, 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 havesupportfor 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 -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net For additional commands, e-mail: php-install-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net For additional commands, e-mail: php-install-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net