PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Sunday, July 3, 2022

[FIXED] What permissions need to be set after Xammp (installer) using virtual hosts after Big Sur upgrade?

 July 03, 2022     macos-big-sur, php, xampp     No comments   

Issue

I finally got round to upgrading to Big Sur and boy did it ruin my day. (Ubuntu here I come)

I had to reinstall Xammp (Installer not VM) but I cannot get Xammp to work with any of my Worpdress projects. I'm using a virtual host

I've tried making the XAMMP folder writeable by everyone and added myself as a user, I chmoded -R the html folder with the wordpress in. Googling the issues suggests it's a permission issue I believe it's a permissions (symlinks possibly) but I'm not sure which permissions need to be changed.

Fatal error: Unknown: Failed opening required '/Users/tristanb/Documents/Clients/Ferrai/html/index.php' (include_path='.:/Applications/XAMPP/xamppfiles/lib/php') in Unknown on line 0

Any help would be great.


Solution

My problem was that my virtual hosts pointed to files in the /Documents folder which with the upgrade had had the permissions altered. I moved my webfiles to a new folder /Users/tristanb/Clients/ and updated the httpd-vhosts.conf.



Answered By - Tristanisginger
Answer Checked By - Mary Flores (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing