knowj Posted August 19, 2008 Share Posted August 19, 2008 Currently on our web server when the GD image library creates an image it contains the group and file permissions of apache rather than the current site/ftp user. This causes issues when it comes to downloading the site to local or doing anything involving moving/deleting the images. How would I go about setting up gd2/php/apache to create images as the site user/folder user rather than apache? Is this a simple process or would it require recompiling php/apache? Setup: php5.1.2, Fedora Core 6 with Plesk 8.2 (don't know if plesk has any impact on the changes that can be made and keeping its full functionality). Link to comment https://forums.phpfreaks.com/topic/120340-file-permissions-gd-library/ Share on other sites More sharing options...
trq Posted August 19, 2008 Share Posted August 19, 2008 You will need to look into suPHP. Link to comment https://forums.phpfreaks.com/topic/120340-file-permissions-gd-library/#findComment-620037 Share on other sites More sharing options...
knowj Posted August 19, 2008 Author Share Posted August 19, 2008 thanks for the quick reply. Do you know if this apache module stable enough to use within a commercial environment? Would this be a method large hosting companies use or will they have their own custom setups? Link to comment https://forums.phpfreaks.com/topic/120340-file-permissions-gd-library/#findComment-620054 Share on other sites More sharing options...
zq29 Posted August 21, 2008 Share Posted August 21, 2008 thanks for the quick reply. Do you know if this apache module stable enough to use within a commercial environment? Would this be a method large hosting companies use or will they have their own custom setups? We're running suPHP on our (my company, not PHPFreaks) production servers - No problems. Link to comment https://forums.phpfreaks.com/topic/120340-file-permissions-gd-library/#findComment-622060 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.