Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Database Server
  • Search

function pg_escape_string

Questions regarding the Database Server
MySQL, PostgreSQL, MariaDB, Percona Server, phpMyAdmin, phpPgAdmin
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
khampol
Posts: 31
Joined: Sat Jul 30, 2016 7:57 am

function pg_escape_string
  • Quote

Post by khampol » Sat Jun 10, 2017 3:19 am

Hi,

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
I think need to install
pg_escape_string
Q : I use this command to install ?

Code: Select all

sudo apt-get install php5-pgsql
Is it ok with Vesta? ....
Top

ScIT
Support team
Posts: 617
Joined: Mon Feb 23, 2015 4:13 pm

Os: Ubuntu 17x
Web: apache + nginx
Re: function pg_escape_string
  • Quote

Post by ScIT » Sun Jun 11, 2017 7:57 pm

Should not be a problem, you can install normaly any module you want.
Top

viraladmin
Posts: 57
Joined: Thu Apr 27, 2017 7:40 pm

Os: Ubuntu 15x
Web: apache + nginx
Re: function pg_escape_string
  • Quote

Post by viraladmin » Mon Jun 12, 2017 8:02 pm

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
Top


Post Reply
  • Print view

3 posts • Page 1 of 1

Return to “Database Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password