php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #30921 Fatal error: Call to undefined function: session_start()
Submitted: 2004-11-27 22:27 UTC Modified: 2004-11-30 02:36 UTC
From: Lysenka at nm dot ru Assigned:
Status: Not a bug Package: Session related
PHP Version: 4.3.8 OS: Suse Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: Lysenka at nm dot ru
New email:
PHP Version: OS:

 

 [2004-11-27 22:27 UTC] Lysenka at nm dot ru
Description:
------------
Fatal error: Call to undefined function: session_start() 
in /srv/www/htdocs/store/index.php on line 28 
 
I looked at the line and all it contains is this: 
session_start(); 
I have PHPlib and php4-session module installed.. I didn't 
change php.ini file at all.   

Reproduce code:
---------------
<?php
session_start();
?>

Expected result:
----------------
Fatal error: Call to undefined function: session_start() 
in .... on line 2 

Actual result:
--------------
Fatal error: Call to undefined function: session_start() 
in .... on line 2 

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-11-27 22:47 UTC] derick@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

You don\'t have the session module enabled.
 [2004-11-30 02:36 UTC] Lysenka at nm dot ru
Can you briefly tell me what i need to do in order to get that working ?  How would you enable session module.. I assume I would need to add/change something in php.ini, but what exactly?
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 29 16:00:03 2025 UTC