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
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]