[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] RE: cobalt-users digest, Vol 1 #935 - 25 msgs



I changed in php3.ini the default host,userid and pasword to which i want to
use
Is this enough ?

I tested the mysql connect and this seems to be ok
get the following message
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 46 to server version: 3.22.32

So if i execute the php3 file still got the same error
Fatal error: Call to unsupported or undefined function mysql_pconnect() in
sql.inc.php3 on line 22

How can I reinstall the php3 module with mysql support ?

Thanks

Steven


 I installed php3 and mysql
> php3 is working fine
>
> when i install a forum that uses mysql i get the following error
> i hav made the database and created the tables
>
> still this error
>
> Fatal error: Call to unsupported or undefined function mysql_pconnect() in
> sql.inc.php3 on line 22
>
> Anyone any idea

Did you check the php3.ini file to make sure persistent MySQL connections
are allowed?

Does a regular MySQL connection [ mysql_connect() ] work properly?

This may be something as simple as a misconfiguration, or as bad as a php3
binary built without MySQL support.  In the latter case, you'll have to find
and install PHP3 binaries with MySQL support, or build and install it
yourself.

You also might want to check the archives as I believe there was some recent
discussions on this topic.