To my mind though this should just be treated as a temporary work around bearing in mind that mprotect does actually serve a purpose and I'm assuming your server is pointed at the world so all the more reason to find a permanent fix.