PHP

PHP coding and information

📝 6 Prompts

📚 Prompts in this Group

Learn these prompts step by step to master this theme

1

Separate local server to be isolated from other servers.

The images below show how to configure a local server independently from XAMPP and Laragon. Step 1: Open the Local application window. Step 2: Click the profile icon and select Preferences. Step 3: Navigate to Advanced settings and find the Router Mode dropdown menu. Step 4: Change the setting from "Site Domain" to "Localhost" and click Apply. Step 5: Close and restart Local. The application will now run as an independent server, separate from Laragon and XAMPP. Images and explanations appear in full preview mode following this sequence.
View →
2

Two servers and one PC Step 1

This guide explains how to run two PHP servers on the same PC: XAMPP and Laragon. XAMPP will be modified while Laragon remains on default settings. To change the Apache XAMPP server configuration, open the control panel, click the Config button next to Apache, and select "httpd.conf" from the dropdown menu.See Image
View →
3

Two servers and one PC Step 2

This guide is step two to explain how to run two PHP servers on the same PC: XAMPP and Laragon. XAMPP will be modified while Laragon remains on default settings. In the previous step, we accessed the Apache configuration file (httpd.conf). Now we need to make two changes: first, change the listener from port 80 to port 8080, and second, change the server name from localhost:80 to localhost:8080. Please refer to the image.
View →
4

Two servers and one PC Step 3

This guide is Step Three in a series on running two PHP servers on the same PC: XAMPP and Laragon. XAMPP will be modified while Laragon remains on default settings. In the MySQL configuration file selected in the previous step, change port 3306 to port 3307. Note that there are two instances to update, though the image shows only one.
View →
5

Two servers and one PC Step 4

This guide is step Four in a series on running two PHP servers on the same PC: XAMPP and Laragon. XAMPP will be modified while Laragon remains on default settings. In the previous step we have selected the MySQL configuration file Now change these two pieces of information Look at the image Thank you.
View →
6

Two servers and one PC Step 5

This guide is step Five in a series on running two PHP servers on the same PC: XAMPP and Laragon. XAMPP will be modified while Laragon remains on default settings. Now return to Apache and select the config file. Refer to the image - we'll access this config file (httpd-ssl.conf), not the previous one. In this file, change all instances of port 443 to 4443, including the listener configuration. Refer to the second part of the image and the explanation in the preview button for guidance.
View →

🎯 Learning Progress

0 / 6 completed
🧠 Practice with Quiz