• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Question Update Ubuntu to 18 and CURL problem CURLOPT_SSL_VERIFYPEER

TELLO0815

Basic Pleskian
Hi NG,
I did update Ubuntu from 16 to 18. And I have some problems with CURL:

On installation process: Use of undefined constant CURLOPT_SSL_VERIFYPEER

Looks like CURL is not correct installed. So fare I understand is CURL in Plesk all time installed.
I use PHP 7.3.33 FPM and CURL is activated.
Is there some advice to solve this?

THX
TELLO
 
Please check that module curl is really loaded for your PHP version with:

# /opt/plesk/php/7.3/bin/php -m | grep curl
# /opt/plesk/php/7.3/bin/php --info | grep curl
 
Thank you Igor.
The output:
1.

2.
Configure Command => './configure' '--docdir=/opt/plesk/php/7.3/share/doc' '--runstatedir=/run' '--infodir=/opt/plesk/php/7.3/share/info' '--localedir=/opt/plesk/php/7.3/share/locale' '--exec-prefix=/opt/plesk/php/7.3' '--sysconfdir=/opt/plesk/php/7.3/etc' '--includedir=/opt/plesk/php/7.3/include' '--prefix=/opt/plesk/php/7.3' '--libdir=/opt/plesk/php/7.3/lib/x86_64-linux-gnu' '--sbindir=/opt/plesk/php/7.3/sbin' '--datadir=/opt/plesk/php/7.3/share' '--sharedstatedir=/opt/plesk/php/7.3/com' '--libexecdir=/opt/plesk/php/7.3/lib' '--mandir=/opt/plesk/php/7.3/share/man' '--bindir=/opt/plesk/php/7.3/bin' '--localstatedir=/opt/plesk/php/7.3/var' '--build=x86_64-linux-gnu' '--host=x86_64-linux-gnu' '--disable-debug' '--disable-rpath' '--enable-calendar' '--enable-exif' '--enable-ftp' '--enable-phpdbg' '--enable-sockets' '--enable-sysvmsg' '--enable-sysvsem' '--enable-sysvshm' '--enable-xml' '--with-bz2' '--with-config-file-path=/opt/plesk/php/7.3/etc' '--with-config-file-scan-dir=/opt/plesk/php/7.3/etc/php.d' '--with-enchant=shared,/usr' '--with-gettext' '--with-gmp' '--with-iconv' '--with-kerberos' '--with-layout=GNU' '--with-libdir=lib' '--with-libxml-dir=/usr' '--with-litespeed' '--with-openssl' '--with-pcre-regex' '--with-pic' '--with-system-tzdata' '--with-zlib' '--without-gdbm' '--without-pear' '--with-password-argon2=/var/jenkins/workspace/php-7.3-unix/buck-out/gen/libs/argon2/argon2.files' '--enable-bcmath=shared' '--enable-dba=shared' '--enable-dom=shared' '--enable-fileinfo=shared' '--enable-intl=shared' '--enable-json=shared' '--enable-mbregex' '--enable-mbstring=shared' '--enable-mysqlnd=shared' '--enable-pcntl' '--enable-pdo=shared' '--enable-phar=shared' '--enable-posix=shared' '--enable-soap=shared' '--enable-sysvmsg=shared' '--enable-sysvsem=shared' '--enable-sysvshm=shared' '--enable-xmlreader=shared' '--enable-xmlwriter=shared' '--enable-zip=shared' '--with-curl=shared,/usr' '--with-db4=/usr' '--with-freetype-dir=/usr' '--with-icu-dir=/usr' '--with-gd=shared' '--with-webp-dir=/var/jenkins/workspace/php-7.3-unix/buck-out/gen/libs/webp/webp.files' '--with-imap=shared' '--with-imap-ssl' '--with-jpeg-dir=/usr' '--with-ldap=shared' '--with-ldap-sasl' '--with-libedit' '--with-mysql-sock=/var/run/mysqld/mysqld.sock' '--with-mysqli=shared,mysqlnd' '--with-pdo-mysql=shared,mysqlnd' '--with-pdo-odbc=shared,unixODBC,/usr' '--with-pdo-pgsql=shared,/usr' '--with-pdo-sqlite=shared,/usr' '--with-pgsql=shared' '--with-png-dir=/usr' '--with-pspell=shared' '--with-snmp=shared,/usr' '--with-sqlite3=shared' '--with-tidy=shared,/usr' '--with-unixODBC=shared,/usr' '--with-xmlrpc=shared' '--with-xpm-dir=/usr' '--with-xsl=shared,/usr' '--without-readline' 'build_alias=x86_64-linux-gnu' 'host_alias=x86_64-linux-gnu'
/opt/plesk/php/7.3/etc/php.d/curl.ini,
curl
curl.cainfo => no value => no value
 
Back
Top