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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Tue Jun 11 06:01:30 2024 UTC