ROSA Linux Bugzilla – Bug 2987
With PHP eAccelerator plugin enabled no exception thrown can be caught
Last modified: 2014-11-06 19:37:06 MSK
Description of problem:
After installing the php eAccelerator plugin no exception thrown can be caught in PHP.
Version-Release number of selected component (if applicable):
cat /etc/release && uname -a
ROSA Desktop Fresh R1 release 2012.1 for x86_64
Linux tachyon 3.10.9-nrj-laptop-1rosa #1 SMP PREEMPT Tue Aug 27 22:09:10 MSK 2013 x86_64 x86_64 x86_64 GNU/Linux
Use the Example 1 from here http://php.net/manual/ro/language.exceptions.php the output should be as specified in the manual, instead you get an "Uncaught exception" message.
Steps to Reproduce:
1. Create a php file ( Example 1 from http://php.net/manual/ro/language.exceptions.php )
2. Run in browser via Apache
3. Enjoy the stacktrace.
Well, if you meet any problems with eaccelerator - just disable/remove it. It can definitely introduce a lot of troubles in certain conditions (including apache segfaults), and maybe we will remove it from our repositories in future.
The resolution is like the following - eaccelerator has been moved to contrib repository and removed from task-lamp-php dependencies. So it is still available in repositories, but the only way to get it is to install it explicitly. You are free to use it at your own risk, but if you meet any problems - just disable it. It is a quite old program and chances are low that it will be fixed.