編寫AMAZON API程序時報錯'MarketplaceWebService_Client'

Fatal error: Class 'MarketplaceWebService_Client' not found in C:\xampp\htdocs\sites\ListOrderLocal.php on line 68php

這是由於程序找不到MarketplaceWebServiceOrders\client.php這個文件。ide

步驟1. 打開php.ini, 修改include_path路徑,改爲
include_path = ".;c:\php\includes"get

步驟2. 打開config.inc.php. 修改合適的路徑
set_include_path(get_include_path() . PATH_SEPARATOR . '..' );it

相關文章
相關標籤/搜索