รบกวนดู Error ครับ

Error แบบนี้ รบกวนเพื่อน ๆ เคยเจอไหมครับ และ เพื่อน ๆ แก้ไข อย่างไรครับ

Warning: session_start() [function.session-start]: open(/tmp/sess_d53d0224a96dff2b693fb9ccf940300e, O_RDWR) failed: Read-only file system (30) in /home/xxxx/domains/xxxxxx.com/public_html/lib/lib_util.php on line 1

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/xxxx/domains/xxxxx/public_html/lib/lib_util.php:1) in /home/xxxxxx/domains/xxxxxx/public_html/lib/lib_util.php on line 1

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/xxxxxx/domains/xxxxxxxx/public_html/lib/lib_util.php:1) in /home/xxxxxxx/domains/xxxxxxx/public_html/lib/lib_util.php on line 1

ขอบคุณครับ

ไม่เคยเจอนะครับ แต่เหมือนมันบอกว่า /tmp ตัว file ดังกล่าวถูกป้องกันไม่ให้สามารถเขียนได้นะครับ
ลองกำหนด permission ว่าถูกต้องหรือเปล่า

Read-only file system

อาการนี้ ถ้าก่อนหน้านี้ไม่เคยเป็นแสดงว่า filesystem ของเครื่อง server มีปัญหาแล้วล่ะครับ

เหอๆ sysadmin ไม่ได้แก้ไฟล์ php.ini ตรง /tmp ครับ
ไปหา /tmp แล้ว uncomment นั้นออก… ระบุ path temp ให้ถูกต้องก็จบ

ปกติ /tmp เป็น 777 อยู่แล้วครับ

นอกจาก filesystem ของเครื่องจะมีปัญหามากกว่าครับ แบบที่น้องไอซ์บอก
หรือ admin ทำอะไรแผลง เนื่องจากไปอ่านหนังสือ หรือ อ่านตาม web เจอว่า 777 มันอันตราย
ลอง ls -l / ดูครับ

ลองเขียน

<? echo phpinfo(); ?>

เช็คว่า tmp มีเปิดหรือเปล่า หากไม่ได้เปิดจะเขียน session file ไม่ได้ และ upload file ไม่ได้ด้วยครับ

temp จะอยู่ที่ folder ไหนก็ได้แล้วแต่เราจะกำหนดครับ