Undefined seession_name() and PHP configure options

Undefined seession_name() and PHP configure options

by Oh Yeah -
Number of replies: 0
I tried to install moodle on FreeBSD and immediately got an error from install.php: Fatal error: call to undefined function session_name().  It took me hours to figure out the reason.  PHP was installed with the configure option -disable-all and lacks the session support that moodle needs. 

So here's my question: what are the *exact* requirements for PHP configure options for moodle to work?  Now I know -enable session and probably MySQL (PostgreSQL) support.  What else? 

It surprises me that no installation docs mention about this critical point, because (1) PHP has so many enable/disable options (TOO many for a scripting language that other programs depend on), and (2) PHP is usually installed by an administrator, so the user may not know or be able to control the configure options.  It should be covered in the installation guide or FAQ. 

Cheeeeeers

Average of ratings: -