![]() ![]() Not sure why I had to take this mysterious detour - probably something local to my machine, but if you're having trouble after following the guide above, see if it helps. Create a new OpenSSL configuration file so you can import these settings when creating a certificate instead of entering them on the command line. Just to be clear, leave the original file where it is, untouched and unharmed throughout this step. The root SSL certificate can now be used to issue a certificate specifically for your local development environment located at localhost. After which, I was able to delete the duplicated file and everything now works without issue. What I did was duplicate that file in the same folder and changed the duplicate's name to 'index.html', leaving the original in situ.īoth local and user sites then loaded. This contains the text "It works!" referred to in the post. When starting php -S on a mac (in my case macOS Sierra) to host a local server. However, if, like me, you still can't get the local host site to load, try the following: You should find a file at /Library/WebServer/Documents/. If a PHP file is given on the command line when the web server is started. I tried logging out and back in (still no joy), then restarting the mac (still no joy). ![]() Just a note, in case anyone has the same issue. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |