Updating php

Torsten Zuehlsdorff mailinglists at toco-domains.de
Mon Nov 30 12:51:34 UTC 2015


Hello,

> I just updated php5 (5.4) to php56. I now have two programsthat will not run.
> "net/phpldapadmin" and "databases/phpmyadmin". When  I attempt to access
> "net/phpldapadmin"  via the net, I receive this error message:
>
> Notice: Undefined variable: _SESSION
> in /usr/local/www/phpldapadmin/lib/page.php on line 379

This indicates a missing session module, but your pkg info command lists it.

> Fatal error: Call to a member function getValue() on a non-object
> in /usr/local/www/phpldapadmin/lib/page.php on line 379
>
> I removed all of the old "php5"modules and then rebuilt "net/phpldapadmin". I
> appeared to successfully rebuild all of its required php modules.
>
> I am also experiencing problems with the "databases/phpmyadmin" port. I
> receive this error message:
>
> PHP 5.5+ is required.

Do you use an apache webserver? Did you restart it? If you use php-fpm: 
did you restart it?

Greetings,
Torsten



More information about the freebsd-ports mailing list