User Tools

Site Tools


computing:frameworks:php:home

PHP (Zend) framework

Reminder

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

Options :

  • GNU Style,
  • Tabs,
  • 1,
  • uncheck Lowercase all control structures

'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(…).

computing/frameworks/php/home.txt · Last modified: Fri Apr 27 14:43:36 2018 (27/04/18) by Claude SIMON