• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

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