Posts Tagged ‘PHP’

OOP Concepts in PHP – Link

Posted: May 5, 2011 in PHP
Tags: ,

Useful link for PHP beginners …

Install PHP PEAR Packages/Components

Posted: May 2, 2011 in PHP
Tags: ,

Default installation of PEAR does not install all packages related to it’s reusable componenets. We need to explicitly install each component based on our need. For ex: To install Benchmarking package, go to command prompt and run following command …

pear install Benchmark-1.2.8

Similarly if you want to find about any package that you want to install you can use following command …

pear search Cache

Following are the more commands …

pear list – To see List of all installed packages

pear remote-list – To see all available packages on the channel server

pear list-files Benchmark – To see any Package’s installed files

pear info PEAR – To see any Package information

References –

Note – To run pear samples or components, set the pear installation path to include_path in PHP ini config file under the server that you use to run PHP (ex: Apache).

Install PHP PEAR on WAMP Server

Posted: March 20, 2011 in PHP, WAMP Server
Tags: ,

PEAR is a framework and distribution system for reusable PHP components.

 We won’t find PEAR files in WAMP 2.1a by default. So download go-pear.phar from

Copy it to the “wamp\bin\php\php5.3.4” folder and go to cmd prompt (to wamp\bin\php\php5.3.4 folder) and install pear files by giving “php go-pear.phar”.

Now follow the steps from below link to configure PEAR files with PHP.

Below is another link to refer for the configuration …

Nearly 33% of world web sites are built on PHP including top tech company sites like Facebook, Yahoo, Flickr, Wikipedia and CMS sites like Wordpress, Joomla and Drupal. There are dozens of Frameworks available in market which will make the PHP development easy with out of box support for many of the today’s Web needs like Caching, Security, CDN … etc.

Install WAMP Server which will install Apache, PHP & MYSQL for you. It will also install PHPMyAdmin which you can use to work on MYSQL.

To work on PHP, you need a editor and you can use NetBeans for it. NetBeans editor is built using Java, so you need to install jdk to install NetBeans. NetBeans has built-in support for 2 PHP frameworks – Symfony, Zend PHP Web Frameworks. We need to do small configuration changes at NetBean editor level to use these frameworks. 

  1. – WAMP Server download
  2. – NetBeans IDE for PHP
  3. – Download JDK
  5. – Web application frameworks based on all technologies