Joomla stuck at webistall step #1

I just faced a problem with Joomla 2.5 install when the web install get stuck after the 1st step (language selection). After I searched the internet I found a lot of forums describing the same problem. I read a lot of strange ideas about fixing this with different apache and php.ini config changes but none of them helped. In the error log I found the followings:

It seems the  somehow a tcp connection was tried to be opened like a file which can be caused by session.save_handler = files. And this is exactly what I found in libraries/joomla/session/session.php

This change fixed the problem.

About charlesnagy

I'm out of many things mostly automation expert, database specialist, system engineer and software architect with passion towards data, searching it, analyze it, learn from it. I learn by experimenting and this blog is a result of these experiments and some other random thought I have time to time.
Bookmark the permalink.
  • Hi, thanks for your post.
    I have been told by my host to do this many times.
    But, is there any long term negative effects of doing this?
    Do you un-comment it after you have installed Joomla?

    • charlesnagy


      No, there’s no negative effect. The ini overriding tries to force joomla to use files for session storage and does not check for anything else. If you have this problem during the installation in your php.ini you already have php configured to use memcached. The two config conflicts. Either it should override more settings or shouldn’t override anything at all. This partial solution only causes issues.

      So I leave it commented out.

  • Thanks for the great post! I wanted to add that this wasn’t the cause for my particular problem, but it ended up helping me figure it out. It wasn’t until I tried installing Joomla 3 that the error popped up in my logs about not being able to write to the session_save directory. Upon investigation, it didn’t exist; so I created it and gave it www-data permission. Worked like a charm after that! The directory in question was /var/lib/php/session. I am running CentOS 6.5 with Nginx and PHP-FPM. Hope that might help someone else in the future!