ItecSoftware Logo

Hot To Install Memcache PHP On Mac OS X

install memcache php on mac osx

I recently installed the memcached daemon on my MacBook Pro, including the necessary PHP client for development purposes. I just prefer to work locally instead of using a VM running Linux. And the process is actually quite simple and straight forward. Please note, I have included both clients, the old standard one and the newer PECL extension, because I deal with different applications and also lots of people seems to get confused when they install one version and their memcache ...

read more

Listed in Mac, Web Development

Tags: apache, memcache, memcached, PECL, php, php5-memache

How to install PHP Mcrypt to Snow Leopard

install php mcrypt snow leopard

The following instructions on how to install php mcrypt to Snow Leopard assume that you have a working Apache 2.2 / PHP 5.3 in place and want to add the php mcrypt module. It will work as a fresh install, but keep in mind that additional configuration steps after these instructions are necessary to get your web server working properly. Those additional steps are omitted here, as there are countless resources available on the Internet.

1. If you don’t already have the mcrypt ...

read more

Listed in Mac, Web Development

Tags: apache, mcrypt, php

How to install Apache PHP and MySQL on a Mac

install apache php mysql mac

The following instructions guide you thru the installation of the latest LAMP Stack (Apache, PHP and MySQL) on MacOS X Snow Leopard.

Sure, there are pre-packaged solutions like MAMP and MAMP Pro, but if you want to know the inner workings of a LAMP stack, you want to do the installation and configuration yourself.

Let’s get started. Here are the steps to install Apache, MySQL and PHP on a Mac OS X

Download the installation image from MySQL website here. Then double-click to ...

read more

Listed in Mac, MySQL, Web Development

Tags: apache, Mac, MySQL, php, Snow Leopard

Install JSON PHP Extension on CentOs or RedHat

install json extension linux

JSON (JavaScript Object Notation) is the serialization format that is much lighter than it’s older sibling XML. In addition, JSON is native to JavaScript and it’s object oriented paradigm, hence makes it them perfect partners.

Instead of serializing your code manually, that is writing your own classes and functions, there is a PHP extension that takes on most of the work for you. You just have to install it.

Since I had numerous requests for info and questions relating to JSON extension ...

read more

Listed in Linux, Web Development

Tags: CentOS, JSON, php, Redhat

Nginx and memcached module

nginx memcache

Memcache is traditionally used as a module inside server side scripts, such as PHP, ASP, ColdFusion and others. And it’s doing a terrific job, as long as it’s implemented correctly.

But if we look under the hood of the actual Memcache application, and I’m not talking about the PHP or ASP extension, but rather the executable that’s running as a daemon under Linux, it is a rather simple, database like application running in memory. Now there are two basic actions that ...

read more

Listed in Linux, MySQL, SEO, Shell Scripting, Useful Stuff, Web Development

Tags: apache, memcache, nginx, php

Eclipse Ganymede and PDT 2.0 for PHP Development

eclipse ganymede

With the release of Eclipse Ganymede, the IDE has become even better. I remember using Zend Studio for Eclipse 6.0.1 for about two weeks, after giving up and moving over to Netbeans 6.5. Too many issues with the debugging part, constant exceptions and a sizable slow down when working on web pages just got me too frustrated.

Now Ganymede is out for a while, but I just haven’t given it a change until now. And I’m positively surprised. While still fairly ...

read more

Listed in Web Development

Tags: eclipse, ganymede, java, jre 64 bit, pdt, php, subversion