1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Question please help!

Discussion in 'Web Hosting' started by AbigForum, Nov 29, 2018.

  1. #1
    Hello

    I have my own website mafia game.

    when i used the shared hosting i can install the install.php file and the game works fine.
    but when i use the VPS hosting it doesnt work it keep saying that it cant create tables on the database.
     
    AbigForum, Nov 29, 2018 IP
  2. RHS-Chris

    RHS-Chris Well-Known Member

    Messages:
    1,007
    Likes Received:
    35
    Best Answers:
    10
    Trophy Points:
    150
    #2
    Good Day,

    You will need to validate that the database connection details are correct in the configuration file for the site (on the VPS). You will also need to ensure that the MySQL user has the rights to create tables.

    Regards,
    Chris
     
    RHS-Chris, Nov 29, 2018 IP
  3. CenTex Hosting

    CenTex Hosting Member

    Messages:
    70
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    33
    #3
    have you reached out to the host with the error that you have and see if they can fix it for you?
     
    CenTex Hosting, Dec 2, 2018 IP
  4. AbigForum

    AbigForum Greenhorn

    Messages:
    16
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    21
    #4
    I did they could fix it. i have no ideal why.
    but then i upload my script to the VPS host the db cant create tanles and wont save any of the info when i use the install.php file.
     
    AbigForum, Dec 3, 2018 IP
  5. AlphaNine_Vini

    AlphaNine_Vini Active Member

    Messages:
    218
    Likes Received:
    10
    Best Answers:
    1
    Trophy Points:
    88
    #5
    IS the php version is correct as per the script requirement or Mysql server version on your VPS ?
     
    AlphaNine_Vini, Dec 4, 2018 IP
  6. hostechsupport

    hostechsupport Well-Known Member

    Messages:
    413
    Likes Received:
    23
    Best Answers:
    7
    Trophy Points:
    138
    #6
    Update your server mysql version and php version to latest and check database configurations of your server are correct or not.
     
    hostechsupport, Dec 7, 2018 IP
  7. AbigForum

    AbigForum Greenhorn

    Messages:
    16
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    21
    #7
    I dont know if my php is version is correct but what can i do??
    i wnt to run the cron jobs every min
     
    AbigForum, Dec 10, 2018 IP
  8. hostechsupport

    hostechsupport Well-Known Member

    Messages:
    413
    Likes Received:
    23
    Best Answers:
    7
    Trophy Points:
    138
    #8
    If you're using cpanel, then you can follow these steps:
    1. Go to cpanel
    2. Login with your credentials
    3. Below the general information on the right panel, go to server information
    4. Here you can see the php version

    You can also see the php version using the php -v command
     
    hostechsupport, Dec 10, 2018 IP
  9. AbigForum

    AbigForum Greenhorn

    Messages:
    16
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    21
    #9
    PHP Version 5.6.38 now how can i tell if this version will work on the VPS server
     
    AbigForum, Dec 11, 2018 IP