Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 17th March 2012, 17:37
Showa Showa is offline
Member
 
Join Date: Sep 2010
Posts: 62
Thanks: 3
Thanked 1 Time in 1 Post
Default Sessions not set after installing php 5.3.10

My server is configurated using this howto: http://www.howtoforge.com/perfect-se...64-ispconfig-3

For another project I need php 5.3 and I tried to install it using this howto: http://www.howtoforge.com/centos-5.6...ith-php-common

Centos is updated to version 5.8 Final.

Installing php 5.3 was no problem an checking with php -v gave me version 5.3.10. The problem was that afterwards users from my site couldn't log in to the memberpages.

I made a testpage with this code:
PHP Code:
<?php
session_start
();
if(isset(
$_SESSION['views']))
$_SESSION['views']=$_SESSION['views']+1;
else
$_SESSION['views']=1;
echo 
"Views="$_SESSION['views'];
?>
and refreshing this page the number didn't change. So I concluded that sessions didn't function. Downgrading to php 5.1.6 and everything worked again. The testpage also counted after refreshing.

I really would like to use php 5.3 Do I also have to change Apache and Mysql versions, or do I have to change something in the php.ini files? Who knows a solution?

Ad.
Reply With Quote
Sponsored Links
  #2  
Old 19th March 2012, 09:12
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 36,986
Thanks: 840
Thanked 5,647 Times in 4,457 Posts
Default

Please check the php.ini file of the new php version, there might be a different path for saving session data set. Either change the path back to the directory that was used in php 5.1 or ensure that the new path exists and is worls writable (writable for all users).
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 19th March 2012, 20:42
Showa Showa is offline
Member
 
Join Date: Sep 2010
Posts: 62
Thanks: 3
Thanked 1 Time in 1 Post
Default

Hi Till,

Path is the same in both ini files, permission are the same. I downgraded to 5.1.6 reinstalled phpmyadmin and squirrelmail and everything functions normally. Again upgrading to 5.3.10 and the same problem occurs.
Reply With Quote
  #4  
Old 22nd March 2012, 23:36
Showa Showa is offline
Member
 
Join Date: Sep 2010
Posts: 62
Thanks: 3
Thanked 1 Time in 1 Post
 
Default

Nobody has an answer?
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPConfig 3.0.3.3 Autoresponder, adding subdomain problem BlackHat Installation/Configuration 4 18th October 2011 15:24
Problem with ispconfig 3 staff007 Installation/Configuration 4 10th October 2011 22:17
ffmpeg Video support for ubuntu 7.10 [suphp-ispconfig] amaurib Installation/Configuration 13 16th February 2010 18:26
Cannot add Mailboxes after PHP-Update hfr Installation/Configuration 5 7th November 2009 21:09
network issues now it says "401 The web site is blocked by administrator" Check General 3 26th February 2008 15:22


All times are GMT +2. The time now is 00:16.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.