[csw-users] PHP Session module missing

Manish Agrawal magrawal at coba.usf.edu
Mon Jun 25 17:59:23 CEST 2007

I am trying to install Mediawiki but am getting the error: "PHP's session module is missing". Help on enabling the session module in PHP would be great.

I had been unable to install Joomla earlier because the Joomla installer complained that the session save path was not set. It is possible that the missing session module may have caused that problem too.


I have installed the following SAMP packages from Blastwave: <http://dcomsm1.ismlab.usf.edu/phpinfo.php>

pkg-get install apache2
pkg-get install mysql5
pkg-get install php5
pkg-get install php5_mysql
pkg-get install ap2_modphp5

I have also edited /opt/csw/php5/lib/php.ini wherever it appeared sessions would get enabled:

extension=session.so (uncommented the line)
session.save_handler = files
session.save_path = "/tmp"

Then I restarted apache2:
svcadm restart cswapache2

The error remains: <http://dcomsm1.ismlab.usf.edu/mediawiki/config/index.php>

MediaWiki 1.10.0 Installation
Don't forget security updates! Keep an eye on the low-traffic release announcements mailing list.
Checking environment...

Please include all of the lines below when reporting installation problems.
PHP 5.2.1 installed
Found database drivers for: MySQL
PHP server API is apache2handler; ok, using pretty URLs (index.php/Page_Title)
Have XML / Latin1-UTF-8 conversion support.
PHP's session module is missing. MediaWiki requires session support in order to function.

More information about the users mailing list