PDA

View Full Version : Soap Installed and Enabled: NO - Please recompile PHP .... with the Soap extensions e


amcho
29-07-08, 11:59
Running Ok on version 1 - but when I installed version 2 in a new directory I go the error below:
Soap Installed and Enabled: NO - Please recompile PHP on your server with the Soap extension enabled

Ollie
29-07-08, 13:21
Hi amcho,

I will assume from your post that you are using at least PHP 5.2.0.

Unfortunately PHP does not always come with Soap enabled by default. You may need to contact your web host and ask them to re-compile PHP with Soap enabled for your installation to work.

It should be noted, Version1 did not use the built in PHP SoapClient and in fact used NuSoap which we no longer support. Therefore, even though Version1 of the client works on your server, it is not a given that Version2 will.

If you believe Soap to be installed on your server please PM me a link to your setup so I can take a look.

Regards

Ollie

amcho
29-07-08, 14:02
Ollie,
thanks for your quick reply - I think Soap is not enabled
so am contacting my web hosts for a solution.

authcode
30-07-08, 09:23
I had exactly this problem and I'm glad to see the v2 checklist now specifies that soap isn't enabled in place of the misleading message that PHP4 is no longer supported (I was running v5) that was originally output.

As Ollie says you need to be running PHP5+ with the soap module enabled. You can double check this by uploading a file named phpinfo.php to your web space and containing the code:

<?php
phpinfo();
?>

Point your browser at this page and you'll see your PHP version and setup. To check you have the SOAP module enabled look for this line:
'--enable-soap'
in the Configure Command section near the top of the page. If this line isn't present then SOAP isn't enabled. If you're on shared hosting you'll need to ask your host to enabled the SOAP module for you. Since most hosts have only just upgraded to PHP5 many have kept the setup simple to begin with and will probably be more than happy to enable SOAP now once they've checked for compatibility with their setup. This was what happened to me and thankfully my host took only a few weeks to respond.

Hope this helps others coming across this problem.

nole
04-08-08, 13:03
Hello

Sadly I've not been able to install V2 on my main site:( . My host is saying soap modules are enabled but not compiled with php.

Hosts quote below.

"Unfortunately, SOAP extensions on our servers are not compiled with PHP. However, they can be used as modules in your PHP script. "

Eg: require_once 'SOAP/Client.php';

Well I'm not much of a programmer and was wondering if my hosts solution will work with sw v2, also how I go about doing it. Aha

Any help or advise more than gratefully received :D

Nole

twitchy
07-08-08, 21:37
having probs with this too. I contacted my host and they say that the soap module is enabled and i'm running PHP Version 5.2.6
is there a file or anything that i need to manipulate to get this up and running ?

amcho
07-08-08, 21:57
I ended up having to recompile php but
require_once 'SOAP/Client.php';
sounds interesting - I guess you would need to add it at the start of
'constants.inc.php so that it is available to all other php programs.

twitchy
08-08-08, 09:12
no couldnt get this to work either :confused:

Ollie
08-08-08, 17:48
having probs with this too. I contacted my host and they say that the soap module is enabled and i'm running PHP Version 5.2.6
is there a file or anything that i need to manipulate to get this up and running ?

Hi Twitchy,

Sorry to hear you have had trouble with your setup. If possible, I would like to take a look at your installations PHP params to see if the client software is mis-informing you on your setup or if it is in fact a server issue. If you could create a file on your server labeled info.php with the following lines in it:
<?php
phpinfo();
?>

And PM me a link to it I would be grateful. Hopefully we can sort out your setup for you.

Cheers

Ollie
08-08-08, 17:49
Hello

Eg: require_once 'SOAP/Client.php';



Hi Nole,

As amcho said, please put the line:
require_once("SOAP/Client.php"); into your constants.inc.php and try your setup again.

If you wouldn't mind, please provide feedback on how you get on.

Cheers

nole
14-08-08, 14:53
Hi Ollie

Well iv still had no joy getting V2 running on my main site, Guessing it time to hunt for a new host :eek: .
I've been continually harassing my hosts CS department to the point they may boot me anyhow :)
Although a few days ago a file called soap.pl appeared in my cgi bin,

#!/usr/bin/perl
print "Content-type:text/html\n\n";
use SOAP::Lite;
$soap_response = SOAP::Lite
-> uri('http://www.soaplite.com/Demo')
-> proxy('http://services.soaplite.com/hibye.cgi')
-> languages();
@res = $soap_response->paramsout;
$res = $soap_response->result;
print "Result is $res, outparams are @res\n";

daveshuts
28-08-08, 00:56
Hello,
I'm completely new to shopwindow & have had the same problem, plus it doesn't/didn't seem to like the php either. My host is running php5.1.6 but I was told this would work okay. I also had the soap issue, so I tried putting the soap code into the constants file & I now just get a blank white screen - help!

daveshuts
28-08-08, 01:13
PS I also added the change recommended for php 5.1.6

daveshuts
28-08-08, 12:02
Further to that I spoke to the host to make sure soap was enabled & they said they spoke to their developer & "we've been informed that SOAP should now be accessible via Perl's SOAP::Lite module."

I guess that means it wasn't before. What should I do now?

jmccann
05-09-08, 23:25
Hi,

My host runs pre Version 5 php. To get around the problem, my host advised to create an .htaccess file in my root directory with the line.

SetEnv DEFAULT_PHP_VERSION 5

It worked for me.

sspyrou
08-09-08, 16:56
Hi Mate

Im having the same problem in trying to upgrade..
Keep getting the message:

"Soap Installed and Enabled: NO - Please recompile PHP on your server with the Soap extension enabled"

I'm running this on windows, iis - (no htaccess is not an option).
Am running PHP Version 5.2.6

I've tried adding the line..
"require_once("SOAP/Client.php");"
to the constants.inc.php file with no joy.. (PHP Fatal error: require_once() [function.require]: Failed opening required 'SOAP/Client.php' (include_path='.;c:\php5') in E:\USERS\...##deleted##...\constants.inc.php on line 2 )

Any pointers please?
Thanks
S

daveshuts
14-09-08, 14:49
I gavee up in the end since I got no support. The suggestion was to try hosting somewhere else, not a real option since I've already paid quite a bit to host it where it is, plus I have another 7 websites I want to install shop window on.

Having spent almost 2 weeks messing around with it I decided enough was enough & gave up.

Cheers.

daveshuts
15-09-08, 22:54
If anyone can get this working for me I'll pay them.

Any takers?

gunneradt
20-09-08, 14:49
looks like it wasn't a good decision to base this thing on php5 with so many hosts not supporting it properly.

stick with version 1

J0N3S3Y
17-11-08, 00:44
Hi,

Ive tried the examples in the above, but I either get a Server 500 error or the old Please recompile.

I have a dedicated server so I can do whatever the hell I like on this server. It's got PHP 5.2.6 installed and soap is installed.

Now, Im not a PHP programmer and don't understand it to be honest. At the most, I find it unfriendly.

So, can anyone help me out on this?

CaptainFalcon
17-11-08, 10:06
So, can anyone help me out on this?

Can you provide some more information. What Operating System are you running? Do you have soap installed? Can we have a link to your setup? Do you have a phpinfo page? if not, post one up: create a new file, call it info.php and put the following line into it:

<?php phpinfo(); ?>

All this info will help someone who knows what they are doing. :D