Jump to content
View in the app

A better way to browse. Learn more.

The Uniform Server Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Can't Get Started w/Wordpress

Featured Replies

I have installed the UniServer. What a great idea, especially for people trying to develop web sites.

 

Anyhow, I get the server to work all right. PHPMyAdmin runs fine. But I simply cannot get WordPress to work. After copying over the files into the www directory, and configuring the "wp-config" file, etc. I simply cannot get WordPress to run. I have a feeling that things are getting hung up while trying to connect to the database.

 

If you are a WordPress user, the wp-config file reads:

 

define('DB_NAME', 'wordpress');

define('DB_USER', 'root');

define('DB_PASSWORD', 'wordpress');

define('DB_HOST', 'localhost');

 

Maybe there is a mistake here, but I can't even get the install.php file to run. Again, I think because of failing to connect to the database.

 

So here's my questions:

 

1. Can someone tell me a sure fire way to determine if I have a database connection problem?

 

2. If you have any experience running WordPress within UniServer, can you offer me tips regarding what I am doing wrong?

 

Thank you very much in advance.

 

Bob

Try replacing

define('DB_HOST', 'localhost');

With

define('DB_HOST', '127.0.0.1');

All the best

Ric ;)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.