[K12OSN] file upload with php (squirrelmail and other)

Scott Sherrill scott at hancock.k12.mi.us
Tue Jun 22 15:25:33 UTC 2004


Could not move/copy file. File not attached
is what SM reports back.



>What's the exact error your getting?
>
>-----Original Message-----
>From: k12osn-bounces at redhat.com [mailto:k12osn-bounces at redhat.com] On Behalf
>Of Scott Sherrill
>Sent: Tuesday, June 22, 2004 7:17 AM
>To: k12osn at redhat.com
>Subject: [K12OSN] file upload with php (squirrelmail and other)
>
>this one is pulling out my hair.
>
>Working with file uploads and php --- in part with SquirrelMail and
>also on a custom script I am writing another server.
>
>The SquirrelMail server is running RH9, Apache 2.0.40 and php 4.2.2.
>When a user goes to upload a file as an attachment SM reports back
>Cannot move/copy file.
>
>The SM wiki
>(http://www.squirrelmail.org/wiki/en_US/DirectoryPermissionsProblem )
>talks about permissions and modifying the php.ini.  Both I am pretty
>sure I have set right.
>
>In /etc/php.ini I have file_upload = On and in
>/etc/squirrelmail/config.php I have the attachment directory set to
>/var/spool/squirrelmail/attach/ which is owned and writeable by
>apache.
>
>Still doesn't work.
>
>I put SM on the back burner for awhile, actually I had forgotten
>about it, until just recently when I started working on another
>program (mini photo gallery with file uploads and php).
>
>Different server this one is a RH AS3 box running Apache 2.0.46 and php
>4.3.2
>Checked /etc/php.ini file_upload = On  I've tried changing the file
>upload location to /tmp and also /tmp/uploads.
>
>I've tried perms on /tmp/uploads of 777 and ownership to apache.
>
>in this case no error, things just don't happen.
>
>I've restarted httpd after every change to php.ini.
>
>I am befuddled and sure I am missing something stupid and obvious,
>but I can't see it.
>
>I appreciate any suggestions -
>
>
>Scott
>
>
>_______________________________________________
>K12OSN mailing list
>K12OSN at redhat.com
>https://www.redhat.com/mailman/listinfo/k12osn
>For more info see <http://www.k12os.org>
>
>
>_______________________________________________
>K12OSN mailing list
>K12OSN at redhat.com
>https://www.redhat.com/mailman/listinfo/k12osn
>For more info see <http://www.k12os.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/k12osn/attachments/20040622/54fba064/attachment.htm>


More information about the K12OSN mailing list