I have PHP installed properly from the Remi repo on CentOS 6 (64 bit).
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.