I started XAMPP today and tried to open phpMyAdmin (http://localhost/phpmyadmin/) in my browser in order to do some database management. Unfortunately I was presented with the following error message :
cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly
After playing around a bit, managed to figure out that there was a problem with the way PHP sessions are saved. Because of new security measurements in the Mac OS Leopard operating system, there was no way for PHP to save sessions. So I edited the PHP configuration file and uncommented the line which specifies the path where sessions logs are saved. Here comes the solution. This is for Mac OS X.
Open up "/Applications/xampp/etc/php.ini" with Textedit or any other text editor for that matter. Search for the phrase "session.save_path" or simply just go immediately to line #839 where this is located. You’ll see :
Now uncomment it by making it :
And that’s it! Restart XAMPP by clicking the "Restart" button. You really just need to restart PHP for that matter so that the new configuration values can be loaded. Good luck!








January 6th, 2009 at 10:30 am
Many thanks for the solution. Saved an anxious few moments!
February 11th, 2009 at 12:10 pm
Interestingly enough, I was getting the same error
>>cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly
with XAMPP in OSX 10.4 when trying to access phpmyadmin. Line #839 was not commented for me, and when I commented it out phpmyadmin opened successfully. Thanks for the tip, as partially inadvertent as it might have been!
December 14th, 2009 at 2:43 pm
Thank you for posting the solution! I came upon the same problem and needed a fix for it.
February 25th, 2010 at 6:08 am
Thank you for the solution! I already had this line uncommented. What I did to solve the issue is that I deleted ALL files from \tmp folder and it solved the problem
July 7th, 2010 at 9:59 am
Alternately, you can just remove the content under the tmp/ folder.
That will fix your problem as well – no need to modify the php.ini file if the “session.save_path” line is not a comment.
September 5th, 2010 at 8:28 am
We entered to a program as Bayilik Franchise Software. This infos gave help us for improve our program. We will send our program for your recommend.
March 13th, 2011 at 9:00 am
Please can you proffer solution to this error while trying to run an application “Your sessions cannot be saved to “/tmp”
Please make sure that directory is writable by the webserver
This can be edited in “config.php” : session_save_path
Smarty cannot write to “/tmp”
Please make sure that directory is writable by the webserver
This can be edited in “config.php” : template_cache_dir”
July 8th, 2011 at 2:03 pm
The additional features for working with linked tables have been deactivated. To find out why click here.
$cfg['Servers'][$i]['tracking'] … not OK [ Documentation ]
Tracking: Disabled
July 8th, 2011 at 2:04 pm
The additional features for working with linked tables have been deactivated. To find out why click here.
$cfg['Servers'][$i]['tracking'] … not OK [ Documentation ]
Tracking: Disabled
July 8th, 2011 at 2:05 pm
problem in phpmyadmin in istalling joomla