WordPress is not a company but a piece of software. You are currently trying to install it locally on your computer. There are, of course, companies that can help you with this. WP Engine has created such a tool with Local or LocalWP, which you are apparently now using.
However, based on your wording, I am unsure: have you now got WordPress running locally?
I think I now have it installed. How do I run it locally?
Unfortunately, you didn’t write what you ultimately installed. When using XAMPP, calling up http://localhost should bring up the website. I think it’s similar with localwp; there should be a link somewhere.
Doing that brings up a Welcome t o zamp site
Zamp? Do you mean XAMPP?
If you want to use localwp, you probably can’t have XAMPP activated at the same time. Deactivate XAMPP so that you can access localwp.
However, if you want to use XAMPP, you may have entered the path incorrectly. If you have installed WordPress in a subdirectory such as wordpress, the path would actually be http://localhost/wordpress/
I am just trying to use wordpress locally. I don’t care about the rest of it.
To be honest, I don’t know how else to help you with this. Your questions and requests for advice are met with strange answers. If you want to use WordPress locally, follow the instructions you posted above and ignore everything else. The instructions are correct and appropriate, but you have to follow them exactly for it to work.
Now my problem is I get this whenever I try to open the site or WP Admin:
Hmmm… can’t reach this page
localhost refused to connect.
Try:
ERR_CONNECTION_REFUSED
Well, I managed to fix my issue. Took me three days, completely dissecting the php code after enabling debugging options and still not fixing the issue. I finally pieced together some php database connection snippets to create a small testcase which still failed, then caught a break and googled the error message, wish I still had it…. anyway, my reason for posting is that I have two actually three suggestions:
1) add a comment to wp-config-sample.php for:
/** Database hostname */
define( ‘DB_HOST’, ‘localhost’ );
Something like:
/** the format for DB_HOST can also contain either a port or socket or both **/
/** the format for both is: ‘{hostname}:{port}:/path/to/socket’ **/
2) After you enable debugging in wp-config.php and when you print the message:
Include something similar to:
The connection request below processed your configuration data as follows:
mysqli_real_connect( {DBhandle} , host, dbuser, dbpassword, database, port, socket, client_flags );
as host=’xxx’, dbuser=’xxxx’, dbpassword=’xxxxx’, database=’xxxxx’ , port=’xxxx’ , socket=’xxxxx’
I did noticed that your passing in null for the database and I had originally thought that might be the issue as I had not granted usage to my mariadb user but my problem turned out to be opensuse appears to include SELinux by default as enforcing https://github.com/SELinuxProject/selinux/wiki/Fix-Policy-Problems once I ran setenforce 0, it was like a miracle as everything worked.. I still need to restore all my ‘damaged’ by extracting all the files to get a fresh install, but this brings me to my third suggestion.
3) When you suggest people to check and verify their settings for including the username and password, you should also suggest that they verify that there is no firewall or SELinux security profile which could also block function.
Thanks for letting me vent….
Looks like I can’t remove my post, but I didn’t mean to hijack this thread, But on the positive note, if you’re self hosting you may have the same issue…. run:
getenforce
and if it report Enforcing, run:
sudo setenforce 0
and see if that resolved the issue.