Fatal error: Call to undefined function session_start()

Having trouble installing serendipity?
Post Reply
pizte

Fatal error: Call to undefined function session_start()

Post by pizte »

Hello, i can't install my Serendipity 0.7-rc1.

I use PHP 5.0.2 and Apache 2.0.52

It doesn't run when i acces to it, i tried doing accesiong the intall file (serendipity_admin_intaller.inc.php) manually, but even then it doesn't work, any suggestions? thans :)
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Fatal error: Call to undefined function session_start()

Post by garvinhicking »

If the message above is your error message, your PHP is wrongly compiled and you are missing the session module. Which server does your apache run on? FreeBSD?

Show us your phpinfo() output, you may need to install some PHP extensions.

Regards,
Garvin.
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
pizte

Post by pizte »

Thanks for yor answer, i use gentoo and probably compiled it wrong as you said. i'll try it

Regards,

pizte

PD: I don know anything about PHP so i can't tell you my phpinfo() output :(
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Needed extensions

Post by garvinhicking »

Okay; you'll probably need to install those PHP extensions:

* PCRE
* posix
* session
* sockets
* sendmail support
* tokenizer
* optional: xml
* one of: postgresql, mysql, sqlite
* One of: gdlib (+ libjpeg, libpng) or imagemagick binary (no module)
* If you want to have captchas: gdlib + libpng + t1lib + freetype

After that, you can just create a script:

Code: Select all

<?php phpinfo(); ?>
and save it as 'info.php' on your server; call that via your browser, and the output will show the configuration of PHP.
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply