Page is a not externally linkable
- Code, Content, and Presentation
-- PHP Server Side Scripting
---- Unable to dynamically create files on the server using PHP
bedlam - 6:04 pm on Oct 6, 2009 (gmt 0)
Well, configuring suexec is probably outside my area of expertise, but for the simple project of making-the-directory-writable-by-php-scripts, you can do this:
Run "chmod 777 directory-name" (where directory-name is the name of your directory)
Write a file to that directory with php
In a shell, run "ls -hal" to find out the group name of the resulting file
Run "chgrp -R group-name directory-name" (where group name is the name you discovered just above)
Run "chmod 775 directory-name" (you may need to do the same on directories inside this one to make them writeable)
-- b
Thread source:: http://www.webmasterworld.com/php/4001911.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com