opencart - Fatal error: Call to undefined function session_id() when installing -
i've installed opencart version 2.2.0.0 in freebsd server 10.3-release-p3. followed installation instructions linux of install.txt
file.
in step 5, visit store homepage e.g. http://www.example.com or http://www.example.com/store/, in response fatal error:
fatal error: call undefined function session_id() in /usr/local/www/opencart/system/library/session.php on line 23
this happens when installing both freebsd package , source. ideas?
it seems don't have session php extension. try run:
php -m | grep session
in case empty output, install php-session extension via pkg or ports tree.