pecl list Installed packages, channel pecl.php.net: ========================================= Package Version State phalcon 5.1.3 stable pecl uninstall -r phalcon-5.1.3 Extension phalcon disabled in php.ini uninstall ok: channel://pecl.php.net/phalcon-5.1.3 pecl install phalcon-5.2.1 downloading phalcon-5.2.1.tgz … Starting to download phalcon-5.2.1.tgz (954,438 bytes) ………………………………………………………………………………………………………………………………………………………………………done: 954,438 bytes 5 source files, building ………. ……………. Build process completed successfully Installing ‘/usr/local/Cellar/[email protected]/7.4.33_1/include/php/ext/phalcon/php_phalcon.h’ Installing ‘/usr/local/Cellar/[email protected]/7.4.33_1/pecl/20190902/phalcon.so’ install […]
Author: alamster
Quick fix PHP Cli version
php -v PHP 8.2.1 (cli) (built: Jan 12 2023 19:14:53) (NTS) Copyright (c) The PHP Group Zend Engine v4.2.1, Copyright (c) Zend Technologies with Zend OPcache v8.2.1, Copyright (c), by Zend Technologies but in my .zhrc its 7.4 cat ~/.zhrc export PATH=”$PATH:/Users/alamsyahrasyid/development/flutter/bin” export PATH=”$PATH:`pwd`/flutter/bin” export PATH=”/usr/local/opt/[email protected]/bin:$PATH” export PATH=”/usr/local/opt/[email protected]/sbin:$PATH” quick fix source ~/.zhrc php -v PHP […]
memcache vs mecached and php.ini
Recent php update give me error in server PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/local/lib/php/extensions/no-debug-non-zts-20210902/memcache.so’ (tried: /usr/local/lib/php/extensions/n o-debug-non-zts-20210902/memcache.so (/usr/local/lib/php/extensions/no-debug-non-zts-20210902/memcache.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20210902//usr/local/lib/php/extensions/no-debug-non-zts-20210902/memcache.so.so (/usr/local/lib/php/extensions/no-debug- non-zts-20210902//usr/local/lib/php/extensions/no-debug-non-zts-20210902/memcache.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 After browse for while I […]
Fix PHP version (7.3 to 7.4) for Phalcon on Mac Monterey
For my own reference, I use Monterey . I already install PHP but recent update to Phalcon force me to use latest version (5.1.3 at the moment). A few notes during update : Repointing PHP from 7.3 to 7.4 Edit httpd.conf sudo nano /usr/local/etc/httpd/httpd.conf Find php7_module and change from 7.3 to 7.4 LoadModule php7_module /usr/local/opt/[email protected]/lib/httpd/modules/libphp7.so […]
Centminmod, letsencrypt and Cloudflare DNS API
Just quick note for myself for add new domain within cloudflare . I got trouble with ‘ordinary’ add domain via option 2 in centminmod menu. After search for manual and forum post I can implement https using letsencrypt follow direction from this link. 1. Edit custom_config.inc This file located in : /etc/centminmod/custom_config.inc 2. Add more […]