cancel
Showing results for 
Search instead for 
Did you mean: 

saprfc for PHP-Version 5.1.2

HJA
Explorer
0 Kudos

Hello together,

does somebody know, when the above combination is published ?

Thanks a lot.

Hans

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi,

the 5.1.1 version of the rfc library works well with php 5.1.2 as can be seen in the actual scripting in a box version.

regards,

anton

HJA
Explorer
0 Kudos

Hello Anton,

when using this combination, the example_userlist.php called over Apache on my server shows a browser output like the plain .php source code which looks like:

<b>SAPRFC-Class: Get List of Users in SAP-System</b>

array("ASHOST=>"10.10.70.80"//application server

etc.

Out of Zend Studio IDE which runs with a PHP-Version 5.1.1 everything runs fine and on the server also.

Hans

Former Member
0 Kudos

this might be a general problem with your apache setup, i.e. you haven't defined php in there.

For example the relevant part of MY httpd.conf looks like this:

ScriptAlias /php/ "c:/web/php511/"
AddType application/x-httpd-php .php .php5
Action application/x-httpd-php "/php/php-cgi.exe"
SetEnv PHPRC "C:/php"

This tells apache to hand over the request to the php engine and not to serve files ending in .php plainly.

regards,

anton

HJA
Explorer
0 Kudos

Hello Anton,

working with two php.ini files (one for Zend, one for the web) is sometimes confusing.

Here is the devil:

<b>short_open_tag</b> was set on the web site to Off.

And because off:

<b>display_errors</b> = Off

I didn't see the parse error inside the browser.

Everything is running fine now.

Thanks a lot for your help.

Hans

Answers (0)