Developer

How to Enable PEAR on OS-X XAMPP

The current, OS-X version of XAMPP comes with PEAR but it’s not installed/configured. Here is what you need to do: sudo su – [and type admin password] /Applications/xampp/xamppfiles/lib/php/pear install PEAR /Applications/xampp/xamppfiles/lib/php/pear install Log /Applications/xampp/xamppfiles/lib/php/pear list The last command outputs the list of installed pear modules. Log should be one of them. Once you configure pear [...]

How to Install PECL Memcache with XAMPP and PHP4

XAMPP is an absolutely wonderful, packaged, self-contained distribution of apache, mysql, php and tons of hard-to-install php extensions. Not only does it make sysadmin’s life easier, by solving 99.9% of LAMP problems out-of-the-box, but it also allows PHP-vendors to create packaged distributions of complex systems. However, even with a long list of packaged extensions, obviously [...]

How to Debug with PEAR Logging

Let’s admit, any PHP developer, at some point has “debugged” a PHP application by inserting several “echo” statements here and there. It’s easy and quick but it’s by far not the best way. For one, you can not and should not do anything like that on a production server. The last thing users need to [...]