|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
please help me i have an error!!!
hi
i have postgresql and i install my php-nuke and i get this error Fatal error: Call to undefined function: pg_connect() in /home/web/musicn/db/postgres7.php on line 81 i font know why?? some one help me... please |
|
#2
|
||||
|
||||
|
Can you connect to Postgres from any other PHP script? Are you sure your version of PHP has been built with Postgres support? Use phpinfo() to see if Postgres is in there.
|
|
#3
|
|||
|
|||
|
hmmm
i think i need to compile php support pgsql
but i dont know how |
|
#4
|
||||
|
||||
|
Re: hmmm
Quote:
Provide a little more info about your setup. What OS is the server running, is this your own server, etc. Your error message does look like postgres support was not compiled in. If you compiled from source on linux you just need to add --with-pgsql to the configure options you pass to configure.
__________________
PostgreSQL, it's what's for dinner... |
|
#5
|
|||
|
|||
|
oh ok
i try it thanx
|
![]() |
| Viewing: Dev Shed Forums > Databases > PostgreSQL Help > please help me i have an error!!! |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|