PHP session issue on C6.5

Issues related to applications and software problems
Post Reply
tommyhp2
Posts: 33
Joined: 2010/09/18 00:35:39

PHP session issue on C6.5

Post by tommyhp2 » 2014/04/21 02:43:34

Hi folks,

I'm having problems with PHP sessions not working correctly on CentOS 6.5 with current patches:

Code: Select all

[root@web php]# php -version
PHP 5.3.3 (cli) (built: Dec 11 2013 03:29:57) 
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
    with Suhosin v0.9.29, Copyright (c) 2007, by SektionEins GmbH

[root@web php]# php -i|grep -i 'session.save'
session.save_handler => files => files
session.save_path => /var/lib/php/session => /var/lib/php/session

[root@web php]# ll /var/lib/php/session/
total 8
-rw-------. 1 apache apache 1728 Apr 20 19:26 sess_ghuulu9dljq27uv7vp4t6f7oiqkbfcu5
-rw-------. 1 apache apache 2304 Apr 16 21:42 sess_ri6g2fp85l1eco7i3lsmp0l84lplqfg6
I've changed the ownership of the /var/lib/php/sesion folder just in case and the session files are saved in the configured folder. But I can't seem to get past the authentication page on phpMyAdmin.

Anyone knows what's wrong with it?

Thanks,
Tommy

tigalch
QA Team
Posts: 522
Joined: 2012/06/23 17:28:41
Location: Austria

Re: PHP session issue on C6.5

Post by tigalch » 2014/04/21 11:21:04

Question 1: Where did you get phpMyAdmin from? EPEL?
Question 2: Did you configure phpMyAdmin?

tommyhp2
Posts: 33
Joined: 2010/09/18 00:35:39

Re: PHP session issue on C6.5

Post by tommyhp2 » 2014/04/21 23:49:58

tigalch wrote:Question 1: Where did you get phpMyAdmin from? EPEL?
Question 2: Did you configure phpMyAdmin?
1) No, downloaded directly from phpMyAdmin site. Extracted contents into /var/www/html/pma
2) Yes, configured the config.inc.php (which is copied of config.sample.inc.php).

tigalch
QA Team
Posts: 522
Joined: 2012/06/23 17:28:41
Location: Austria

Re: PHP session issue on C6.5

Post by tigalch » 2014/04/23 19:22:14

What is the error you are getting?
Also have you considered using one of the allready packages versions of phpMyadmin? i.e. from EPEL?

Post Reply