1.

Solve : Installing a php file on the server?

Answer»

[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]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.Thank You.


Discussion

No Comment Found