• 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 Phalcon 4

Try to compile Phalcon PHP module with the following steps:

# apt install plesk-php74-dev make gcc
# git clone git://github.com/phalcon/cphalcon.git
# cd cphalcon/build
# ./install --phpize /opt/plesk/php/7.4/bin/phpize --php-config /opt/plesk/php/7.4/bin/php-config

I was unable to complete the compilation at this step:

Code:
gcc: fatal error: Killed signal terminated program cc1
compilation terminated.
make: *** [Makefile:192: phalcon.lo] Error 1

Perhaps there was not enough server capacity. I hope you manage to compile the module. After that, it remains only to connect it to PHP 7.4 with creation corresponding ini file like:
Code:
# cat /opt/plesk/php/7.4/etc/php.d/phalcon.ini
; Enable phalcon framwork module
extension=phalcon.so
Then check that module is loaded with
Code:
# /opt/plesk/php/7.4/bin/php -m | grep phalcon
phalcon
 
Try to compile Phalcon PHP module with the following steps:

# apt install plesk-php74-dev make gcc
# git clone git://github.com/phalcon/cphalcon.git
# cd cphalcon/build
# ./install --phpize /opt/plesk/php/7.4/bin/phpize --php-config /opt/plesk/php/7.4/bin/php-config

I was unable to complete the compilation at this step:

Code:
gcc: fatal error: Killed signal terminated program cc1
compilation terminated.
make: *** [Makefile:192: phalcon.lo] Error 1

Perhaps there was not enough server capacity. I hope you manage to compile the module. After that, it remains only to connect it to PHP 7.4 with creation corresponding ini file like:
Code:
# cat /opt/plesk/php/7.4/etc/php.d/phalcon.ini
; Enable phalcon framwork module
extension=phalcon.so
Then check that module is loaded with
Code:
# /opt/plesk/php/7.4/bin/php -m | grep phalcon
phalcon
it works! thank you
i had to install PSR (GitHub - jbboehr/php-psr: PHP extension providing the accepted PSR interfaces) to run phalcon 4 but then it works without any problems

so many thanks!
 
Back
Top