Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Installing a php file on the server  (Read 3437 times)

0 Members and 1 Guest are viewing this topic.

shouvik

    Topic Starter


    Apprentice

  • Computer Hope - Always For Your Help
    Installing a php file on the server
    « on: September 25, 2006, 04:58:56 PM »
    [size=14]Hi all, :)

    I am looking for an instruction on how to install (or upload ???) a php file onto my server.

    A certain tutorial told that:

    your host will need to have PHP on their server.

    Another tutorial told that:

    Often when setting up PHP scripts on web hosting accounts you will see the requirement to set some files and directories to chmod 777.

    Now I am new to all this.

    Can you give a clear instruction (or,  a link where I canfind this) ??

    Thx.

    [/size]

    Rob Pomeroy



      Prodigy

    • Systems Architect
    • Thanked: 124
      • Me
    • Experience: Expert
    • OS: Other
    Re: Installing a php file on the server
    « Reply #1 on: September 26, 2006, 12:13:53 AM »
    Quote
    your host will need to have PHP on their server.
    This refers to the PHP script engine.  You will not be able to install it on your host's server; they either provide it as a service or they don't.  Ask 'em.
    Another tutorial told that:

    Quote
    Often when setting up PHP scripts on web hosting accounts you will see the requirement to set some files and directories to chmod 777.
    That is a Unix/Linux idea and relates to file permissions.  777 means that the owner of the file, the group owner, and everyone else, all have read, write and execute/change directory rights to the file or folder.  There aren't many cases where you'd need to set such permissions, and it leaves a fairly glaring security hole since if anyone can change a script, they can run any (dangerous) program on your server...

    Changing file/folder permissions is either done in your host's control panel, or through your FTP program, so it's impossible to give generic instructions.
    Only able to visit the forums sporadically, sorry.

    Geek & Dummy - honest news, reviews and howtos

    shouvik

      Topic Starter


      Apprentice

    • Computer Hope - Always For Your Help
      Re: Installing a php file on the server
      « Reply #2 on: September 28, 2006, 03:14:31 PM »
      Thank You. :D