https://www.certdepot.net/rhel7-get-started-firewalld/ https://www.linuxjournal.com/content/understanding-firewalld-multi-zone-configurations https://computingforgeeks.com/install-and-use-firewalld-on-ubuntu-18-04-ubuntu-16-04/
Read More1<?php 2$inipath = php_ini_loaded_file(); 3if ($inipath) { 4echo 'Loaded php.ini: ' . $inipath; 5} else { 6echo 'A php.ini file is not loaded'; 7} 8?> or 1[icasimpan!@example.org ~]$ php -i |grep php.ini 2Configuration File (php.ini) Path => /etc 3Loaded Configuration File => /etc/php.ini …
Read More1$ git clone https://github.com/mongodb/mongo-php-driver.git 2$ cd mongo-php-driver 3$ git submodule sync && git submodule update --init 4$ phpize 5$ ./configure 6$ make all -j 5 7$ sudo make install Details in https://www.php.net/manual/en/mongodb.installation.manual.php or …
Read More1sudo add-apt-repository ppa:ondrej/php 2sudo apt-get update 3sudo apt-get install mcrypt php7.1-mcrypt
Read More1iptables -A INPUT -p tcp -s 114.191.33.88 --dport 22 -m conntrack --ctstate NEW,ESTABLISHED -j ACCEPT 2iptables -A OUTPUT -p tcp --sport 22 -m conntrack --ctstate ESTABLISHED -j ACCEPT
Read Morein /etc/postfix/main.cf, add: 1smtpd_tls_security_level = may 2smtp_tls_security_level = may 3smtp_tls_loglevel = 1 4smtpd_tls_loglevel = 1 Details from From http://blog.snapdragon.cc/2013/07/07/setting-postfix-to-encrypt-all-traffic-when-talking-to-other-mailservers/
Read MoreVerify if mcypt is really installed 1php -m|grep -i mcrypt Counter-check from phpmyadmin. If it say installed there, issue is that php-cli can't see mcrypt as a module. Find the mcrypt definition and symlink similar to below: 1ln -s /etc/php5/mods-available/mcrypt.ini /etc/php5/cli/conf.d/20-mcrypt.ini See details in …
Read Morehttps://pehapkari.cz/blog/2017/03/27/multiple-php-versions-the-easy-way/ https://github.com/oerdnj/deb.sury.org/wiki/Managing-Multiple-Versions
Read MoreSample error 1[Wed Jan 10 14:56:38.031846 2018] [:error] [pid 9378] [client 115.85.11.98:23443] PHP Fatal error: Class 'DOMDocument' not found in /var/www/sites/site.example.com/docroot/core/lib/Drupal/Component/Utility/Html.php on line 286 Solution: 1apt-get install php5.6-dom See details in …
Read More