Tag Archives: wamp

Fix PEAR Installation on WAMP Server

Hi Folks,

shubhamoy_wamplogo

Few weeks later I faced a great trouble while installing PEAR on WAMP Server.

The Problem:

The PEAR path is wrongly set to C:\php5\pear automatically than its original path.

The Solution:

  1. Edit every php.ini file, change INCLUDE_PATH to your path where WAMP Server is installed(e.g. C:\WAMP\bin\php\php5\includes).
  2. Now run go-pear.bat, and follow all the instructions. If everything is fine then its OK. You can check it by running http://localhost/phpinfo(). Else if go to Step 3.
  3. Right Click My Computer->Advanced Tab->Environment Variables->Add New User Variable->PHP_PEAR_INCLUDE_PATH->Add new value->The path where PEAR is installed(e.g. C:\WAMP\bin\php\php5\PEAR).
  4. Do post your results soon.

If any step is not clear or you have some doubt then kindly post a comment. Even if you insist then I’ll post thumbnails also.

Reblog this post [with Zemanta]

Shubhamoy

An engineer by chance and a blogger by choice. Love to share my knowledge with the masses. My main focus is always on open source technologies and latest gadgets. This blog provides me the platform to cherish my passion.

Website - More Posts

Running PHP scripts on PC

Hi Friends,

I was searching a way to run PHP scripts on my lappy but was unable. Yesterday I got a method of doing that, here goes my method:

  • First of all you need to install Wamp Server (WAMP= Windows Apache MySQL PHP).
  • Its installation is very easy.
  • After the installation. Run Wamp Server.
  • Open your browser and type either http://localhost or 127.0.0.1
  • Then place the PHP scripts in C:\Wamp\www(I guess you have installed it on C: Drive)
  • Now you can run PHP script successfully on your PC.

NOTE:

  • You can define 127.0.0.1 to http://yourname.com in the HOSTS File. Read this.
  • Even you can try XAMPP. It is capable of running Perl scripts also.
  • Even you can try PHP IDE’s also. Click Here.

Shubhamoy

An engineer by chance and a blogger by choice. Love to share my knowledge with the masses. My main focus is always on open source technologies and latest gadgets. This blog provides me the platform to cherish my passion.

Website - More Posts