Maze Posted October 11, 2014 Share Posted October 11, 2014 i run several wordpress on domains - and wthin the wordpress i have a plugin that allows uploads of images -within a certain pluginthe interesting thing: image upload is - sometimes possible and sometinmes impossible:see here the circumstances -PHP Version : 5.3.28PHP Safe Mode : Onimage upload is impossible -and on the same server - a second vhostPHP Version : 5.3.28PHP Safe Mode : offimage upload is possiblewhy is this so - does it have to do with the safe-mode - Quote Link to comment Share on other sites More sharing options...
QuickOldCar Posted October 11, 2014 Share Posted October 11, 2014 the interesting thing: image upload is - sometimes possible and sometinmes impossible: Possibly not a safe mode issue, maybe file upload size limit,timeout or other. safe mode is deprecated version 5.30 and gone in 5.4+. Warning This feature has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 5.4.0. It was an attempt to make shared servers more secure, but didn't work so well and caused permission issues. It will make files belonging to the server that your scripts can't do anything with. The correct way is to set profiles in the operating system. Why not just turn it off? My suggestion is to compare your php.ini settings and make them match the one that works. Hosts should be updating php to somewhere near the latest php versions, if not then find a host that does. PHP is up to version 5.6.1 now, lots of changes and even missing out some new features. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.