Web Development
--
Questions
--
Followers
Top Experts
Error when running PHPMyAdmin (MAMP)
After using MAMP for over a year, I suddenly get the error when trying to run PHPMyAdmin:
Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly.
Have checked php_error.log The last lines are:
[22-Jan-2011 18:44:26] PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/Applications/MAMP/tmp/ph p) in Unknown on line 0
[22-Jan-2011 18:46:57] PHP Warning: session_start() [<a href='function.session-sta rt'>functi on.session -start</a> ]: open(/Applications/MAMP/tm p/php/sess _cc05e4eaf da929edae6 7de499df04 552b6851f8 9, O_RDWR) failed: No such file or directory (2) in /Applications/MAMP/bin/php MyAdmin/li braries/se ssion.inc. php on line 87
[22-Jan-2011 18:46:57] PHP Warning: Unknown: open(/Applications/MAMP/tm p/php/sess _cc05e4eaf da929edae6 7de499df04 552b6851f8 9, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
[22-Jan-2011 18:46:57] PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/Applications/MAMP/tmp/ph p) in Unknown on line 0
[22-Jan-2011 19:00:00] PHP Notice: Trying to get property of non-object in /Applications/MAMP/htdocs/ drupal/inc ludes/comm on.inc on line 906
[22-Jan-2011 19:00:00] PHP Notice: Trying to get property of non-object in /Applications/MAMP/htdocs/ drupal/inc ludes/comm on.inc on line 906
[22-Jan-2011 19:00:00] PHP Notice: Trying to get property of non-object in /Applications/MAMP/htdocs/ drupal/inc ludes/comm on.inc on line 906
in the Applications/MAMP/tmp/ directory there is no php directory, only eaccelerator and mysql directories.
How can I solve this problem?
Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly.
Have checked php_error.log The last lines are:
[22-Jan-2011 18:44:26] PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/Applications/MAMP/tmp/ph
[22-Jan-2011 18:46:57] PHP Warning: session_start() [<a href='function.session-sta
[22-Jan-2011 18:46:57] PHP Warning: Unknown: open(/Applications/MAMP/tm
[22-Jan-2011 18:46:57] PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/Applications/MAMP/tmp/ph
[22-Jan-2011 19:00:00] PHP Notice: Trying to get property of non-object in /Applications/MAMP/htdocs/
[22-Jan-2011 19:00:00] PHP Notice: Trying to get property of non-object in /Applications/MAMP/htdocs/
[22-Jan-2011 19:00:00] PHP Notice: Trying to get property of non-object in /Applications/MAMP/htdocs/
in the Applications/MAMP/tmp/ directory there is no php directory, only eaccelerator and mysql directories.
How can I solve this problem?
Zero AI Policy
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
ASKER CERTIFIED SOLUTION
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.
Hi Stephen,
Works perfectly (or seems to) when I just create the new php directory. Thanks so much.
Have not created the phpcore directory. Is this necessary?
Brian
Works perfectly (or seems to) when I just create the new php directory. Thanks so much.
Have not created the phpcore directory. Is this necessary?
Brian
It is only necessary if php (not your scripts, but php itself) dies unexpectedly. Even then, missing the coredump directory will be the least of MAMPs concerns at that point. I'd recommend you add it if only because it is part of the standard MAMP install, but don't worry about it too much.






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
Web Development
--
Questions
--
Followers
Top Experts
Web development includes all aspects of presenting content on intranets and the Internet, including delivery development, protocols, languages and standards, server software, browser clients, databases and multimedia generation.