Windows PHP interface with Linux box

Discussion in 'Programming/Scripts' started by rocket1356, Jun 7, 2007.

  1. rocket1356

    rocket1356 New Member

    I plan to create a similar installation script just like the install for vbulletin. I plan to make a windows php web-based installation script to interface with a linux box. Basically this web-based installer will connect to a linux box, and read/write to the configuration files from it. I want to let the user change the configuration settings of the linux box from web-based installer in a windows environment.

    There are several ways to approach this problem, but I do not know if it would work, so please help me out. Tell me which is a good approach.

    1. Create a windows web-based script that ask for the settings then it writes to a temp file. Then connect to the linux box and transfer files over via scp command? How would I go about using what php command to connect into a linux server?

    2. Create a windows web-based script that connects to the linux box. Opens and read information from the configuration files and display it on the screen(windows). It ask the user to make changes from the script then write back to the linux box. What php command I use connect into the linux box and to open each files(configuration) and read/write to it in the linux server?

    The reason for the web base installer is because some user do not know how to use the LINUX OS and do not know how to configure the LINUX OS settings. Please let me know if you have any suggestion.

  2. rocket1356

    rocket1356 New Member

    I want to built a windows php website---> connect to the linux box--->read all settings value from the .ini file->display it into the php website->user can then change the values->save the .ini file base on the user modification close the file-->for back up of settings also save the values into mySQL.

    Anyone knows how to approach this problem?
  3. falko

    falko Super Moderator ISPConfig Developer

    Why don't you install Webmin on the Linux box?
  4. rocket1356

    rocket1356 New Member

    I can't install any program other than necessary files because the customer site is running LINUX on a 512mb flash. There are a bunch of LINUX machine running on a 512mb flash drive.

Share This Page