phpMyAdmin警告(设置)

I have problem setting up phpmyadmin on my mac. I am quite new here and I will be greatful if someone could give me a hand.

http://www.coolestguyplanettech.com/installing-phpmyadmin-on-mac-osx-10-7-lion/

I have followed tutorial from that link and everything went fine till configuration.

In Firefox I cannot open phpmyadmin setup link, it gives me big error as from image...

While in Chrome and Safari if I try to login a few times with unexisting username and password, I can access setup. But then I get different kind of errors:

Warning: Unknown: open(/var/folders/lt/8_h20skn5654p70bncx05d3h0000gn/T/sess_07ee21d2fa014a365d748382eaf8d2d6c6862893, O_RDWR) 
    failed: Permission denied (13) in Unknown on line 0

Warning: Unknown: Failed to write session data (files). Please verify that 
    the current setting of session.save_path is correct () in Unknown on line 0

In tutorial it says that I have to make "New server". When I click there and type my password (same as one for SQL). It cannot save the server. Just redirect me back to Basic settings from authentication.

Please help I am confused...

ScreenShot of Error: ScreenShot Error #1

Error that I have mentioned that appear in chrome is actually when I try to login a few times with ofc unexisting username and password. Then I get access to setup with other two errors.

no desc

Other screenshots: no desc

no desc

P.S. If you need logs I will gladly provide them, if you tell me how! Cheers.

Its basically saying PHP is not allowed to write to the directory that sessions are saved to.

You could do one of a few things:

Change the session save path in your php.ini

session.save_path = /tmp

If this is just a development machine you set it some where else like

session.save_path = /users/php/sessions

And then chmod 777 that directory.

See this page for more information: http://php.net/manual/en/session.configuration.php#ini.session.save-path

Otherwise you could set a new session.save_handler. This is a little bit harder so I probably wouldn't go down that road.

These page will give you information on that though:

And finally you could just allow the PHP user to access the path its trying to.

I assume you would need to do something like:

sudo mkdir -p /var/folders/lt/8_h20skn5654p70bncx05d3h0000gn/T/
sudo chmod 777 /var/folders/lt/8_h20skn5654p70bncx05d3h0000gn/T/

Edit your "config.inc.php" file and add the following line:

$cfg['SessionSavePath'] = '/tmp';