Hi everyone 😃

I downloaded these packages on the official sites.

Mail-1.1.14.tgz
Mail_Mime-1.5.2.tgz
Mail_mimeDecode-1.5.0.tgz
Mail_Queue-1.2.1.tgz

The problem is I dont know how to Install these packages on my WAMP server.

Have a nice day 😃

    The simplest(?) way is to run the go-pear.bat file, then use the command line PEAR installer. Open up a cmd window, and change to the PHP directory (e.g.: something like "cd \wamp\php"). If you're in the right directory, there should be a go-pear.bat file. Just type "go-pear.bat" at the command line and follow any instructions/prompts.

    Once it's installed, you can then install a PEAR package by using the command line again to use the pear.bat script. Type "pear help install" to see the syntax and options for installing a package.

      NogDog wrote:

      The simplest(?) way is to run the go-pear.bat file, then use the command line PEAR installer. Open up a cmd window, and change to the PHP directory (e.g.: something like "cd \wamp\php"). If you're in the right directory, there should be a go-pear.bat file. Just type "go-pear.bat" at the command line and follow any instructions/prompts.

      Once it's installed, you can then install a PEAR package by using the command line again to use the pear.bat script. Type "pear help install" to see the syntax and options for installing a package.

      Thats the URL that I see in my wamp folder.
      C:\wamp\bin\php\php5.2.5\PEAR

      I dont really know what I should do.
      I dont want to mest up all my local sites.

      Can you gave me a example for installing a pear package and where to install it please 😃

        Did you run the go-pear.bat file yet? That's the first thing you need to do. Once that has been run, you should have a "pear.bat" file in the same directory. To install a package, just cd to that directory and enter

        pear install \path\to\Mail-1.1.14.tgz
        

        Change "\path\to" to wherever the file is that you downloaded. Note however that you don't even have to download the package, as the pear installer will grab it from the internet by just specifying the package-version:

        pear install Mail-1.1.14
        
          NogDog wrote:

          Did you run the go-pear.bat file yet? That's the first thing you need to do. Once that has been run, you should have a "pear.bat" file in the same directory. To install a package, just cd to that directory and enter

          pear install \path\to\Mail-1.1.14.tgz
          

          Change "\path\to" to wherever the file is that you downloaded. Note however that you don't even have to download the package, as the pear installer will grab it from the internet by just specifying the package-version:

          pear install Mail-1.1.14
          

          I only get a file named "go-pear.phar".

          I dont know really know what to do.

            NogDog wrote:

            Try this:

            1. Go to this link: http://pear.php.net/go-pear

            2. Do a "Save As..." from your browser, and save it in your web document directory tree.

            3. Open that file from your browser, e.g.: "http://localhost/go-pear.php", and follow the directions.

            Thanks the installation works all I need to do know is to know how to add the orthers package like Mime.mail

            😃

              After the installation. when I type "localhost" there is a new index page that make you intall packages on the Internet.

              Thanks for you help 😃

                Write a Reply...