Linux – CentOS PHP Sessions not working even though the PHP Info page says it is

centoslinux

I have PHP installed properly from the Remi repo on CentOS 6 (64 bit).

enter image description here

As shown in the image above, the PHP information page shows sessions as working and installed, yet I get this error:

Fatal error: Call to undefined function session_create() in /var/www/lighttpd/index.php on line 1

I've tried multiple reinstalls, different PHP RPM's, and yet nothing will get sessions going. How can I get PHP sessions working?

Best Answer

You're looking for session_start(). "session_create()" is a phpBB function.