Step 7. install PHP modules

Description of your first forum.
Post Reply
Mitu100@
Posts: 1351
Joined: Tue Jan 07, 2025 4:30 am

Step 7. install PHP modules

Post by Mitu100@ »

Check if PHP is working by opening the following address:


ip_address this is the public IP address of your server that your ISP gave you, in my case it is Mivocloud.
If PHP is configured correctly, you will see this image in your browser:



6. Install the firewall using the following command:

sudo yum install iptables-services

After that, we execute the following commands responsible for startup, startup on startup and information about the firewall:


6. If a firewall is enabled, you phone number library will need to open a route for HTTP traffic. Use the command:

sudo iptables -I INPUT 1 -p tcp -m tcp --dport 80 -m state --state NEW -j ACCEPT

Then run the command to open it for HTTPS traffic:

sudo iptables -I INPUT 1 -p tcp -m tcp --dport 443 -m state --state NEW -j ACCEPT

Finally, save the changes to the firewall and restart it to activate the new settings:

service iptables save
service iptables restart


To optimize PHP functionality, view the names and descriptions of additional modules using the command:
yum search php-

For detailed information in understandable language about what each module does, see the longer description with: yum info followed by a space and the name of the module.

Install the optional package with sudo yum install followed by a space and the module name.
Post Reply