Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
SUSE / openSUSE This Forum is for the discussion of Suse Linux.


  Search this Thread
Old 09-08-2005, 02:41 PM   #1
LQ Newbie
Registered: Sep 2005
Posts: 12

Rep: Reputation: 0
php sessions problems

Hello Everyone!

I received a donated P3 733x2 server to be used as the new web server for the high school that I work at. I downloaded and installed the latest SuSe9.3 version last night, and got everything up and running with no major problems except for one biggie:

It would appear that any time I try to access a php page that uses sessions, I receive the response:

An error occurred while loading //localhost/index.php:
Connection to host localhost is broken.

The reason I mention that it may be tied to sessions is that I was able to make it through the entire installation process for my PHPWebSite software, but when it came time to actually view the newly built site suddenly I began receiving the error and I have not been able to get around it. Normal html files and php pages that do not use sessions seem to execute just fine. I will admit, however, even with this evidence I am not sure if this is truly the cause of the problem.

I have updated my system using YaST to all of the most recent versions of all installed software including the php_sessions package. The error still persists. However, I see that php5 is available but I am only running php4. Might this be a solution (to upgrade to php5) or would that open potential problems for me? If I SHOULD upgrade to php5, how do I do it? Do I uninstall all of the php4 software first?

Thanks in advance,
Old 09-08-2005, 04:35 PM   #2
LQ Newbie
Registered: Sep 2005
Posts: 12

Original Poster
Rep: Reputation: 0

I've been working on this all day and have not got very far.

I tried uninstalling PHP4 completely and then reinstalling the entire package. This did not fix my apparent session problem.

I found a post on another site where someone mentioned this same basic problem and he said he solved it by downgrading the php-session package. My problem is that I don't know how to downgrade a package from within YaST. Can someone help me out with this one?

And how do I even know which version number to use for the downgrade?

Alternatively, can I just remove php4 altogether and install php5?

Old 12-06-2005, 09:06 AM   #3
LQ Newbie
Registered: Aug 2005
Posts: 2

Rep: Reputation: 0
Can you bring up the built-in webpage that Apache installs (eg: type localhost in the address bar of your web-browser and hit go)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
sessions in PHP zowey Programming 2 12-26-2004 07:35 PM
Troble on PHP Sessions Gerardoj Programming 4 05-25-2004 02:03 PM
Problem with php sessions sashhoney Linux - Software 7 08-28-2003 08:30 AM
Apache PHP and sessions Satriani Programming 0 04-21-2003 12:55 PM
PHP Sessions RecoilUK Programming 1 04-21-2002 06:57 AM

All times are GMT -5. The time now is 08:46 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration