[GH-ISSUE #192] ViMbAdmin and PHP 7 #151

Closed
opened 2026-02-26 09:36:20 +03:00 by kerem · 1 comment
Owner

Originally created by @luckyjay on GitHub (May 31, 2016).
Original GitHub issue: https://github.com/opensolutions/ViMbAdmin/issues/192

Hi, I recently updated a system to Ubuntu 16, which brought along PHP 7. This caused some heartburn with ViMbAdmin. I am running 3.0.10, unsure if a newer version would help though.

There were two things I had to change to make it work:

  1. Disable Memcached and went back to ArrayCache in vimbadmin/application/configs/application.ini
  2. Edited vimbadmin/vendor/doctrine/common/lib/Doctrine/Common/ClassLoader.php and made changes at line 248 per the suggestion found here http://serverfault.com/questions/743386/zend-framework-on-php-7
Originally created by @luckyjay on GitHub (May 31, 2016). Original GitHub issue: https://github.com/opensolutions/ViMbAdmin/issues/192 Hi, I recently updated a system to Ubuntu 16, which brought along PHP 7. This caused some heartburn with ViMbAdmin. I am running 3.0.10, unsure if a newer version would help though. There were two things I had to change to make it work: 1) Disable Memcached and went back to ArrayCache in vimbadmin/application/configs/application.ini 2) Edited vimbadmin/vendor/doctrine/common/lib/Doctrine/Common/ClassLoader.php and made changes at line 248 per the suggestion found here http://serverfault.com/questions/743386/zend-framework-on-php-7
kerem closed this issue 2026-02-26 09:36:21 +03:00
Author
Owner

@barryo commented on GitHub (Jun 4, 2016):

Hi,

to test this I finally rolled a Vagrant environment for ViMbAdmin:

https://github.com/opensolutions/ViMbAdmin/wiki/Vagrant

  1. Disable Memcached and went back to ArrayCache in vimbadmin/application/configs/application.ini

Works with: apt install php-memcache

  1. Edited vimbadmin/vendor/doctrine/common/lib/Doctrine/Common/ClassLoader.php and made changes at line 248 per the suggestion found here http://serverfault.com/questions/743386/zend-framework-on-php-7

Also works with latest Doctrine updates (run composer update).

Thanks,
Barry

<!-- gh-comment-id:223778405 --> @barryo commented on GitHub (Jun 4, 2016): Hi, to test this I finally rolled a Vagrant environment for ViMbAdmin: https://github.com/opensolutions/ViMbAdmin/wiki/Vagrant > 1) Disable Memcached and went back to ArrayCache in vimbadmin/application/configs/application.ini Works with: `apt install php-memcache` > 2) Edited vimbadmin/vendor/doctrine/common/lib/Doctrine/Common/ClassLoader.php and made changes at line 248 per the suggestion found here http://serverfault.com/questions/743386/zend-framework-on-php-7 Also works with latest Doctrine updates (run `composer update`). Thanks, Barry
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ViMbAdmin-opensolutions#151
No description provided.