Updating php

Carmel NY carmel_ny at outlook.com
Mon Nov 30 13:40:09 UTC 2015


On Mon, 30 Nov 2015 13:51:24 +0100, Torsten Zuehlsdorff stated:

>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?

The problem is fixed. I FORGOT to rebuild the "apache24" server.

-- 
Carmel


More information about the freebsd-ports mailing list