PHPCMS V9 fsockopen 函数被禁用解决方案

phpcms V9 会员中心出现无法登录的情况,查明原因发现是服务器禁用fsockopen函数导致的。下面是解决方案!


PHPCMS V9 fsockopen 禁用解决方案, 把fsockopen 替换成 pfsockopen 
替换文件:
phpsso_server/api/uc_client_1_5/client.php
phpsso_server/api/uc_client_1_5/lib/sendmail.inc.php
phpsso_server/api/uc_client_1_5/model/misc.php
phpsso_server/api/uc_client/lib/sendmail.inc.php
phpsso_server/phpcms/modules/admin/functions/global.func.php
phpsso_server/phpcms/libs/classes/http.class.php
phpcms/modules/admin/functions/global.func.php
phpcms/modules/search/search_admin.php
phpcms/modules/search/classes/sphinxapi.class.php (两个)
phpcms/modules/pay/classes/pay_abstract.class.php
phpcms/modules/sms/classes/smsapi.class.php
phpcms/modules/member/classes/client.class.php   (会员注册)
phpcms/libs/classes/http.class.php
phpcms/libs/functions/mail.func.php 

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/feec035dff4d22e2c81a7aa7f15ee2a5.html