Code:
FreeBSD void.b70.bg.wi 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May 7 04:32:43 UTC 2006 [email protected]:/usr/obj/usr/src/sys/GENERIC i386
FreeBSD void.b70.bg.wi 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May 7 04:32:43 UTC 2006 [email protected]:/usr/obj/usr/src/sys/GENERIC i386
portinstalirao sam terrentflux sa svim njegovim medjuzavisnostima bez problema. Ona sam ga kopirao u folder odakle apache cita stranice i kada pokusam da pristupim njegovom index.php-u dobijem ovu gresku
Fatal error: Call to undefined function session_start() in /usr/local/www/apache22/data/tf/functions.php on line 26
Evo mojih setovanja svih zavisnih koje trazi torrentflux.
Code:
[root@void ~]# pkg_info -I 'eaccelerator-*' 'apache-*' 'php5-*' 'py*-BitTornado-*' 'sqlite-*' 'torrentflux-*' 'python*'
apache-2.2.0_7 Version 2.2 of Apache web server with prefork MPM.
eaccelerator-0.9.4.r1_2 An opcode cache for PHP with encoder and loader
php5-5.1.4 PHP Scripting Language (Apache Module and CLI)
php5-pcre-5.1.4 The pcre shared extension for php
php5-session-5.1.4 The session shared extension for php
php5-sqlite-5.1.4 The sqlite shared extension for php
py24-BitTornado-core-0.3.14_1,1 An extended BitTorrent peer-to-peer core tool for distribut
python-2.4.2 An interpreted object-oriented programming language
sqlite-2.8.17_1 An SQL database engine in a C library w/ Tcl wrapper
torrentflux-2.0.b1 A PHP based BitTorrent client that runs on a web server
[root@void ~]# pkg_info -I 'eaccelerator-*' 'apache-*' 'php5-*' 'py*-BitTornado-*' 'sqlite-*' 'torrentflux-*' 'python*'
apache-2.2.0_7 Version 2.2 of Apache web server with prefork MPM.
eaccelerator-0.9.4.r1_2 An opcode cache for PHP with encoder and loader
php5-5.1.4 PHP Scripting Language (Apache Module and CLI)
php5-pcre-5.1.4 The pcre shared extension for php
php5-session-5.1.4 The session shared extension for php
php5-sqlite-5.1.4 The sqlite shared extension for php
py24-BitTornado-core-0.3.14_1,1 An extended BitTorrent peer-to-peer core tool for distribut
python-2.4.2 An interpreted object-oriented programming language
sqlite-2.8.17_1 An SQL database engine in a C library w/ Tcl wrapper
torrentflux-2.0.b1 A PHP based BitTorrent client that runs on a web server
Code:
[root@void ~]# php -v
PHP 5.1.4 (cli) (built: Jul 27 2006 11:11:42)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
[root@void ~]# php -v
PHP 5.1.4 (cli) (built: Jul 27 2006 11:11:42)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
Code:
[root@void ~]# php -m
[PHP Modules]
date
libxml
pcre
Reflection
session
SPL
SQLite
standard
[Zend Modules]
[root@void ~]# php -m
[PHP Modules]
date
libxml
pcre
Reflection
session
SPL
SQLite
standard
[Zend Modules]
Inace 26 linija functions.php glasi
Code:
session_start();
session_start();
Skoknuh onda do /usr/local/etc/php/extensions.ini ali on je vec sadrzao liniju extension=session.so
na koju sam sumnjao da predstavlja problem
Zakucao sam se u cosak, stvarno ne znam sta bi moglo da bude problem?