• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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