On Thu, Jun 9, 2011 at 1:00 PM, JR Swartz <jrswartz@xxxxxxxxx> 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.ncswi.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.ncswi.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? Maybe you could start with showing the path to SquirrelMail on your server. You could also search for this issue using a normal web search since it's not a SquirrelMail issue, but rather a PHP setup issue. -- Paul Lesniewski SquirrelMail Team Please support Open Source Software by donating to SquirrelMail! http://squirrelmail.org/donate_paul_lesniewski.php ------------------------------------------------------------------------------ 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