views:

14

answers:

0

I'm using jbilling that requires PEAR and SOAP in order to integrate with PHP. jBilling didn't come with any SOAP files, so I found some on the internet and downloaded them thinking I would be able to just include them in the php pages, but I'm not sure if this is the right way to do this. Inside all the SOAP .php files they have something like this:

require_once( 'SOAP/Client.php' );

The problem is the path to the .php files being included is not correct, so I have to manually go into all the .php files from the SOAP download and delete the "SOAP/" reference so just "Client.php" remains, or else I get a "File Not found error" when running the .php page that wants to use soap.

I verified that PEAR and SOAP are both installed on the server.

I'm just really confused, it doesn't seem right to have to go into all the .php files and change all the code...I'm sure I've got something set up wrong in my environment, but I don't know what and where to start. Any help is appreciated. Thanks.