Enable soap, mysql PHP5 windows xp

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

    Enable soap, mysql PHP5 windows xp

    I have tried to find a good ref. on how to enable soap and mysql in
    PHP5 on windows xp but without luck.

    Can any one take me through the process? I need to enable both soap and
    mysql I'm not running apache.

    I need to know how to recomplie my PHP5 on windows xp.

  • David Haynes

    #2
    Re: Enable soap, mysql PHP5 windows xp

    frustratedcoder wrote:[color=blue]
    > I have tried to find a good ref. on how to enable soap and mysql in
    > PHP5 on windows xp but without luck.
    >
    > Can any one take me through the process? I need to enable both soap and
    > mysql I'm not running apache.
    >
    > I need to know how to recomplie my PHP5 on windows xp.
    >[/color]
    Why do you need to recompile?
    The stock php.exe from php.net already has this in it.
    Just edit the php.ini and uncomment the extensions you need.

    -david-

    Comment

    • frustratedcoder

      #3
      Re: Enable soap, mysql PHP5 windows xp

      hi David.

      I tried the same approach with mysql but kept getting an error that
      mysql had not been enabled.

      I just change the entry in the php.ini file, but I'm still getting the
      error "PHP Fatal error".

      Comment

      • David Haynes

        #4
        Re: Enable soap, mysql PHP5 windows xp

        frustratedcoder wrote:[color=blue]
        > hi David.
        >
        > I tried the same approach with mysql but kept getting an error that
        > mysql had not been enabled.
        >
        > I just change the entry in the php.ini file, but I'm still getting the
        > error "PHP Fatal error".
        >[/color]
        what does phpinfo() tell you?

        -david-

        Comment

        • frustratedcoder

          #5
          Re: Enable soap, mysql PHP5 windows xp

          The phpinfo doesnt contain anything about soap.

          Comment

          • David Haynes

            #6
            Re: Enable soap, mysql PHP5 windows xp

            frustratedcoder wrote:[color=blue]
            > The phpinfo doesnt contain anything about soap.
            >[/color]
            which means that soap is not enabled on your system.

            Things to check:
            1. in php.ini, you have the line:
            extension=php_s oap.dll
            2. in php.ini, you have:
            extension_dir = "<full path to the 'ext' directory>"
            3. in the ext directory, you have the file:
            php_soap.dll

            If you are running PHP through apache, try running it from the command
            line and giving it the phpinfo() command.
            i.e.
            create a file containing:
            <?php phpinfo() ?>

            Run as: php <file>.php
            and check whether SOAP information is displayed.

            Some people have been editing the wrong php.ini file. Check your PATH
            environment to make sure you are looking at the right one.

            -david-

            Comment

            • frustratedcoder

              #7
              Re: Enable soap, mysql PHP5 windows xp

              Now it works, I think has been the full path to my extensions that was
              missing

              - Thanks for the help

              Comment

              Working...