Skip to main content
Notice removed Reward existing answer by tony gil
Bounty Ended with Morgan Touverey Quilling's answer chosen by tony gil
Notice added Reward existing answer by tony gil
Bounty Started worth 50 reputation by tony gil

UPDATED FOR FURTHER CLARITY:

According to http://expressionengine.com/user_guide/installation/installation.html, it says:

For most Unix hosts the following is typical, but you may check with your your host to see if more restrictive permissions can be used to    allow PHP to write to files (666) and folders (777). On Windows servers the following will not apply, but you will need to ensure that the the files and folders are writable by ExpressionEngine. You may need to to contact your host for this.

Not sure what this means. I can change the specific files and folders to 666 and 777 respectively where I am the chown'er, but the above sounds like I need to allow PHP to do this too?

ORIGINAL QUESTION:

I need to ensure that PHP can write to specific files (666) and folders (777).

How do I do this?

UPDATED FOR FURTHER CLARITY:

According to http://expressionengine.com/user_guide/installation/installation.html, it says:

For most Unix hosts the following is typical, but you may check with your host to see if more restrictive permissions can be used to  allow PHP to write to files (666) and folders (777). On Windows servers the following will not apply, but you will need to ensure that the files and folders are writable by ExpressionEngine. You may need to contact your host for this.

Not sure what this means. I can change the specific files and folders to 666 and 777 respectively where I am the chown'er, but the above sounds like I need to allow PHP to do this too?

ORIGINAL QUESTION:

I need to ensure that PHP can write to specific files (666) and folders (777).

How do I do this?

UPDATED FOR FURTHER CLARITY:

According to http://expressionengine.com/user_guide/installation/installation.html, it says:

For most Unix hosts the following is typical, but you may check with your host to see if more restrictive permissions can be used to  allow PHP to write to files (666) and folders (777). On Windows servers the following will not apply, but you will need to ensure that the files and folders are writable by ExpressionEngine. You may need to contact your host for this.

Not sure what this means. I can change the specific files and folders to 666 and 777 respectively where I am the chown'er, but the above sounds like I need to allow PHP to do this too?

ORIGINAL QUESTION:

I need to ensure that PHP can write to specific files (666) and folders (777).

How do I do this?

added 725 characters in body
Source Link
oshirowanen
  • 2.7k
  • 15
  • 50
  • 70

UPDATED FOR FURTHER CLARITY:

According to http://expressionengine.com/user_guide/installation/installation.html, it says:

For most Unix hosts the following is typical, but you may check with your host to see if more restrictive permissions can be used to allow PHP to write to files (666) and folders (777). On Windows servers the following will not apply, but you will need to ensure that the files and folders are writable by ExpressionEngine. You may need to contact your host for this.

Not sure what this means. I can change the specific files and folders to 666 and 777 respectively where I am the chown'er, but the above sounds like I need to allow PHP to do this too?

ORIGINAL QUESTION:

I need to ensure that PHP can write to specific files (666) and folders (777).

How do I do this?

I need to ensure that PHP can write to specific files (666) and folders (777).

How do I do this?

UPDATED FOR FURTHER CLARITY:

According to http://expressionengine.com/user_guide/installation/installation.html, it says:

For most Unix hosts the following is typical, but you may check with your host to see if more restrictive permissions can be used to allow PHP to write to files (666) and folders (777). On Windows servers the following will not apply, but you will need to ensure that the files and folders are writable by ExpressionEngine. You may need to contact your host for this.

Not sure what this means. I can change the specific files and folders to 666 and 777 respectively where I am the chown'er, but the above sounds like I need to allow PHP to do this too?

ORIGINAL QUESTION:

I need to ensure that PHP can write to specific files (666) and folders (777).

How do I do this?

Source Link
oshirowanen
  • 2.7k
  • 15
  • 50
  • 70

Giving PHP permission to write to files and folders

I need to ensure that PHP can write to specific files (666) and folders (777).

How do I do this?