PhalconPHP

Installation

Clone this repository into /var/cpanel/easy/apache/custom_opt_mods/ like so:


# cd /var/cpanel/easy/apache/custom_opt_mods/
# git clone https://github.com/thecpaneladmin/EA-PhalconPHP.git .
# /scripts/easyapache

Git on cpanel is at

# /usr/local/cpanel/3rdparty/bin/git

Or use the .zip:


# cd /usr/src
# wget https://github.com/thecpaneladmin/EA-PhalconPHP/archive/master.zip
# unzip -d /var/cpanel/easy/apache/custom_opt_mods/ master.zip
# /scripts/easyapache

Make sure that the path is


/var/cpanel/easy/apache/custom_opt_mods]# ls -la

drwxr-xr-x 4 root root  4096 Sep  2 20:26 ./
drwxr-xr-x 9 root root  4096 Sep  2 20:38 ../
drwxr-xr-x 3 root root  4096 Sep  2 20:26 Cpanel/
-rw-r--r-- 1 root root   606 Sep  2 20:32 error_log
drwxr-xr-x 7 root root  4096 Sep  2 20:26 .git/
-rw-r--r-- 1 root root 18025 Sep  2 20:26 LICENSE
-rw-r--r-- 1 root root   834 Sep  2 20:26 README.md

Or it will not show up in easy apache.

From here, select Phalcon from the list of PHP modules. The module will be loaded from /usr/local/lib/php.ini.

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.