Scienta ZF Debug Bar: A very helpfull ZF debug tool
Just found today a very interesting and helpful debug tool:
We at dotKernel used some very basic debug bar: queries, time spent , memory used. But this Scienta is way more complex and nicer then our internal code, so we switch to it and integrate it in dotKernel code base.
Zend Framework 1.7.0 Released
At first glance , the biggest news is AMF support:
Adobe’s Action Message Format protocol to your PHP 5 application
Zend Framework as PEAR accessible repository on Plesk server
Why we want to install ZF as PEAR ? Because is too boring and time consuming to move all ZF files up and down for each script you want to install , there are a lot of files.
Also that way we can forget about the need to update ZF at latest versions, and keep tracks of which version and on which server we have ZF. Of course, backward compatibility can be an issue in future ZF releases ( like 2.0 branch for PHP > 5.3)
- Install PEAR if is not installed already .
- Follow the instructions for ZF PEAR . Simply use: pear install zend/zend
- Create a vhosts.conf file in /var/www/vhosts/dotkernel.com/conf or where is your vhost configuration folder located.
- In that file, remove the open_basedir :
- rebuild all vhosts: /usr/local/psa/admin/sbin/websrvmng -a
- Restart httpd
- Call directly the preloader:
require_once('Zend/Loader.php');
php_admin_value open_basedir "/var/www/vhosts/dotkernel.com/httpdocs:/tmp:/usr/share/pear"