- sudo apt-get install software-properties-common -y
- sudo add-apt-repository ppa:ondrej/php
- sudo apt-get update -y
- sudo apt-get install php7.2 php7.2-fpm php7.2-mysql libapache2-mod-php7.2 libapache2-mod-fcgid -y
Mr.Singnarin
เรื่องราวและ ทัศนะต่างๆ กับสิ่งต่างๆที่ไปประสบพบเจอมา โดยนำมาวิเคราะห์ตามแนวความคิดและวิถีทางแล้วบันทึกไว้
31 ก.ค. 2567
How to Install Multiple PHP Versions on Ubuntu 22.04
30 ก.ค. 2567
Create rc.local in Ubuntu 22
1. Create the rc.local file:
sudo nano /etc/rc.local
2. Add your commands:
How to install Apache ,MySQL ,PHP (LAMP stack) on Ubuntu 22.04
หลังจากติดตั้งเสร็จ อัพเดท&อัพเกรดเวอร์ชันให้เป็นปัจจุบัน
sudo apt update && sudo apt upgrade -y# คำสั่ง config Timezone(ไทย) แบบถาวรรีสตาร์ทเครื่องค่าไม่หาย(permanent)
sudo timedatectl set-timezone Asia/Bangkok
# คำสั่งดู timeZone
timedatectl
### โปรดระวังหากใช้คำสั่ง tzselect ใช้ง่ายแต่จะเป็นการเปลี่ยน timezone แบบชั่วคราวเท่านั้นเคสนี้เราจะไม่ใช้APACHE
27 ต.ค. 2566
Setup Cloudflare SSL and Configure Origin Certificate for Apache
$ sudo mkdir /etc/apache2/ssl
$ sudo a2enmod ssl
$ sudo systemctl restart apache2
Get Cloudflare Origin Certificate and Private Key
8 ก.พ. 2564
How to install two PHP versions in Window XAMPP?
Step 1: Download PHP 5.6 (Non Thread Safe) version
https://windows.php.net/download#php-5.6Multiple PHP Versions with Apache on Ubuntu 20.04 / 18.04 / 16.04
1. Add Repository
Let’s begin by updating the package lists.
sudo apt update For Ubuntu 20.04 and 18.04 users, install libapache2-mod-fcgid.
sudo apt install libapache2-mod-fcgidUbuntu 16.04 users, install libapache2-mod-fastcgi.
sudo apt install libapache2-mod-fastcgiYou may need software-properties-common in order to add a repository with add-apt-repository.
sudo apt install software-properties-common18 พ.ค. 2563
Ubuntu method for extending LVM root directory
Ubuntu Server 16.04 to 18.10
1. ssh into the system, switch to root and run cfdisk# cfdisk
สมัครสมาชิก:
ความคิดเห็น (Atom)