SOAP/Client.php not reachable

Problems with the Windows version of XAMPP, questions, comments, and anything related.

SOAP/Client.php not reachable

Postby hakaa » 09. November 2005 16:03

Why do the system not find the "SOAP-client.php" program ?

Are trying to learn php and Web services with PEAR without much success !

Through XAMPP's phpinfo() I can see that my php.ini is at C:\Programfiler\xampp\apache\bin\php.ini

phpinfo() shows that "Soap Client" and "Soap Server" are enabled and that

include_path .;C:\Programfiler\xampp\php\pear\SOAP

I have seen that the Client.php program exist in this directory, but the system seems to ignore the include_path.

I got following error using " require_once('SOAP/Client.php');" in my program :

Content-type: text/html
X-Powered-By: PHP/5.0.4

Fatal error: main() [function.require]: Failed opening required 'SOAP/Client.php' (include_path='.;C:\php5\pear') in C:\XAMPP PHP\ex\pearsoap-hello-client.php on line 4
(Are using last version of Zend Development Environment)


Can anyone explain why ?
IT & Integration AS www.iti.as
co-founder EPR-forum www.eprforum.org
OASIS member www.oasis-open.org
User avatar
hakaa
 
Posts: 4
Joined: 14. October 2005 16:12
Location: Norway

Postby Wiedmann » 09. November 2005 16:04

include_path .;C:\Programfiler\xampp\php\pear\SOAP

Why have you changed the include_path?
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby Wiedmann » 09. November 2005 22:53

I start the program with:
<?php
/* Comment : */
/* Include PEAR::SOAP's SOAP_Client class: */
include_Path == '.\;C:\Programfiler\xampp\php\pear\SOAP';
require_once('SOAP/Client.php');

But it makes no difference if i drop :
include_Path == '.\;C:\Programfiler\xampp\php\pear\SOAP';

1st: don't change the default include_path (it's allready set for PEAR)
2nd: PEAR::SOAP is not includes in the XAMPP package
--> just install it yourself

(BTW: there was the same discussion some weeks before in the german part)
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 30 guests