Adam Kiss Posted March 2, 2016 Share Posted March 2, 2016 You know, I've encountered Suhosin three times on various shared hostings so far — and it was always interfering with running websites we put there. "Suhosin, premiere tool for misconfiguration of PHP." 2 Link to comment Share on other sites More sharing options...
Ovi_S Posted March 3, 2016 Author Share Posted March 3, 2016 WOW, that was it, suhosin was the culprit. I recompiled Apache with the same exact settings as last time except I removed suhosin. Everything just works now (just like the Processwire I know and love) Image uploads now work even while using the deprecated CropImage module on an 2.7 install (upgraded from 2.3), inside a repeater, which was previously simply unthinkable. (not using this in production, just doing an upgrade on an old site and thought to check). The server is even a lot more responsive, the time to first byte decreased from 2-3 seconds to 0.6 seconds, and that was another problem I was trying to solve. Suhosin is now officially a plague upon humanity as far as I am concerned, I can't believe I didn't know about its effects. Thanks so, so, much Ryan and everyone else who helped! So happy I could dance right now Now, about that payment? These permissions are usually considered to be far too open. It's certainly possible suhosin is having a problem with this. Though since you are on a dedicated VPS, maybe it doesn't matter much for your situation, but perhaps it does to Suhosin. Since you are using suphp, you can actually lock those permissions down quite far... the files likely don't even need to be readable outside of the user account. Whereas, your current permissions have them globally readable and writable to everyone (even if everyone is just you, since it's a dedicated environment, it's still likely to trip security-related things like Suhosin). I normally run much tighter permissions, that website is not a live one, I just used it to try and debug the issue. It had those permissions left over form when I had a different PHP handler that required them and I left them like that to try an rule out any permissions issues. The suhosin issue was happening even on 640 permissions. 6 Link to comment Share on other sites More sharing options...
ryan Posted March 3, 2016 Share Posted March 3, 2016 Thanks for reporting back. Glad to hear that was it and that everything is working now! 1 Link to comment Share on other sites More sharing options...
kongondo Posted March 3, 2016 Share Posted March 3, 2016 @Ovi_S, Could you please mark your other two threads solved, thanks. Maybe also decide which of your three forum handles you want to keep 3 Link to comment Share on other sites More sharing options...
Ovi_S Posted March 4, 2016 Author Share Posted March 4, 2016 (edited) @Ovi_S, Could you please mark your other two threads solved, thanks. Done, I linked to this thread on both of them. Maybe also decide which of your three forum handles you want to keep Weird how I got to that. Forgot I had signed up with Facebook the first time and couldn't get into the account, so I guess I created another one. And the third one is using the company email - it's the one on which I bought all the paid modules - I have my licenses linked to it. Obviously I want to keep the last one but won't be posting on it (except on the VIP support section which only it has access to). I will go back to only posting from my original account. As for the second one (the one used to create this thread) - is it ok to delete it? Edited March 4, 2016 by Ovi_S Link to comment Share on other sites More sharing options...
LostKobrakai Posted March 4, 2016 Share Posted March 4, 2016 As for the second one (the one used to create this thread) - is it ok to delete it? It's your account. Nobody will prevent you from deleting it 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now