0

I am using

-PHP 5.3.3 (cgi-fcgi)
-Apache Web Server 2.1.6
-5.1.73-community
-MediaWiki (1.22.0)

I need to implement auto login for the mediawiki users by using ldap authetication. However, php_ldap.dll is not found in the /ext file so I went to download and enter the extension=php_ldap.dll in the php.ini file. I also included the libeay32.dll and ssleay32.dll file in the C:/PHP directory.

However, when I tried to run the server , it gives me the following error
Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request.

I've checked the error log on apache and it gives me this error
Premature end of script headers: php-cgi.exe

Is there anything I am missing out? I have been struggling for long now.

2
Contributors
1
Reply
12
Views
2 Years
Discussion Span
Last Post by andrevanzuydam
0

This may be late, but it is relevant to anyone loading extra extensions into your PHP, Always check which version of PHP you have first. You will also need to know if you have a thread safe or non-thread safe version. After this you should download the extension you need which matches the exact version of PHP. You may have to install a newer or older version of PHP to match the extension if your build is not supported. Perhaps obvious, make sure you know whether you have a 32bit version or 64bit version.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.