You are not logged in.

#1 2004-05-14 12:53:26

ArchEr
Member
From: Lithuania, Vilnius
Registered: 2004-04-27
Posts: 25

Php & mysql

Hi
Im trying to use Typo3 content management system, but i got error "Fatal error: Call to undefined function: mysql_pconnect() in...". How could i fix it? There are working mysqld on my computer...

Offline

#2 2004-05-14 13:06:23

IceRAM
Member
From: Bucharest, Romania
Registered: 2004-03-04
Posts: 772
Website

Re: Php & mysql

ArchEr wrote:

Hi
Im trying to use Typo3 content management system, but i got error "Fatal error: Call to undefined function: mysql_pconnect() in...". How could i fix it? There are working mysqld on my computer...

Check the includes in that php file. PHP doesn't find mysql_pconnect(), a proprietary function, so it is not a problem of the mysql server. If it were a problem with the mysql server, then you would have had something like "Can't connect to MySQL server..."

Offline

#3 2004-05-14 13:15:39

ArchEr
Member
From: Lithuania, Vilnius
Registered: 2004-04-27
Posts: 25

Re: Php & mysql

In some forums i found that package php-mysql should be installed (red hat rpm) but there arent such package in archlinux...

Offline

#4 2004-05-14 20:44:34

ArchEr
Member
From: Lithuania, Vilnius
Registered: 2004-04-27
Posts: 25

Re: Php & mysql

hmmm, here is interesting compile option '--with-mysql=shared,/usr'. Is it correct?

Offline

#5 2004-05-14 22:03:39

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: Php & mysql

Have you enabled mysql.so in your php.ini file?


I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal

Offline

#6 2004-05-14 22:08:11

ArchEr
Member
From: Lithuania, Vilnius
Registered: 2004-04-27
Posts: 25

Re: Php & mysql

yes

Offline

#7 2004-05-14 22:33:27

ArchEr
Member
From: Lithuania, Vilnius
Registered: 2004-04-27
Posts: 25

Re: Php & mysql

Oh i restarted computer and everything works now tongue

Offline

#8 2004-05-16 01:25:25

jlvsimoes
Member
From: portugal
Registered: 2002-12-23
Posts: 392
Website

Re: Php & mysql

hmmm, here is interesting compile option '--with-mysql=shared,/usr'. Is it correct?
ArchEr

i have to recompile php without that to make things working here


-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GU/ d- s: a- C L U P+ L+++ E--- W+
N 0+ K- W-- !O !M V-- PS+ PE- V++ PGP T 5 Z+ R* TV+ B+
DI-- D- G-- e-- h! r++ z+ z*
------END GEEK CODE BLOCK------

Offline

Board footer

Powered by FluxBB