how to configure pear/soap

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • junkmail

    how to configure pear/soap

    on a win 2k server
    apparantly it is saying i dont have it. or it cant find it.
    im using mySQL 4.1
    php 4.3.x
    apache 3.0.53

    im new to php and am doing some tutorials, but when i run the sripts it
    tells mea it can not run pear/soap, because it can not be found.the book im
    learning form does not tell me how to install or configure this extension.
    so now im looking for help.


    is it possible? if so how do i config it with php 4.3.x and apache 2.0.53 ?
    followed a tutorial and ran my script only to find out that i dont have 1)
    it installed 2) not configured.

    help...


  • Andy Hassall

    #2
    Re: how to configure pear/soap

    On Thu, 24 Feb 2005 15:24:36 -0800, "junkmail" <junkmail.here@ com-techs.net>
    wrote:
    [color=blue]
    >on a win 2k server
    >apparantly it is saying i dont have it. or it cant find it.
    >im using mySQL 4.1
    >php 4.3.x
    >apache 3.0.53[/color]

    What's it like in the future - can you send us the winning lottery numbers and
    the Changelog for Apache 3?
    [color=blue]
    >im new to php and am doing some tutorials, but when i run the sripts it
    >tells mea it can not run pear/soap, because it can not be found.the book im
    >learning form does not tell me how to install or configure this extension.
    >so now im looking for help.
    >
    >is it possible? if so how do i config it with php 4.3.x and apache 2.0.53 ?
    >followed a tutorial and ran my script only to find out that i dont have 1)
    >it installed 2) not configured.[/color]

    PHP for Windows comes with a batch file "go-pear.bat" - run this first. Then
    you can use the "pear" command to install more PEAR modules. The PEAR page for
    the SOAP module shows it's not been released, it's still beta, so you have to
    persuade the pear command to install it.

    D:\php-5.0.3-Win32>pear install SOAP
    No release with state equal to: 'stable' found for 'SOAP'

    D:\php-5.0.3-Win32>pear install http://pear.php.net/get/SOAP-0.8.1.tgz
    downloading SOAP-0.8.1.tgz ...
    Starting to download SOAP-0.8.1.tgz (69,177 bytes)
    ............... ...done: 69,177 bytes
    requires package `Mail_Mime'
    requires package `HTTP_Request'
    requires package `Net_URL'
    requires package `Net_DIME'
    SOAP: Dependencies failed

    D:\php-5.0.3-Win32>pear --help install
    pear install [options] <package> ...
    Installs one or more PEAR packages. You can specify a package to
    install in four ways:

    "Package-1.0.tgz" : installs from a local file

    "http://example.com/Package-1.0.tgz" : installs from
    anywhere on the net.

    "package.xm l" : installs the package described in
    package.xml. Useful for testing, or for wrapping a PEAR package in
    another package manager such as RPM.

    "Package" : queries your configured server
    (pear.php.net) and downloads the newest package with
    the preferred quality/state (stable).

    More than one package may be specified at once. It is ok to mix these
    four ways of specifying packages.

    Options:
    -f, --force
    will overwrite newer installed packages
    -n, --nodeps
    ignore dependencies, install anyway
    -r, --register-only
    do not install files, only register the package as installed
    -s, --soft
    soft install, fail silently, or upgrade if already installed
    -B, --nobuild
    don't build C extensions
    -Z, --nocompress
    request uncompressed files when downloading
    -R DIR, --installroot=DIR
    root directory used when installing files (ala PHP's INSTALL_ROOT)
    --ignore-errors
    force install even if there were errors
    -a, --alldeps
    install all required and optional dependencies
    -o, --onlyreqdeps
    install all required dependencies

    D:\php-5.0.3-Win32>pear install -a http://pear.php.net/get/SOAP-0.8.1.tgz
    downloading SOAP-0.8.1.tgz ...
    Starting to download SOAP-0.8.1.tgz (69,177 bytes)
    ............... ...done: 69,177 bytes
    downloading Mail_Mime-1.2.1.tgz ...
    Starting to download Mail_Mime-1.2.1.tgz (15,268 bytes)
    ....done: 15,268 bytes
    downloading HTTP_Request-1.2.4.tgz ...
    Starting to download HTTP_Request-1.2.4.tgz (13,212 bytes)
    ....done: 13,212 bytes
    downloading Net_URL-1.0.14.tgz ...
    Starting to download Net_URL-1.0.14.tgz (5,173 bytes)
    ....done: 5,173 bytes
    Release for 'soap' dependency 'Net_DIME' has state 'beta', requires 'stable'
    install failed

    D:\php-5.0.3-Win32>pear install http://pear.php.net/get/Net_DIME-0.3.tgz
    downloading Net_DIME-0.3.tgz ...
    Starting to download Net_DIME-0.3.tgz (6,740 bytes)
    ......done: 6,740 bytes
    install ok: Net_DIME 0.3

    D:\php-5.0.3-Win32>pear install -a http://pear.php.net/get/SOAP-0.8.1.tgz
    downloading SOAP-0.8.1.tgz ...
    Starting to download SOAP-0.8.1.tgz (69,177 bytes)
    ............... ...done: 69,177 bytes
    downloading Mail_Mime-1.2.1.tgz ...
    Starting to download Mail_Mime-1.2.1.tgz (15,268 bytes)
    ....done: 15,268 bytes
    downloading HTTP_Request-1.2.4.tgz ...
    Starting to download HTTP_Request-1.2.4.tgz (13,212 bytes)
    ....done: 13,212 bytes
    downloading Net_URL-1.0.14.tgz ...
    Starting to download Net_URL-1.0.14.tgz (5,173 bytes)
    ....done: 5,173 bytes
    Release for 'soap' dependency 'Net_DIME' has state 'beta', requires 'stable'
    install failed

    At which point you're stuck and probably have to complain to the PEAR SOAP
    maintainers, since there is no stable version of whatever Net_DIME is.
    (http://pear.php.net/package/Net_DIME)

    You could do:

    D:\php-5.0.3-Win32>pear install -n http://pear.php.net/get/SOAP-0.8.1.tgz
    downloading SOAP-0.8.1.tgz ...
    Starting to download SOAP-0.8.1.tgz (69,177 bytes)
    ............... ...done: 69,177 bytes
    install ok: SOAP 0.8.1

    ... but who knows if it'll work.

    --
    Andy Hassall / <andy@andyh.co. uk> / <http://www.andyh.co.uk >
    <http://www.andyhsoftwa re.co.uk/space> Space: disk usage analysis tool

    Comment

    • junkmail

      #3
      Re: how to configure pear/soap

      man, i never knew i was in the future.. looking back, i see the version
      2.0.53 i tried downgrading to that.. lol... :P

      now with this... why would someone provide explicit details for a php
      application for windows, if pear is not even reliable on that platform. ??
      well, no problem, i guess i will turn back to standard php...
      :)

      but thanks for your help. i will try this, and see if it works, if not, then
      i will just wait on learning this.
      "Andy Hassall" <andy@andyh.co. uk> wrote in message
      news:mlps11dopd ei709d92mou47u2 hlm37kktl@4ax.c om...[color=blue]
      > On Thu, 24 Feb 2005 15:24:36 -0800, "junkmail"
      > <junkmail.here@ com-techs.net>
      > wrote:
      >[color=green]
      >>on a win 2k server
      >>apparantly it is saying i dont have it. or it cant find it.
      >>im using mySQL 4.1
      >>php 4.3.x
      >>apache 3.0.53[/color]
      >
      > What's it like in the future - can you send us the winning lottery numbers
      > and
      > the Changelog for Apache 3?
      >[color=green]
      >>im new to php and am doing some tutorials, but when i run the sripts it
      >>tells mea it can not run pear/soap, because it can not be found.the book
      >>im
      >>learning form does not tell me how to install or configure this extension.
      >>so now im looking for help.
      >>
      >>is it possible? if so how do i config it with php 4.3.x and apache 2.0.53
      >>?
      >>followed a tutorial and ran my script only to find out that i dont have 1)
      >>it installed 2) not configured.[/color]
      >
      > PHP for Windows comes with a batch file "go-pear.bat" - run this first.
      > Then
      > you can use the "pear" command to install more PEAR modules. The PEAR page
      > for
      > the SOAP module shows it's not been released, it's still beta, so you have
      > to
      > persuade the pear command to install it.
      >
      > D:\php-5.0.3-Win32>pear install SOAP
      > No release with state equal to: 'stable' found for 'SOAP'
      >
      > D:\php-5.0.3-Win32>pear install http://pear.php.net/get/SOAP-0.8.1.tgz
      > downloading SOAP-0.8.1.tgz ...
      > Starting to download SOAP-0.8.1.tgz (69,177 bytes)
      > ............... ..done: 69,177 bytes
      > requires package `Mail_Mime'
      > requires package `HTTP_Request'
      > requires package `Net_URL'
      > requires package `Net_DIME'
      > SOAP: Dependencies failed
      >
      > D:\php-5.0.3-Win32>pear --help install
      > pear install [options] <package> ...
      > Installs one or more PEAR packages. You can specify a package to
      > install in four ways:
      >
      > "Package-1.0.tgz" : installs from a local file
      >
      > "http://example.com/Package-1.0.tgz" : installs from
      > anywhere on the net.
      >
      > "package.xm l" : installs the package described in
      > package.xml. Useful for testing, or for wrapping a PEAR package in
      > another package manager such as RPM.
      >
      > "Package" : queries your configured server
      > (pear.php.net) and downloads the newest package with
      > the preferred quality/state (stable).
      >
      > More than one package may be specified at once. It is ok to mix these
      > four ways of specifying packages.
      >
      > Options:
      > -f, --force
      > will overwrite newer installed packages
      > -n, --nodeps
      > ignore dependencies, install anyway
      > -r, --register-only
      > do not install files, only register the package as installed
      > -s, --soft
      > soft install, fail silently, or upgrade if already installed
      > -B, --nobuild
      > don't build C extensions
      > -Z, --nocompress
      > request uncompressed files when downloading
      > -R DIR, --installroot=DIR
      > root directory used when installing files (ala PHP's INSTALL_ROOT)
      > --ignore-errors
      > force install even if there were errors
      > -a, --alldeps
      > install all required and optional dependencies
      > -o, --onlyreqdeps
      > install all required dependencies
      >
      > D:\php-5.0.3-Win32>pear install -a http://pear.php.net/get/SOAP-0.8.1.tgz
      > downloading SOAP-0.8.1.tgz ...
      > Starting to download SOAP-0.8.1.tgz (69,177 bytes)
      > ............... ..done: 69,177 bytes
      > downloading Mail_Mime-1.2.1.tgz ...
      > Starting to download Mail_Mime-1.2.1.tgz (15,268 bytes)
      > ...done: 15,268 bytes
      > downloading HTTP_Request-1.2.4.tgz ...
      > Starting to download HTTP_Request-1.2.4.tgz (13,212 bytes)
      > ...done: 13,212 bytes
      > downloading Net_URL-1.0.14.tgz ...
      > Starting to download Net_URL-1.0.14.tgz (5,173 bytes)
      > ...done: 5,173 bytes
      > Release for 'soap' dependency 'Net_DIME' has state 'beta', requires
      > 'stable'
      > install failed
      >
      > D:\php-5.0.3-Win32>pear install http://pear.php.net/get/Net_DIME-0.3.tgz
      > downloading Net_DIME-0.3.tgz ...
      > Starting to download Net_DIME-0.3.tgz (6,740 bytes)
      > .....done: 6,740 bytes
      > install ok: Net_DIME 0.3
      >
      > D:\php-5.0.3-Win32>pear install -a http://pear.php.net/get/SOAP-0.8.1.tgz
      > downloading SOAP-0.8.1.tgz ...
      > Starting to download SOAP-0.8.1.tgz (69,177 bytes)
      > ............... ..done: 69,177 bytes
      > downloading Mail_Mime-1.2.1.tgz ...
      > Starting to download Mail_Mime-1.2.1.tgz (15,268 bytes)
      > ...done: 15,268 bytes
      > downloading HTTP_Request-1.2.4.tgz ...
      > Starting to download HTTP_Request-1.2.4.tgz (13,212 bytes)
      > ...done: 13,212 bytes
      > downloading Net_URL-1.0.14.tgz ...
      > Starting to download Net_URL-1.0.14.tgz (5,173 bytes)
      > ...done: 5,173 bytes
      > Release for 'soap' dependency 'Net_DIME' has state 'beta', requires
      > 'stable'
      > install failed
      >
      > At which point you're stuck and probably have to complain to the PEAR SOAP
      > maintainers, since there is no stable version of whatever Net_DIME is.
      > (http://pear.php.net/package/Net_DIME)
      >
      > You could do:
      >
      > D:\php-5.0.3-Win32>pear install -n http://pear.php.net/get/SOAP-0.8.1.tgz
      > downloading SOAP-0.8.1.tgz ...
      > Starting to download SOAP-0.8.1.tgz (69,177 bytes)
      > ............... ..done: 69,177 bytes
      > install ok: SOAP 0.8.1
      >
      > ... but who knows if it'll work.
      >
      > --
      > Andy Hassall / <andy@andyh.co. uk> / <http://www.andyh.co.uk >
      > <http://www.andyhsoftwa re.co.uk/space> Space: disk usage analysis tool[/color]


      Comment

      • Greg Bryant

        #4
        Re: how to configure pear/soap

        "junkmail" <junkmail.here@ com-techs.net> wrote in
        news:3889kkF5k6 cr2U1@individua l.net:
        [color=blue]
        > man, i never knew i was in the future.. looking back, i see the
        > version 2.0.53 i tried downgrading to that.. lol... :P
        >
        > now with this... why would someone provide explicit details for a php
        > application for windows, if pear is not even reliable on that
        > platform. ?? well, no problem, i guess i will turn back to standard
        > php...
        >:)
        >
        > but thanks for your help. i will try this, and see if it works, if
        > not, then i will just wait on learning this.[/color]

        I have it installed on a couple systems, don't remember the exact steps. I
        think I ended up just downloading it, then installing local files, and I
        know I didn't let it handle auto-dependencies. Try taking the dependency
        list, and you can do a pear install on the stable stuff, but download the
        betas and install them by themselves from a local file.

        Greg

        Comment

        Working...