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