Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have just recently found out that suhosin makes sure not to execute php files with file permissions more open than 755. However, I need to temporarily allow someone else FTP access to some files, so I'd need to chmod these to 777. That unfortunately makes the files non-executable by my PHP runtime.

Is there a way to bypass this check (temporarily)?

share|improve this question

1 Answer 1

Specify suhosin.executor.include.allow_writable_files=1 in your suhosin.ini or php.ini, then reload your webserver / php daemon

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.