JR Swartz wrote: > > I've recently run into a problem in my Fedora Core 10 > webserver/mailserver. > When attaching files in SquirrelMail the following error is in the httpd > log: > > [Thu Jun 09 13:50:06 2011] [error] [client 192.168.1.11] PHP Warning: > Unknown: open_basedir restriction in effect. File(/tmp) is not within the > > allowed path(s): (/var/www/html/) in Unknown on line 0, referer: > http://mail.nc.com/src/compose.php > > [Thu Jun 09 13:50:06 2011] [error] [client 192.168.1.11] PHP Warning: > File > upload error - unable to create a temporary file in Unknown on line 0 > > , referer: http://mail.nc.com/src/compose.php > > > > > > I have my open_basedir set in php.ini to: open_basedir = "/var/www/html/" > > I have my upload_tmp_dir set in php.ini to: upload_tmp_dir = > /var/www/html/tmp > > > > The permissions on the /var/www/html/tmp dir is set to 777 > > > > What am I missing? > First stop scanning your outgoing email with mailscanner or make sure that it does not tag emails and does not put useless ads. Then check your SquirrelMail configuration. If attachment directory is not set to /tmp, test your PHP configuration (http://www.squirrelmail.org/wiki/TestPHPSettings). It does not matter what you have in php.ini, when you forget to apply it or have overrides in other locations. -- View this message in context: http://old.nabble.com/File-%28-tmp%29-not-within-the-allowed-path%28s%29-%7BScanned%7D-tp31818116p31819929.html Sent from the squirrelmail-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ----- squirrelmail-users mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx List archives: http://news.gmane.org/gmane.mail.squirrelmail.user List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users