SuSE 9.1 & PHP Sessions
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 PHP 4.3.4 is distributed with SuSE 9.1. Session support is supposed to be default in PHP 4+ ... but In a script I'm writing, my page starts with the lines <?php session_start(); $_SESSION['curKey'] = 0; ?> ..... When the page is loaded, I get the error message "Fatal error: Call to undefined function: session_start() in /srv/www/htdocs/lookups/index.php on line 2" which corresponds to the call to session_start(). session.auto_start = 0 in my php.ini, but an explicit call to session_start() should start the session according to the documentation, so I don't see anything wrong. Someone here has to have used sessions in PHP under SuSE 9.1. What's the magic to get it to work? tia - ---Michael -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBVzb+jeziQOokQnARAsYBAJ9LVCy4LP29loqd3kdb1BmExrRQwACffF6+ 02BlqlLFEj/5VTIFcA5zyOU= =pCiO -----END PGP SIGNATURE-----
participants (1)
-
Michael Satterwhite