• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved Install (with compiling or not) Phalcon in Plesk Onyx and Ubuntu 18.04?

the package will not be found
Looks like problem with repos.
Try this command
Code:
apt-cache search php | grep plesk-php
and check output.

Go to Tools & Settings > Updates > Add/Remove components > Web hosting > PHP interpreter versions and verify you have at least one php version installed
 
Nothing:


root@h2845013:/etc/apt# apt-cache search php | grep plesk-php
root@h2845013:/etc/apt#
 
Can you add result of command ls -la /etc/apt/sources.list.d
and contents (cat) of a file /etc/apt/sources.list.d/plesk.list if exists
 
Thank you for your fast feedback! :)


The outputs are the following:

root@h2845013:~# ls -la /etc/apt/sources.list.d
insgesamt 12
drwxr-xr-x 2 root root 4096 Aug 28 00:10 .
drwxr-xr-x 7 root root 4096 Aug 28 11:03 ..
-rw-r--r-- 1 root root 121 Aug 28 00:08 plesk.list


root@h2845013:~# cat /etc/apt/sources.list.d/plesk.list
## Persistent repositories for Plesk Products.
deb ftp://ftp.stratoserver.net/pub/plesk/ubuntu/PSA_17.8.11 bionic extras



Here, they told me to use the ubuntu.com and debian.com repo servers for a package which begins with "plesk-"... can't really believe that it works in that way... a package which begins with "plesk-" will not be delivered via ubuntu.com or canonical.com server - so i think at least! ;-)
 
Agree, you need something like
Code:
deb http://autoinstall-stable.plesk.com/PHP73_17/ bionic all
But i suppose this record must be added by plesk itself.

Do you check you have at least one plesk php handler installed already?
Use
Code:
plesk bin php_handler --list
 
OK, thx.

root@h2845013:~# plesk bin php_handler --list
id: display name: full version: version: type: cgi-bin: php-cli: php.ini: custom: status:
cgi 7.2.19 by OS vendor 7.2.19 7.2 cgi /usr/bin/php-cgi /usr/bin/php /etc/php/7.2/cgi/php.ini false disabled
fastcgi 7.2.19 by OS vendor 7.2.19 7.2 fastcgi /usr/bin/php-cgi /usr/bin/php /etc/php/7.2/cgi/php.ini false enabled
fpm 7.2.19 by OS vendor 7.2.19 7.2 fpm /usr/sbin/php-fpm7.2 /usr/bin/php /etc/php/7.2/fpm/php.ini false enabled
module 7.2.19 by OS vendor 7.2.19 7.2 module /usr/bin/php-cgi /usr/bin/php /etc/php/7.2/apache2/php.ini false disabled
 
My current sources.list:

deb ftp://ftp.stratoserver.net/pub/linux/ubuntu bionic main restricted universe
deb-src ftp://ftp.stratoserver.net/pub/linux/ubuntu bionic main restricted universe

deb ftp://ftp.stratoserver.net/pub/linux/ubuntu bionic-updates main restricted universe
deb-src ftp://ftp.stratoserver.net/pub/linux/ubuntu bionic-updates main restricted universe

#deb ftp://ftp.stratoserver.net/pub/linux/ubuntu bionic-security main restricted universe
#deb-src ftp://ftp.stratoserver.net/pub/linux/ubuntu bionic-security main restricted universe

deb ftp://ftp.stratoserver.net/pub/linux/ubuntu bionic-security main restricted universe multiverse
deb-src ftp://ftp.stratoserver.net/pub/linux/ubuntu bionic-security main restricted universe multiverse

deb Index of /ubuntu bionic partner
deb-src Index of /ubuntu bionic partner



Original, it was:

deb ftp://ftp.stratoserver.net/pub/linux/ubuntu bionic main restricted universe
deb-src ftp://ftp.stratoserver.net/pub/linux/ubuntu bionic main restricted universe

deb ftp://ftp.stratoserver.net/pub/linux/ubuntu bionic-updates main restricted universe
deb-src ftp://ftp.stratoserver.net/pub/linux/ubuntu bionic-updates main restricted universe

deb ftp://ftp.stratoserver.net/pub/linux/ubuntu bionic-security main restricted universe
deb-src ftp://ftp.stratoserver.net/pub/linux/ubuntu bionic-security main restricted universe

deb ftp://ftp.stratoserver.net/pub/linux/ubuntu bionic-security main restricted universe
deb-src ftp://ftp.stratoserver.net/pub/linux/ubuntu bionic-security main restricted universe


...yes, the entries are from my provider "Strato".
 
Problem solved as commented here: How to install Phalcon framework for a PHP supplied by Plesk?


"OK, maybe you also need to:

- Install the required handler versions, in that case for PHP 7.2:
"plesk installer --select-release-current --install-component php7.2"

- Install the C/C++ linkers & compilers (package "build-essential", before executing the "./install ..." command)

- Install GIT (package "git", before phalcon git pull command)"


Thank you anyway!! :)


With best regards,
Jan
 
Back
Top