Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error in PHP Compile with LDAP

Status
Not open for further replies.

GHSHelpdesk

Technical User
Jan 25, 2005
2
US
Alright,I've been trying this for several weeks now, and it's starting to get frustrating. I am a helpdesk administrator for the local High school.

We are running IIS 6 and a PHP Build of 4.3.10. I've had no problems enabling and compliling with the GD libraries, but when I try the same procedure using the LDAP dll, I get an error message saying 'Access Denied'. Both dlls have the same permissions and are both in the same folder.

In an exacerbated attempt to get it working, the directory that I have the extension dlls in, was given full access by everyone.

It's quite possible that I'm simply just missing a step. If the ldap libraries included with php (php_ldap.dll) and the dlls in the 'dll' folder. (Places in my System32 folder). I uncommented the extension line and added the --with-ldap switch to my .ini file.

The biggest kick in the pants is that, just for fun, I loaded all the extensions in the directory. About half of them got the 'Access Denied' error, while the other half compiled succesfully. And bear in mind that they all have the same permissions on the files.
 
When do you get the message?
During compilation?
When the web server starts?
What does the event log have to say?
 
Alright, I finally found the solution to the problem, so if anyone else has this error message with most extensions, it's an easy fix. So easy it's almost beyond comprehension.

The error is caused by a lack of dlls in the php root directory.

Common Cause: Windows PHP Installer.
Easiest fix: Install PHP using Installer. Download ZIP Package. Extract over PHP installation.

Should work fine.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top