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 

你可能感兴趣的:(工作记事)