function pg_escape_string
function pg_escape_string
Hi,
I have this error :
I think need to install
Is it ok with Vesta? ....
I have this error :
Code: Select all
Fatal error: Call to undefined function pg_escape_string() in /home/admin/web/xxxxxx.info/public_html/xxxxx/connections/PostgreConnection.php on line 30
Q : I use this command to install ?pg_escape_string
Code: Select all
sudo apt-get install php5-pgsql
Re: function pg_escape_string
Should not be a problem, you can install normaly any module you want.
-
- Posts: 57
- Joined: Thu Apr 27, 2017 7:40 pm
- Os: Ubuntu 15x
- Web: apache + nginx
Re: function pg_escape_string
As I have no idea what your config is, I would highly recommend knowing what version of php is running before installing php modules
Code: Select all
thedown1@marketers:/home/thedown1/conf/web# php -v
PHP 5.6.30-10+deb.sury.org~xenial+2 (cli)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies