The websites are a little slower to load, but I'm going to move them into the /var/www/html/ folder now while I work on some other stuff. Eventually they might work in /tmp/html, where they can be accessed in memory of the storage file system. On disk, they can be accessed now, but that slows down the process.
I want to get that directory script done. It is not a priority. I have in mind what I want to do for it. What it does is copy files into /tmp/html that are uploaded to /var/www/html.
I can use the DirectoryIterator - or the SplFileInfo object for a file to determine if it is a soft link. And, if it is, if it has the name index.php, instead of copying it, a new index.php can be linked to /var/www/html/shed/index.php.
The problem might have come from using Tar to extract the files into that directory. The old symlinks didn't work. They did work at first - but I ran into a problem. I had to go onto howeverwhich.com, in the folder, and delete and replace the old symlink. I used the function: link_global_index, which is a script I typed myself.