I have 8.10 version of Ubuntu.<br><br>I just modify the line in php.ini for the one you told me:<br><br>extension = ldap.so<br><br>what i am supposed to do then?<br><br>> There should be a link in /etc/apache2/conf.d/phpldapadmin to<br>
<div>> /etc/phpldapadmin/apache.conf<br>> If it is not there, try to make one.<br><br>
</div> /etc/apache2/conf.d only contains 2 files: charset and security. Nothing of phpldapadmin. How do i try to make one link? Have i to create a file a name it phpldapadmin? How do i create a link in that case? :S<br>
<br>This is the contain of file /etc/phpldapadmin/apache.conf :<br><br><br><span style="color: rgb(0, 0, 153);"># Define /phpldapadmin alias, this is the default</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);"><IfModule mod_alias.c></span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);"> Alias /phpldapadmin /usr/share/phpldapadmin/htdocs</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);"></IfModule></span><br style="color: rgb(0, 0, 153);">
<br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);"># You can also use phpLDAPadmin as a VirtualHost</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);"># <VirtualHost *:*></span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);"># ServerName <a href="http://ldap.example.com">ldap.example.com</a></span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);"># ServerAdmin <a href="mailto:root@example.com">root@example.com</a></span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);"># DocumentRoot /usr/share/phpldapadmin</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);"># ErrorLog logs/ldap.example.com-error.log</span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);"># CustomLog logs/ldap.example.com-access.log common</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);"># </VirtualHost></span><br style="color: rgb(0, 0, 153);">
<br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);"><Directory /usr/share/phpldapadmin/htdocs/></span><br style="color: rgb(0, 0, 153);"><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);"> DirectoryIndex index.php</span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);"> Options +FollowSymLinks</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);"> AllowOverride None</span><br style="color: rgb(0, 0, 153);"><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);"> Order allow,deny</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);"> Allow from all</span><br style="color: rgb(0, 0, 153);"><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);"> <IfModule mod_mime.c></span><br style="color: rgb(0, 0, 153);"><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);"> <IfModule mod_php5.c></span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);"> AddType application/x-httpd-php .php</span><br style="color: rgb(0, 0, 153);"><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);"> php_flag magic_quotes_gpc Off</span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);"> php_flag track_vars On</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);"> php_flag register_globals On</span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);"> php_value include_path .</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);"> </IfModule></span><br style="color: rgb(0, 0, 153);"><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);"> <IfModule !mod_php5.c></span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);"> <IfModule mod_actions.c></span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);"> <IfModule mod_cgi.c></span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);"> AddType application/x-httpd-php .php</span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);"> Action application/x-httpd-php /cgi-bin/php5</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);"> </IfModule></span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);"> <IfModule mod_cgid.c> </span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);"> AddType application/x-httpd-php .php </span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);"> Action application/x-httpd-php /cgi-bin/php5 </span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);"> </IfModule></span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);"> </IfModule></span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);"> </IfModule></span><br style="color: rgb(0, 0, 153);"><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);"> </IfModule></span><br style="color: rgb(0, 0, 153);"><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);"></Directory></span><br><br><br>I'm quite lost... :S<br>
Thank u Norberto,<br><br>Dámaris.<br><br><br><br><br><br><div class="gmail_quote">2009/3/11 Norberto Bensa <span dir="ltr"><<a href="mailto:nbensa@gmail.com">nbensa@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Tue, Mar 10, 2009 at 9:38 PM, Dámaris Suárez Corrales<br>
<<a href="mailto:dhamaris@gmail.com">dhamaris@gmail.com</a>> wrote:<br>
><br>
> I didn't found that line, but i wrote this command:<br>
><br>
> extension = mod_ldap.so<br>
<br>
<br>
</div>maybe you want: extension = ldap.so<br>
<div class="im"><br>
><br>
> The problem maybe is the order in which i installed things. Who goes first? slapd? or apache and php?<br>
<br>
</div>There's no order. apt resolves dependencies. It sees you don't have<br>
php5-ldap and it installs it.<br>
<div class="im"><br>
><br>
> Before re-installing apache2 and php5, when i put /localhost/phpldapadmin in the web browser, it showed me:<br>
><br>
> Missing required extension<br>
> Your install of PHP appears to be missing LDAP support<br>
> Please install LDAP support before using phpLDAPadmin.<br>
><br>
> But now is even worse, because it shows:<br>
><br>
> The requested URL /phpldapadmin was not found on this server.<br>
<br>
</div>There should be a link in /etc/apache2/conf.d/phpldapadmin to<br>
/etc/phpldapadmin/apache.conf<br>
<br>
If it is not there, try to make one.<br>
<div><div></div><div class="h5"><br>
--<br>
ubuntu-users mailing list<br>
<a href="mailto:ubuntu-users@lists.ubuntu.com">ubuntu-users@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-users</a><br>
</div></div></blockquote></div><br>