# Apache SSL AND phpldapadmin

**URL:** <https://forums.suse.com/t/apache-ssl-and-phpldapadmin/22540>\
**Category:** SLED Applications\
**Created:** [April 25, 2012, 10:45am UTC](https://forums.suse.com/t/apache-ssl-and-phpldapadmin/22540 "2012-04-25T10:45:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![naren\_bishayee](https://avatars.discourse-cdn.com/v4/letter/n/d2c977/32.png) [@naren\_bishayee](https://forums.suse.com/u/naren_bishayee)\
**Post date:** [April 25, 2012, 10:45am UTC](https://forums.suse.com/t/apache-ssl-and-phpldapadmin/22540/1 "2012-04-25T10:45:06Z")

</div>

Hi all,  
I manually installed the Apache2, php5, openldap. After that i want to control openldap using phpldapadmin, but whenever i try to open the following page  
[http://127.0.0.1/phpldapadmin-1.2.2/htdocs/index.php](http://127.0.0.1/phpldapadmin-1.2.2/htdocs/index.php)

on browser it display the following message

Fatal error: Call to undefined function bindtextdomain() in /usr/local/apache2/htdocs/phpldapadmin-1.2.2/lib/common.php on line 267

Please help me to rectify this problem.

Another problem is i made the server.key & server.cry file but apache2 didn’t open on ssl mode. IN fact it does not show any error message.

Apache version : 2.2.21  
Ldap version : 2.4.30  
php version : 5.4.0

Can someone send me the procedure for SSL on my apache version, i already add  
Include conf/extra/httpd-ssl.conf  
to httpd.conf

and content of the httpd-ssl.conf is same as they provide

---

<div class="post-metadata">

**Author:** ![smflood](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/smflood/32/10576_2.png) [@smflood](https://forums.suse.com/u/smflood)\
**Post date:** [April 25, 2012, 5:10pm UTC](https://forums.suse.com/t/apache-ssl-and-phpldapadmin/22540/2 "2012-04-25T17:10:31Z")

</div>

On 25/04/2012 08:54, naren bishayee wrote:  
[color=blue]

> I manually installed the Apache2, php5, openldap. After that i  
> want to control openldap using phpldapadmin, but whenever i try to open  
> the following page  
> [http://127.0.0.1/phpldapadmin-1.2.2/htdocs/index.php](http://127.0.0.1/phpldapadmin-1.2.2/htdocs/index.php)
> 
> on browser it display the following message
> 
> Fatal error: Call to undefined function bindtextdomain() in  
> /usr/local/apache2/htdocs/phpldapadmin-1.2.2/lib/common.php on line 267
> 
> Please help me to rectify this problem.[/color]

By “manually installed” do you mean you downloaded the sources for  
Apache, PHP, and OpenLDAP then compiled them or something else?

The above error is at it says - the function bindtextdomain() is not  
defined in ../common.php.  
[color=blue]

> Another problem is i made the server.key& server.cry file but apache2  
> didn’t open on ssl mode. IN fact it does not show any error message.[/color]

Which URL are you using when accessing Apache? If you’re using [http://.](https://http).  
you’ll get the non-SSL site and for SSL use [https://.](https://https).  
[color=blue]

> Apache version : 2.2.21  
> Ldap version : 2.4.30  
> php version : 5.4.0[/color]

Since you’ve posted in a SUSE Linux Enterprise Desktop (SLED) support  
forum which version of SLED are you using?  
[color=blue]

> Can someone send me the procedure for SSL on my apache version, i  
> already add  
> Include conf/extra/httpd-ssl.conf  
> to httpd.conf
> 
> and content of the httpd-ssl.conf is same as they provide[/color]

So we can understand where you’re at what steps have you already followed?

## HTH.

Simon  
Novell/SUSE/NetIQ Knowledge Partner

* * *

## Do you work with Novell technologies at a university, college or school? If so, your campus could benefit from joining the Novell Technology Transfer Partner (TTP) program. See [novell.com/ttp](http://novell.com/ttp) for more details.
