christo16
christo16

Reputation: 4843

Install PHP LDAP module without root

I have an existing linux server, with PHP already installed. I just need to add in the php_ldap module. I do not have root/sudo access (no yum/apt-get), what is the best way to get it installed?

Upvotes: 0

Views: 968

Answers (3)

Gilles Quénot
Gilles Quénot

Reputation: 185284

He didn't said that he use apache. Theoretically, if the sources of web-server and php is compiled as the user running the web-server, that should works.

Upvotes: 2

Cybercartel
Cybercartel

Reputation: 12592

I think it cannot be done without root privilege. If you cannot talk to your client you can look for a php library replacement instead. For example there is a JSON script replaceing the JSON extension.

Upvotes: 1

favoretti
favoretti

Reputation: 30167

Unfortunately there is none. Even if you get sources and compile it, you will still need to modify apache configuration to get it loaded. I suggest to talk to the admin of the server.

Upvotes: 2

Related Questions