Re: [PHP] Fatal error: Call to undefined function pg_Connect()

Поиск
Список
Период
Сортировка
От Greg Sabino Mullane
Тема Re: [PHP] Fatal error: Call to undefined function pg_Connect()
Дата
Msg-id f46ef894d251139d07c879a751d08c24@biglumber.com
обсуждение исходный текст
Ответ на [PHP] Fatal error: Call to undefined function pg_Connect()  (Olorin <can@yabil.net>)
Список pgsql-php
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160


> but im getting Call to undefined function pgConnect() in
> /home/f****/publichtml/***.****.net/new.php on line 11

Was it really "pgConnect()" not pg_Connect()? Precision is
important when reporting error messages. We'll assume that
pg_connect() was the function not found.

It looks like you have PDO support compiled in, so the best
solution is to simply use that instead of the older pg_* functions.

See for example:

https://phpdelusions.net/pdo

(There are many other tutorials. With all, replace mysql with pgsql)

- --
Greg Sabino Mullane greg@turnstep.com
End Point Corporation http://www.endpoint.com/
PGP Key: 0x14964AC8 201701061401
http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8
-----BEGIN PGP SIGNATURE-----

iEYEAREDAAYFAlhv6r8ACgkQvJuQZxSWSshx9wCgihVLLKwdXTXx6g4xXuGyUokM
2JIAnjmhJ0Kzg1Y1ZjDF+wv1Y5wHIOBn
=qoPH
-----END PGP SIGNATURE-----




В списке pgsql-php по дате отправления:

Предыдущее
От: Olorin
Дата:
Сообщение: [PHP] Fatal error: Call to undefined function pg_Connect()
Следующее
От: pride12
Дата:
Сообщение: [PHP] Buy real and fake passports,drivers license,ID cards,birthcertificates,Visas,SSN,divorce papers,US