Auto install script

Discussion in 'Programming' started by curiousalias, Feb 4, 2009.

  1. #1
    Is there a software of some sort that you can use to try and make a website script auto install to the server. For ex. most php script packages you can download to install on your server has that feature where, all you have to do is upload all the files to the webserver and then point to the install.php file and it will walk you through an installation. Reason I need this is because I have a script that I will be needing to install to many webservers and its a pain in the butt editing each file manually to change information such as mysql database information, usernames, passwords, etc......
     
    curiousalias, Feb 4, 2009 IP
  2. Asus-Games

    Asus-Games Peon

    Messages:
    582
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I could build you an installer for around $30.00, mabe a little more. It's pritty simple ( enter the database info, hit submit, save the info entered into config.php, insert the sql into the database, display done and say to delete the install file )
     
    Asus-Games, Feb 4, 2009 IP
  3. crivion

    crivion Notable Member

    Messages:
    1,669
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    210
    Digital Goods:
    3
    #3
    Check functions to write to file fwrite(), fopen() and others or pm me will do for 10$
     
    crivion, Feb 5, 2009 IP
  4. rohan_shenoy

    rohan_shenoy Active Member

    Messages:
    441
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    60
    #4
    1. Present the user with a form to fill up his database connection details. Once these are submitted by the user, verify them and write to configuration file using functions such as fopen(), fwrite(), etc.
    2. In the installer package, also include a SQL file. Now simply run the SQL queries from it. This part could be a bit tricky through.
     
    rohan_shenoy, Feb 5, 2009 IP