Re: [PHP] how to verify PHP has been installed with ldap?
Yes, I did. phpinfo() just does not reflect reinstall at all. Here is the sequence of my operations. 1. remove config.cache 2. ./configure --with-apxs=/usr/local/apache/bin/apxs --with-config-file-path=/usr/local/apache --with-mysql --with-zlib --with-ldap 3. make 4. make install 5. /usr/local/apache/bin//apachectl restart Where else should I look? Bing Or... did you restart apache after running your make install? If not, that might be a good idea... `/path/to/apachectl restart` On Thursday 29 April 2004 04:00 pm, Curt Zirzow wrote: * Thus wrote Bing Du ([EMAIL PROTECTED]): I don't see a ldap section in the output of phpinfo(). I need to add a bit more background information here... This is not a fresh php install. I've already installed PHP Version 4.3.4. But now I want to add ldap support to it. So I added --with-ldap option in the configure command. Then I did make and make install. However, phpinfo() still shows the old information. For instance, Build Date was Mar 3 2004 11:15:34, Configure Command was the one without --with-ldap, etc.. This usually means that either you have multiple installation's of apache and php's make install isn't putting the the module in the right place. Or, that your current apache config loads modules from a different place than apxs told php it should go. If you issue: ls -laF `apxs -q LIBEXECDIR` You should see your libphp5.so there with the latest timestamp. if not, see if there are some errors issued with the 'make install' (like are you issuing that as root?) Also, look in the 'apache' section from phpinfo() and look at the value for 'Server root', php will usually be loaded relative to that directory. Curt -- I used to think I was indecisive, but now I'm not so sure. -- Evan Nemerson [EMAIL PROTECTED] http://coeusgroup.com/en -- To think is to differ. -Clarence Darrow -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] how to verify PHP has been installed with ldap?
Are you root when you make install? Follow the directions in Curt's e-mail On Friday 30 April 2004 08:11 am, Bing Du wrote: Yes, I did. phpinfo() just does not reflect reinstall at all. Here is the sequence of my operations. 1. remove config.cache 2. ./configure --with-apxs=/usr/local/apache/bin/apxs --with-config-file-path=/usr/local/apache --with-mysql --with-zlib --with-ldap 3. make 4. make install 5. /usr/local/apache/bin//apachectl restart Where else should I look? Bing Or... did you restart apache after running your make install? If not, that might be a good idea... `/path/to/apachectl restart` On Thursday 29 April 2004 04:00 pm, Curt Zirzow wrote: * Thus wrote Bing Du ([EMAIL PROTECTED]): I don't see a ldap section in the output of phpinfo(). I need to add a bit more background information here... This is not a fresh php install. I've already installed PHP Version 4.3.4. But now I want to add ldap support to it. So I added --with-ldap option in the configure command. Then I did make and make install. However, phpinfo() still shows the old information. For instance, Build Date was Mar 3 2004 11:15:34, Configure Command was the one without --with-ldap, etc.. This usually means that either you have multiple installation's of apache and php's make install isn't putting the the module in the right place. Or, that your current apache config loads modules from a different place than apxs told php it should go. If you issue: ls -laF `apxs -q LIBEXECDIR` You should see your libphp5.so there with the latest timestamp. if not, see if there are some errors issued with the 'make install' (like are you issuing that as root?) Also, look in the 'apache' section from phpinfo() and look at the value for 'Server root', php will usually be loaded relative to that directory. Curt -- I used to think I was indecisive, but now I'm not so sure. -- Evan Nemerson [EMAIL PROTECTED] http://coeusgroup.com/en -- To think is to differ. -Clarence Darrow -- Evan Nemerson [EMAIL PROTECTED] http://coeusgroup.com/en -- Who controls the past controls the future. Who controls the present controls the past. -George Orwell -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] how to verify PHP has been installed with ldap?
From: Bing Du [EMAIL PROTECTED] So my question is how to verify PHP has been installed with ldap support? ?php phpinfo(); ? And see if there is an ldap section. ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] how to verify PHP has been installed with ldap?
I don't see a ldap section in the output of phpinfo(). I need to add a bit more background information here... This is not a fresh php install. I've already installed PHP Version 4.3.4. But now I want to add ldap support to it. So I added --with-ldap option in the configure command. Then I did make and make install. However, phpinfo() still shows the old information. For instance, Build Date was Mar 3 2004 11:15:34, Configure Command was the one without --with-ldap, etc.. I removed config.cache before doing configure/make/make install and also restarted the apache server, but nothing helped. Do I need to do anything on the apache server? What did I do wrong? Bing From: Bing Du [EMAIL PROTECTED] So my question is how to verify PHP has been installed with ldap support? ?php phpinfo(); ? And see if there is an ldap section. ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] how to verify PHP has been installed with ldap?
* Thus wrote Bing Du ([EMAIL PROTECTED]): I don't see a ldap section in the output of phpinfo(). I need to add a bit more background information here... This is not a fresh php install. I've already installed PHP Version 4.3.4. But now I want to add ldap support to it. So I added --with-ldap option in the configure command. Then I did make and make install. However, phpinfo() still shows the old information. For instance, Build Date was Mar 3 2004 11:15:34, Configure Command was the one without --with-ldap, etc.. This usually means that either you have multiple installation's of apache and php's make install isn't putting the the module in the right place. Or, that your current apache config loads modules from a different place than apxs told php it should go. If you issue: ls -laF `apxs -q LIBEXECDIR` You should see your libphp5.so there with the latest timestamp. if not, see if there are some errors issued with the 'make install' (like are you issuing that as root?) Also, look in the 'apache' section from phpinfo() and look at the value for 'Server root', php will usually be loaded relative to that directory. Curt -- I used to think I was indecisive, but now I'm not so sure. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] how to verify PHP has been installed with ldap?
Or... did you restart apache after running your make install? If not, that might be a good idea... `/path/to/apachectl restart` On Thursday 29 April 2004 04:00 pm, Curt Zirzow wrote: * Thus wrote Bing Du ([EMAIL PROTECTED]): I don't see a ldap section in the output of phpinfo(). I need to add a bit more background information here... This is not a fresh php install. I've already installed PHP Version 4.3.4. But now I want to add ldap support to it. So I added --with-ldap option in the configure command. Then I did make and make install. However, phpinfo() still shows the old information. For instance, Build Date was Mar 3 2004 11:15:34, Configure Command was the one without --with-ldap, etc.. This usually means that either you have multiple installation's of apache and php's make install isn't putting the the module in the right place. Or, that your current apache config loads modules from a different place than apxs told php it should go. If you issue: ls -laF `apxs -q LIBEXECDIR` You should see your libphp5.so there with the latest timestamp. if not, see if there are some errors issued with the 'make install' (like are you issuing that as root?) Also, look in the 'apache' section from phpinfo() and look at the value for 'Server root', php will usually be loaded relative to that directory. Curt -- I used to think I was indecisive, but now I'm not so sure. -- Evan Nemerson [EMAIL PROTECTED] http://coeusgroup.com/en -- To think is to differ. -Clarence Darrow -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php