Posts Tagged ‘PHP’

OOP Concepts in PHP – Link

Posted: May 5, 2011 in PHP
Tags: ,

Useful link for PHP beginners …

http://www.scribd.com/doc/24094382/OOPS-concepts-in-PHP

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 – http://pear.php.net/manual/en/guide.users.commandline.packageinfo.php

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 http://pear.php.net/manual/en/installation.getting.php

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.

http://www.charlotteregionalstc.com/How_to_Install_PHP_PEAR_on_WampServer

Below is another link to refer for the configuration …

http://trac.symfony-project.org/wiki/HowToInstallPearOnWindowsWithWamp

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. http://www.wampserver.com/en/download.php – WAMP Server download
  2. http://netbeans.org/downloads/start.html?platform=windows&lang=en&option=php – NetBeans IDE for PHP
  3. https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/ViewProductDetail-Start?ProductRef=jdk-6u24-oth-JPR@CDS-CDS_Developer – Download JDK
  4. http://www.phpframeworks.com/
  5. http://en.wikipedia.org/wiki/Comparison_of_web_application_frameworks – Web application frameworks based on all technologies
  6. http://w3schools.com/php/php_intro.asp
  7. http://www.php.net/, http://www.php.net/manual/en/install.php
  8. http://www.mysql.com/