Ask Your Question

Apache Permission

asked 2013-08-19 11:32:53 -0500

Eugene gravatar image

updated 2013-08-19 19:05:00 -0500

FranciscoD_ gravatar image

Please can anyone help me with how to give php and apache permission to upload files and to write files am using federo 19 and am quite new to linux. Thanks.

edit retag flag offensive close merge delete


You question is too unclear. Please be more specific.

baptistemm gravatar imagebaptistemm ( 2013-08-19 15:08:38 -0500 )edit

Please do not give your email out on the forum. No one is to send you an email with the solution, the solution will be posted here.

FranciscoD_ gravatar imageFranciscoD_ ( 2013-08-19 18:59:18 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2013-08-19 19:00:59 -0500

FranciscoD_ gravatar image

updated 2013-08-19 19:04:19 -0500

Apache needs write permissions to the directories (and all it's parent directories) that you intend to use as upload locations. Added reading:

man chmod

Info from the fedora documentation project:

There is plenty of documentation on this over the internet too.

edit flag offensive delete link more

answered 2013-09-03 16:07:11 -0500

svein gravatar image

In addition to chmod, you should also look into SELinux to enable write access for httpd to your directories.

edit flag offensive delete link more

Question Tools


Asked: 2013-08-19 11:32:53 -0500

Seen: 376 times

Last updated: Sep 03 '13