LAMP site to become WIMP

Discussion in 'Site Programming, Development and Design' started by kusomart, Jan 2, 2013.

  1. Hi,

    I have got a site running on Linux host (LAMP).

    I want to host it here instead.

    The HTML is HTML 5, and PHP latest version.

    Q;

    1
    MySQL is the database, could it be MariaDB instead?

    2
    What shall I write on the PHP/HTML pages to make it work on Windows instead? (Connection string... what is that string and where should I put it)

    I understand it as it is a work done in a minute or so to have the site FTP and running after this amended connection string. If I am wrong, what else is to be done?

    Thanks a million

    MK
     
  2. Elshadriel

    Elshadriel Winhost Staff

    I'm afraid we don't support MariaDB. Regarding connecting to your MySQL database with PHP, you can review this sample code:

    http://support.Winhost.com/KB/a834/how-to-connect-to-mysql-with-php.aspx

    Here are instructions on how to find the MySQL connection string information to your database:

    1) Log into the Winhost Control Panel at https://cp.Winhost.com
    2) Click on the Sites tab.
    3) Click on the Manage link next to the site you want to manage.
    4) Click on the MySQL button.
    5) Click on the Manage link next to the database you want to manage.

    The connection string information will appear throughout the page. If you need a sample format (syntax), please go to this link:

    http://www.connectionstrings.com/mysql
     
    Last edited by a moderator: Oct 14, 2015

Share This Page