php-install | 2002112
Date: 11/25/02
- Next message: : "[PHP-INST] PHP 4.2.2 and GD 2.0.8"
- Previous message: Marcus Van Wyk: "[PHP-INST] HTTPD"
- In reply to: Bryan Higgins: "[PHP-INST] Re: PHP and MySQL configuration"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
try this:
../configure --with-mysql=/usr/
--------------------
> I am having troubles getting MySQL to work with PHP. I keep getting
> this error when I try to connect to MySQL. I get this error:
>
> Fatal error: Call to undefined function: mysql_connect() in
> /var/www/html/cobatrack/index.php on line 89.
>
> I have read dozens of php newsgroup messages that tell me how to fix
> the error but none of them seem to work. My phpinfo file looks like
> this:
>
> './configure' 'i386-redhat-linux' ......... '--with-mysql=shared,/usr'
> ......
>
> Every message i read says that I haven't configured mysql to work with
> php. But on the phpinfo page, it says that '--with-mysql=shared,/usr'
> has been configured. Can you please help me out.
>
> Thanks.
-- Jorge Alberto Reteguín Pimentel jorge <email protected>-- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
- Next message: : "[PHP-INST] PHP 4.2.2 and GD 2.0.8"
- Previous message: Marcus Van Wyk: "[PHP-INST] HTTPD"
- In reply to: Bryan Higgins: "[PHP-INST] Re: PHP and MySQL configuration"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

