• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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