Thử thêm cái coi lào
Aug 26

eAccelerator Cache Path

If your /temp is full, you will get this message on PhpMyAdmin:

Warning: session_write_close() [function.session-write-close]: SQLite: session write query failed: database is full in /usr/local/cpanel/base/3rdparty/phpMyAdmin/index.php on line 42

 Warning: session_write_close() [function.session-write-close]: Failed to write session data (sqlite). Please verify that the current setting of session.save_path is correct (/var/cpanel/userhomes/cpanelphpmyadmin/sessions/phpsess.sdb) in /usr/local/cpanel/base/3rdparty/phpMyAdmin/index.php on line 42

 Warning: Cannot modify header information - headers already sent by (output started at /usr/local/cpanel/base/3rdparty/phpMyAdmin/index.php:42) in /usr/local/cpanel/base/3rdparty/phpMyAdmin/index.php on line 99


You must clear your /tmp to fix this problem.

Code for display how much your folder using space:

#du -h –max-depth=1 -x

This code use to delete all file and folder:

#rm -fr

If your eAccelerator generate cache on /tmp, you must change it or it always full your /tmp.

For changing eAccelerator cache directory path you need to edit php.ini and change /tmp to /var/cache/tmp.

You can find php.ini on /usr/local/lib/php.ini  or you can search it using this code:

#whereis php.ini