Link to home
Start Free TrialLog in
Avatar of cq27
cq27

asked on

Paypal error after change from PHP FastCGI to PHP ISAPI

Hi all,

Need some help here. I am running on PHP 4.3.4 Fast CGI for my e-commerce platform which uses Paypal as a gateway.

However, due to the instability of FastCGI, I have switched to ISAPI and all functions can work except Paypal.

Can I ask whether there is a difference if I use FastCGI or ISAPI for Paypal?

I attached the code we used which is successful when using under FASTCGI but fails under ISAPI.
expresscheckout.php
Avatar of Ray Paseur
Ray Paseur
Flag of United States of America image

PHP 4.3.4

You have to fix that.  There is no support at all for PHP4 any more.  In fact, the PHP.net web site says this: All PHP users should note that the PHP 5.2 series is NOT supported anymore. All users are strongly encouraged to upgrade to PHP 5.3.8.

The upgrade is not optional; it is required and unfortunately it may be a big project.  In addition to the script attached to this question you will almost certainly need to refactor the code in this thing.
require_once ("paypalfunctions.php");

There are some resources that can help.  
https://www.x.com/developers
http://us2.php.net/manual/en/migration53.changes.php
ASKER CERTIFIED SOLUTION
Avatar of cq27
cq27

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of cq27
cq27

ASKER

I discovered the solution on my own via online forums.
There is no need to upgrade to PHP5.3.8

Uhh?

No offense meant... you can do whatever you want; it's not my problem.  But I would fire a programmer who saw the PHP.net home page and then told me something like that.  The lack of understanding about the PHP4 security implication alone is sufficient to terminate for cause.