Bash Learning - Fix Error 403 404 & Unable To Connect Apache Localhost

Опубликовано: 14 Март 2026
на канале: Hell Buddy Solutions
4,897
8

This tutorial is covered the errors 403 & 404 - Unable to connect localhost PHP after upgrading the latest version of macOS as High Sierra.

After upgrading the latest version of macOS, encounter the errors of “403 forbidden”, “404 page not found” and “Unable to connect” that cannot access to the localhost and the PHP page or directory. Learn Bash Commands (Unix) – CLI (Command-line Interface) and Apache Configuration to fix the errors, understand the connection between Http and Apache Web Server.

Bash學習 - 修復錯誤403 404&無法連接Apache 本地主機
(無法訪問localhost和PHP, 錯誤 “不允許權限403”, “找不到頁面404”)

The tutorial of the solution will cover the following steps:
Before start, understand why can’t be connected? [0:49]
Step 1 - Check the Apache Server [3:13]
Step 2 – Use the bash CLI to create a new folder “Sites” [6:48]
Step 3 - How To Find Httpd Configuration File [10:30]
Step 4 – How To reset the Apache configuration [13:50]
Step 5 – Uncomment Include UserDir Configuration [18:41]
Step 6 – Create or Modify User Configuration [19:20]
Step 7 – Restart Apache Server [20:45]
Final Fix - Reasons For Apache Error 403 [21:37]

Next Lesson Solution:
Unable login PhpMyAdmin Errors of 2054 or 1045 series
   • [PhpMyAdmin MySQL] Fix Login Errors 1045 &...  

Relative videos:
The solution of unable to install latest version macOS
   • The solution of unable to install latest v...  

Localhost Error 404 & 403 After Upgraded Mac Yosemite El Capitan
   • Localhost Error 404 & 403 After Upgraded M...  

Error 403 Access Forbidden Solution -- Apache File Permission & Clear Cache
   • Error 403 Access Forbidden Solution -- Apa...  

Error 404 Page Not Found - Learn Path Links
   • Error 404 Page Not Found -  Learn Path Lin...  

Install All By Yourself -

Download PhpMyAdmin
https://www.phpmyadmin.net/downloads/
Download MySql on Mac
https://dev.mysql.com/downloads/mysql/
Download PHP on Mac
https://www.php.net/manual/en/install...
Download Python on Mac
https://www.python.org/downloads/
Download Perl
https://www.perl.org/get.html
Apache Http Server
https://httpd.apache.org/
Download WordPress
https://wordpress.org/download/

Xampp Friends Q&A
https://www.apachefriends.org/faq_osx...

********* ******** ******** ********

[HellBuddy Talk - Life is simple but programming is not 生活簡單但編程不是]
If you enjoyed this episode, please give HellBuddy a like and subscribe to the HellBuddySolutions channel on YouTube. Welcome to buy HellBuddy coffee and encourage me to make more videos. HellBuddy likes to share some experiences and solutions to provide some useful information about web development and programming. Life is simple, but coding is not. Better kindly to say hello to HellBuddy before leaving a comment or question. 1000X Thanks
如果您喜歡這一集,請給 HellBuddy 一個贊並訂閱 YouTube 上的 HellBuddySolutions 頻道。歡迎購買
HellBuddy 咖啡並鼓勵我製作更多視頻。 HellBuddy 喜歡分享一些經驗和解決方案,以提供一些關於 Web 開發和編程的有用信息。生活很簡單,但編程卻不容易。最好在發表評論或提問之前向 HellBuddy 打個友善招呼。 1000X Thanks

[Subscribe & Follow & Support -訂閱 & 關注 & 支持]
HellBuddySolutions:    / hellbuddysolutions  
BuyHellBuddyCoffee: https://www.buymeacoffee.com/hellbuddy
Facebook:   / hellbuddysolutions  
Instagram:   / hellbuddysolutions   - @HellBuddySolutions
Twitter:   / hellsolutions   - @HellSolutions

[Report & Help - 報告和幫助]
If you suspect someone infringes copyright of a HellBuddy video without permission or HellBuddy video was posted on a platform not owned by HellBuddy / HellBuddySolutions, please report it to HellBuddySolutions Channel YouTube or hellbuddy.com.
如果您懷疑有人未經許可盜用了 HellBuddy 視頻的版權,或者 HellBuddy 視頻發佈在不屬於 HellBuddy / HellBuddySolutions 的平台上,請向YouTube HellBuddySolutions 頻道 或 hellbuddy.com 報告。

[Channel’s Tags]
#HellBuddy #HellBuddySolutions #Programming #Computer #WebDevelopment #WebsiteDesign #PHP #Javascript #JQuery #HTML#CSS #Python #Networking #Apache #Database #MySQL#UnixCommands #CLI