Author Topic: PHP fopen doesn`t work in domains or /usr/local/apache/htdocs/.  (Read 13197 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
PHP fopen doesn`t work in domains or /usr/local/apache/htdocs/.
« on: September 19, 2014, 07:04:35 AM »
i ddisable SElinux,  give file permission 777  and upload files from each user ftp account
still doesn`t work  can`t create files for W mode please help

Offline
*
Re: PHP fopen doesn`t work in domains or /usr/local/apache/htdocs/.
« Reply #1 on: September 19, 2014, 07:42:44 AM »
When i try 777 i get error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, info@rgbimage.com.au and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

I only can make it 754

« Last Edit: September 19, 2014, 07:46:25 AM by teknohan »

Offline
*
Re: PHP fopen doesn`t work in domains or /usr/local/apache/htdocs/.
« Reply #2 on: September 19, 2014, 08:47:40 AM »
solved by myself thanks to google and my 3 hours

Offline
*
Re: PHP fopen doesn`t work in domains or /usr/local/apache/htdocs/.
« Reply #3 on: September 19, 2014, 09:00:23 AM »
777 mod problem still continue when i change mod to 777 i got server internal error  :(

Offline
*
Re: PHP fopen doesn`t work in domains or /usr/local/apache/htdocs/.
« Reply #4 on: September 19, 2014, 12:29:24 PM »
please read instructions on the forum, you have also file permission fixer in the panel if you do not know how to set permissions.

http://forum.centos-webpanel.com/php/suphp-500-internal-server-error/

/usr/local/apache/htdocs must have nobody:nobody ownership.
« Last Edit: September 19, 2014, 01:07:56 PM by Administrator »
AntiDDoS Protection (web + mail)
http://centos-webpanel.com/website-ddos-protection-proxy

Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp


Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Do you need Fast and FREE Support included for your CWP linux server?
http://centos-webpanel.com/noc-partner-list
Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
*
Re: PHP fopen doesn`t work in domains or /usr/local/apache/htdocs/.
« Reply #5 on: September 22, 2014, 02:54:08 AM »
thanks used fix user file permission tool and problem was i was using root sftp to give permission to other users