• 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
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

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