XF on localhost

XF on localhost

Paul B

XenForo moderator
Staff member
Brogan submitted a new resource:

XF on localhost - Now with added https

🎶 Yo I'll tell you what I want, what I really, really want
So tell me what you want, what you really, really want
I wanna, I wanna, I wanna, I wanna,
I wanna really, really, really wanna localhost installation which works over https, has push notifications, supports PWA, and optionally has Elasticsearch capability 🎶


This guide will explain in detail how to get a localhost installation working using XAMPP, served over https, so all XF features and functionality are available.

Spicy!
Read more about this resource...
 
If anyone follows the guide and thinks anything is unclear or there are steps or information missing, post your comments below.
 
Thank you, Brogan. I just installed SSL, followed your instruction step by step and done the process flawlessly.
 
Thank you for this! Although the Spice Girl references was a little disturbing. Brogan you worry me. ;)

fabio GIF
 
I've always used wamp, and never thought about installing ssl on my localhost. So i went ahead and did this method, although unlike your screenshots, when I am on my localhost I am getting the Not Secure warning.
 
Clicking on the browser tab should show why it's not secure.

Other than that, I don't use wamp so 🤷‍♂️
 
I've always used wamp, and never thought about installing ssl on my localhost. So i went ahead and did this method, although unlike your screenshots, when I am on my localhost I am getting the Not Secure warning.


the "not secure" message I think it's because of the self-signed SSL certificate, if that's the case it's not important, you can ignore it.
 
the "not secure" message I think it's because of the self-signed SSL certificate, if that's the case it's not important, you can ignore it.
Yeah I knew that, I just though it odd that Brogan's tut did not have the warning, yet mine had it, but it's gone now =) went to xampp
 
Yeah I knew that, I just though it odd that Brogan's tut did not have the warning, yet mine had it, but it's gone now =) went to xampp

I don't use xampp or wamp, I use the same linux distro as on my server. In this way, I guarantee that the backups of the database and files on the server will behave exactly locally, and what I test locally will fit perfectly on the online server.

Of course, local SSL certificates are always self-signed, and therefore the browser will give me that "not secure" message.
 
Thanks for this tutorial.

I stuck at xf installation step. I go to localhost/xf and getting

XenForo 2.2.8 Patch 1 - Errors​

The following errors occurred while verifying that your server can run XenForo:
The required PHP extension GD could not be found. Please ask your host to install this extension.
Please correct these errors and try again.

So how to enable that GD extension?
 
Back
Top Bottom