Table of Contents

PHP (Zend) framework

Reminder

Online beautifier : http://beautifytools.com/php-beautifier.php

Options :

'Apache' issues

While installing Bludit, it complains about missing modules (gd, dom, mbstring…). They can be easily installed with aptitude. But, once installed, Bludit still reports they were missing, although a phpinfo() were reporting that they were properly loaded! This was due to the fact that the module was installed for the php7 version, and apache used the php5 version. Disabling php5 and enabling php7 (a2dismod, a2enmod), then restarting apache, fixes this issues.

Writing to console from the embedded web server

To write to the console from a script launched from the embedded PHP web server (php -S …), use error_log(…).