Click here for "Error Codes for Commercial Air Conditioners".(Japanese Version)

Rocky Linux8.4 ; WEB Server Install

1.Installation of Apache2 (httpd-2.4.39) and virtual host configuration

1-1.Apache2 installation

①Download and extract httpd-2.4.39

Extracting the Apache tar file

➁Download and extract apr and apr-util

➂Install expat-devel

④Create an expat symbolic link
Create a symbolic link to the installed library under "/usr/local".
// /usr/local/bin

// /usr/local/include

// /usr/local/lib

⑤Installing PCRE

Create a symbolic link to the installed library under "/usr/local".
// /usr/local/bin

// /usr/local/include

// /usr/local/lib

⑦ Install httpd-2.4.39

1-2.Configuration of Apache2

①Edit the httpd.conf file
Back up the httpd.conf file

Edit the httpd.conf file

➁Edit the httpd-default.conf file

➂Create the necessary directories and set their owners and permissions.

④Check httpd.conf file

⑤Auto-start configuration for Apache
httpd-2.4.39]# cd /lib/systemd/system/
Create httpd.service with the following contents

⑥Apache Autostart Configuration and Startup

⑦Checking the operation of Apache
If you see "index off" when you connect to http://Server IP Address with a browser such as chrome, Apache is running normally.

2.Installation and configuration of PHP ( PHP-7.3.6 )

2-1 advance preparation

Install the software needed to install PHP

2-2 Install PHP

2-3 Editing Apache configuration files

2-4 Edit the PHP configuration file

2-5 Generating the curl.so file

2-6 Checking PHP operation

Restart Apache

When you access http://Server IP/test.php with a browser such as chrome, you will see the following screen

Copied title and URL