Thursday, December 15, 2011

How to turn off php safe mode in .htaccess

I get this error message when uploading images:

Warning (2): copy() [function.copy]: SAFE MODE Restriction in effect.
The script whose uid is 10214 is not allowed to access /usr/local/psa/
home/vhosts/testsite.com/httpdocs/app/webroot/img/Practitioner/338
owned by uid 80 [APP/models/behaviors/image.php, line 307]

This is because safe mode is on. how can I set it off using
a .htaccess file?

Folder permissions are set to 0777
PLEASE HELP, THANKS IN ADVANCE!

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate