You are viewing a single comment's thread from:

RE: CentOS7 Apache file upload 안되는 문제

in #apache6 years ago

CetnOS7 에서 SELinux 보안 때문에, 아파치에서 쓰기가 안되는 문제가 발생한다.
(윈도우에서 라라벨 작업 후에 리눅스로 옮겼더니 안되는 현상 발생)

#해결 방법 설명#

: 권한 설정
sudo chown apache:apache -R /var/www/laravel

: Allow write to specific directories
sudo chcon -t httpd_sys_content_t /var/www/laravel-R
sudo chcon -t httpd_sys_rw_content_t /var/www/laravel/storage -R

Coin Marketplace

STEEM 0.16
TRX 0.15
JST 0.030
BTC 59218.43
ETH 2534.91
USDT 1.00
SBD 2.44