Page 1 of 1

PhpWCMS on FreeBSD

Posted: Wed 15. Jun 2005, 17:18
by sheryco
If anyone uses freebsd server or is being hosted on a freebsd server and you get a blank page when trying to access your login.php or index.php (backend or frontend so to speak) and you check your error.logs and find this error to with sessions
[error] PHP Fatal error: Call to undefined function: session_name() in
Then you will need to install php4-sessions or php5-session whichever you are using to clean this up. You can install it by going to the ports directory
#cd /usr/ports/www/php4-sessions
#make install clean
#/usr/local/sbin/apachectl restart
if you have a custom script to restart apache use it
For linux users if you are using the source recompile with session or use the php4-session RPMs get on from FreshRPMS http://www.freshrpms.net
It just a little shamsham on FreeBSD that I encountered. :twisted:

Posted: Thu 16. Jun 2005, 08:11
by Pappnase
hello

also when i not need this! thanks for this! but i moved it to the right section!