By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,948 Members | 865 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,948 IT Pros & Developers. It's quick & easy.

php mysql problem?

P: n/a
Hi, i got a problem with php->mysql

Fatal error: Call to undefined function: mysql_pconnect() in
/var/www/update.php on line 4

both php and mysql are installed into debian, but don't know how to make
them working together

Jul 17 '05 #1
Share this Question
Share on Google+
6 Replies


P: n/a

"pc_newbie" <ay@computermail.net> wrote in message
news:3f********@news.iprimus.com.au...
Hi, i got a problem with php->mysql

Fatal error: Call to undefined function: mysql_pconnect() in
/var/www/update.php on line 4

both php and mysql are installed into debian, but don't know how to make
them working together


Which version of PHP? If it's PHP 5 beta, you need to get the mysql dll,
install it and edit the php.conf
Jul 17 '05 #2

P: n/a

"pc_newbie" <ay@computermail.net> a écrit dans le message news:
3f********@news.iprimus.com.au...
Hi, i got a problem with php->mysql

Fatal error: Call to undefined function: mysql_pconnect() in
/var/www/update.php on line 4

both php and mysql are installed into debian, but don't know how to make
them working together


Check you have php_mysql rpm installed !

Marouen
Jul 17 '05 #3

P: n/a
Marouen wrote:
"pc_newbie" <ay@computermail.net> a ?rit dans le message news:
3f********@news.iprimus.com.au...
Hi, i got a problem with php->mysql

Fatal error: Call to undefined function: mysql_pconnect() in
/var/www/update.php on line 4

both php and mysql are installed into debian, but don't know how to make
them working together

Check you have php_mysql rpm installed !

Marouen


i am using php4.1.2 under debian 3, both php and mysql work individually
well, but i can't make connections to mysql server only.

Jul 17 '05 #4

P: n/a
um line 4 mysql_pconnect() is that a spelling error or what your code is
"pc_newbie" <ay@computermail.net> wrote in message
news:3f**********@news.iprimus.com.au...
Marouen wrote:
"pc_newbie" <ay@computermail.net> a ?rit dans le message news:
3f********@news.iprimus.com.au...
Hi, i got a problem with php->mysql

Fatal error: Call to undefined function: mysql_pconnect() in
/var/www/update.php on line 4

both php and mysql are installed into debian, but don't know how to make
them working together

Check you have php_mysql rpm installed !

Marouen


i am using php4.1.2 under debian 3, both php and mysql work individually
well, but i can't make connections to mysql server only.

Jul 17 '05 #5

P: n/a
check your php.ini config to allow "persistent connection" ->
mysql_pconnect();

Savut

"burnabyryan" <rk***@radiant.net> a écrit dans le message de
news:vr************@corp.supernews.com...
um line 4 mysql_pconnect() is that a spelling error or what your code is
"pc_newbie" <ay@computermail.net> wrote in message
news:3f**********@news.iprimus.com.au...
Marouen wrote:
"pc_newbie" <ay@computermail.net> a ?rit dans le message news:
3f********@news.iprimus.com.au...

>Hi, i got a problem with php->mysql
>
>Fatal error: Call to undefined function: mysql_pconnect() in
>/var/www/update.php on line 4
>
>both php and mysql are installed into debian, but don't know how to make> them working together
>
Check you have php_mysql rpm installed !

Marouen


i am using php4.1.2 under debian 3, both php and mysql work individually
well, but i can't make connections to mysql server only.


Jul 17 '05 #6

P: n/a
burnabyryan wrote:
um line 4 mysql_pconnect() is that a spelling error or what your code is
"pc_newbie" <ay@computermail.net> wrote in message
news:3f**********@news.iprimus.com.au...
Marouen wrote:
"pc_newbie" <ay@computermail.net> a ?rit dans le message news:
3f********@news.iprimus.com.au...
Hi, i got a problem with php->mysql

Fatal error: Call to undefined function: mysql_pconnect() in
/var/www/update.php on line 4

both php and mysql are installed into debian, but don't know how to make
them working together

Check you have php_mysql rpm installed !

Marouen


i am using php4.1.2 under debian 3, both php and mysql work individually
well, but i can't make connections to mysql server only.



spelling is correct, i have tried mysql_connect() and
mysql_pconnect()but got the same error message/

Jul 17 '05 #7

This discussion thread is closed

Replies have been disabled for this discussion.