Sunday, December 16, 2012

SAPRFC PHP 5.4


You have PHP 5.4 and SAPRFC doesn't work anymore? 

Since PHP 5.4 zend has changed their source code. If you want to compile SAPRFC again, you will get many failures. That means, your compile will fail completely.

But I wouldn't writing this blog post without that I would have known the solution!


First

Search the file "saprfc.c" by following command.


cd /; sudo find | grep "saprfc\.c"

Second

Open the file with "nano", "vim" or similars. Then goto line 47 and change:


"function_entry" to "zend_function_entry"

That's all! Now, you are able to compile SAPRFC again. Although with grumble.

I hope this is helpful for you.

1 comment:

  1. A Individual development plan regarding top writers walking tours to increase it is income opportunities. Focuses at firm planning AND building marketable writing skill sets.

    ReplyDelete