Linux Server

Fixing Fatal PHP PharException without disabling your accelerator

When you encounter Fatal error: PharException with message __HALT_COMPILER(); must be declared in a phar the easiest solution to keep your project environment the same is to convert the phar file into multiple PHP files and include them in the classic style !

Phar archive

Tags: , , ,

Old WHTOP server uptime: 2730 days

We deliver our website services with 100% uptime. See our server screenshot proving 2730 days uptime, before being changed for a much newer machine.

Uptime 2730days

Tags: , , ,

How to install eAccelerator in PHP 5.3 under CentOS 6

Current working system:

  • CentOS 6.4 final
  • PHP 5.3.3
  • Apache 2.2.15

Here is the issue: once you install eaccelerator (RPM from EPEL CentOS Repository with command: yum install php-eaccelerator) and phpMyAdmin 4.0.10.4 (also from RPM), you notice a big issue.

PhpMyAdmin

Php will start crashing running phpMyAdmin and in apache error logs.
[notice] child pid NUMBER exit signal Segmentation fault (11)

Tags: , , ,