Upgrading PHP 7.2 to 7.4 for WHMCS on CentOS 7 Rumi, October 30, 2023October 30, 2023 Lately I needed an update of PHP (7.2 to 7.4) on my WHMCS CentOS 7 built box- here’re the process that I followed. But before that, I’m sharing my original post on setting up WHMCS on CentOS 7 Since I used remi repository to install version 7.2, I’ll be doing the same as well- root@portal:~# yum-config-manager --enable remi-php74 root@portal:~# yum update Now install PHP 7.4 with all necessary modules with the command below- root@portal:~# yum install php php-mbstring php-pear php74-php-pdo.x86_64 php-pdo.x86_64 php-mysql.x86_64 php-ioncube-loader.x86_64 php-curl curl php-soap.x86_64 php74-php-soap.x86_64 php-gd.x86_64 php74-php-gd.x86_64 Now restart apache service- root@portal:~# systemctl restart httpd Now check PHP version from console- [root@portal modules]# php -v PHP 7.4.33 (cli) (built: Aug 1 2023 09:00:17) ( NTS ) Copyright (c) The PHP Group Zend Engine v3.4.0, Copyright (c) Zend Technologies with the ionCube PHP Loader + ionCube24 v13.0.2, Copyright (c) 2002-2023, by ionCube Ltd. now login to your WHMCS admin console and go to: Utilities > System > PHP Info Resources: https://www.sunpathservers.net/clients/knowledgebase/314/Installing-WHMCS-in-CentOS-7-woro-a-Control-Panel.html?language=dutch Install ionCube Loader on a CentOS 7 https://www.ezeelogin.com/kb/article/how-to-upgrade-php-to-7-4-on-centos-7-393.html Related Administrations Configurations (Linux) CentOSCentOS 7PHP7.2PHP7.4WHMCS
Force HTTPS / SSL using .htaccess and mod_rewrite February 7, 2013 Sometimes you may need to make sure that the user is browsing your site over securte connection. An easy to way to always redirect the user to secure connection (https://) can be accomplished with a .htaccess file containing the following lines: RewriteEngine On RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://www.example.com/$1 [R,L]… Read More
How to install ffmpeg on CentOS or Redhat Enteprirse Linux the easy way March 3, 2009 This is the easy way to install ffmpeg on CentOS or RHEL/Redhat Enterprise Linux the easy way.\ vi /etc/yum.repos.d/dag.repo Insert the following: [dag] name=Dag RPM Repository for Red Hat Enterprise Linux baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag gpgcheck=1 enabled=1 Related Read More
Install VPN PPTP Server on CentOS October 4, 2013March 29, 2017 In this tutorial, I will use pptp as protocol to connect to VPN server using a username and password, with 128 bit MPPE encryption. Variable as below: OS: CentOS 6 64bit VPN server: 209.85.227.26 VPN client IP: 209.85.227.27 – 209.85.227.30 VPN username: vpnuser Password: myVPN$99 Install ppp via yum: $… Read More