Re: how to verify PHP has been installed with ldap?
| From: | Bing Du | Date: | Fri, 30 Apr 2004 15:11:22 +0000 |
| Subject: | Re: how to verify PHP has been installed with ldap? | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-185045@lists.php.net to get a copy of this message | ||
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 (bdu@iastate.edu):
>> > 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
> evan@coeus-group.com
> http://coeusgroup.com/en
>
> --
> "To think is to differ."
>
> -Clarence Darrow
>
>