Install PHP-7.2 on Ampps (mac version) - ampps

Softaculous developers do not seem to want to update Ampps 3.8 which works with php 7.1 max.
Do you know how to install php 7.2 and 7.3 on Ampps ? thank you

Related

Getting Composer to use the version of PHP installed with Homebrew on Mac

I'm using Composer on a Mac (Big Sur). Running php -v, I get PHP 8.0.12. This is the version I installed with Homebrew. Composer is using default version of PHP, installed at /usr/bin/php (PHP 7.3.29). I need Composer to use the Homebrew version (/usr/local/Cellar...), but can't figure out a solution.

certbot-auto (2021) for Amazon Linux release 2 (Karoo) and nginx

I checked my ec2 system version:
cat /etc/system-release
Amazon Linux release 2 (Karoo)
cat /etc/os-release
NAME="Amazon Linux"
VERSION="2"
ID="amzn"
ID_LIKE="centos rhel fedora"
VERSION_ID="2"
PRETTY_NAME="Amazon Linux 2"
ANSI_COLOR="0;33"
CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2"
HOME_URL="https://amazonlinux.com/"
The new version of certbot seems to require snapd to install, but Amazon Linux release 2 does not seem to support the installation of snapd.
sudo yum install snapd
Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
amzn2-core | 3.7 kB 00:00
No package snapd available.
Error: Nothing to do
I did not see the relevant system version in the installation teaching of snapd:
I don’t know if Amazon Linux release 2 should be classified in CentOS?
Amazon Linux release 2 is not included in the options, nor did I see the related words.
Epel-release and dnf are mentioned in the CentOS teaching, but they don’t seem to support installation.
Or ec2 just used other methods to install certbot?
AWS has another way to install certbot, instructions are here: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/SSL-on-amazon-linux-2.html#letsencrypt

Apache installation with mod_fcgi for httpd24 centos 6.9

I have installed php and apache in my centos 6.9 for apache version 2.4 and php version 5.6 as below:
yum install epel-release
rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
yum install epel-release
yum repolist
yum --enablerepo=extras install centos-release-scl
yum install httpd24
yum install -y libapache2-mod-fastcgi rh-php56-fpm rh-php56 rh-php56-php rh-php56 rh-php56-cli
but I can't see mod_fcgi.so is in /opt/rh/httpd24/root/etc/httpd/modules directory.
Hence I downloaded the mod_fcgi from http://httpd.apache.org/download.cgi#mod_fcgid.
Need an way so that I can install it existing apache modules
Many thanks in advance
Using httpd24 from Software Collection, you already have mod_proxy_fcgi, other old modules are deprecated.
I recommend you to read PHP Configuration Tips about such configuration (notice, this was written for CentOS 7 but works on CentOS 6 using httpd24)

Qt can't find openssl

I installed Qt 4.8 from developer.nokia website which is a .run file. Because it's from nokia i assume the libraries are compiled with openssl...
I use ubuntu 11.10 and it has openssl already installed.
I can't make the QSsl classes working because of this, what am i doing wrong?
Anyone know a proper Qt SDK 4.8 that works fine?
Thanks!
export QTDIR=/home/user/qtsdk-2010.05/
export PATH=$QTDIR/bin:$QTDIR/qt/bin:$PATH
export LD_LIBRARY_PATH=/home/user/qtsdk-2010.05/lib/:/home/user/qtsdk-2010.05/qt/lib/:$LD_LIBRARY_PATH
please change qtsdk-2010.05 to your sdk path
and make sure the binary path and lib is correct, then qmake ,make clean , make
Solved the problem installing qt-sdk from the repositories.
sudo apt-get install qt-sdk
A newer version of the Qt Creator can be found on qt-project.org
However for Ubuntu 11.10 Qt 4.7 will be installed and not 4.7. Qt 4.8 is available on the newer Ubuntu versions' repositories.

How to install QMYSQL plugin

As the question says, how to install QMYSQL plugin?
I'm using Ubuntu 11.10, QtSDK 4.8
The docs tell you how to build and install it.

Resources