我有一个用ldap进行身份验证的php文件,它在localhost上运行正常但是当我将它上传到cpanel(softaculous)时,我收到此错误致命错误:未捕获错误:调用未定义函数ldap_connect(),我知道我必须在extension=php_ldap.dll
中取消注释php.ini
,我打开了php.ini
,我没有找到extension=php_ldap.dll
&我发现它的结构与我的PC上的结构不同,我该如何解决这个问题?
allow_url_fopen = Off
allow_url_include = Off
asp_tags = Off
display_errors = On
enable_dl = Off
file_uploads = On
max_execution_time = 30
max_input_time = 60
max_input_vars = 1000
memory_limit = 32M
session.save_path = ""
upload_max_filesize = 2M