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.

Migrate from 4.2 to 5.5 - PHP / MYSQL stuff won't load

Featured Replies

Hi all,

 

Simple enough query here, I moved from 4.2 on Windows XP to Uniform server 5.5 when I installed Windows 7 this week. When I try to use my PHP/MySQL page it just consantly says loading, but when I use 4.2 on Windows 7 it works fine, I'd like to upgrade - can anybody tell me what's happening here.

 

Oh , normal pages and directories seem to load no problem at all, but two of my sites that I was working on won't load at all. the browser just says "waiting for localhost"

 

Simple PHP code like this works fine:

<?php
echo 5+6;
?>

 

but I tried to include my functions.php and it took something like 60 seconds to fully load the page. am I doing something wrong here??

In your scripts that access MySQL for dbhost replace “localhost” with 127.0.0.1

 

I cant see why your include functions.php script takes that length of time to load.

 

All the best

Ric :)

  • Author

In your scripts that access MySQL for dbhost replace “localhost” with 127.0.0.1

 

I cant see why your include functions.php script takes that length of time to load.

 

All the best

Ric :)

 

Sorry I did mean to say my config.php, which loads functions.php but also has all the settings in it for Database server, so I'll change from localhost to 127.0.0.1 now and that should sort it.

 

Thanks.

  • Author

Yes that solved it perfectly. Thanks Ric !!!

 

is it a DNS issue or something ?

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.