php-install Digest 18 Jan 2002 22:51:42 -0000 Issue 656

Topics (messages 5620 through 5623):

Desperate for help with PHP and LDAP
        5620 by: Quinn Perkins

Re: Loading .dll in php 4.1.0
        5621 by: Jean-Louis Margueret

Re: Php + pgsql
        5622 by: Leonard Bouchet

APXS failure on ./configure
        5623 by: Tony Castaneda

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message ---
I successfully build OpenLDAP and it is working fine.

I successfully built a version of PHP 4.0.6 for OS 10.1 with the 
instructions found at 
http://developer.apple.com/internet/macosx/php.html. It compiled without 
error using:

./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var 
--mandir=/usr/share/man --with-apxs --with-zlib --with-
ldap=/Users/quinn/Desktop/Services/ldap/ldap --disable-pear 
--enable-trans-sid

After moving the libphp4.so and editing the httpd.conf file, I started 
the web server, but got the following error:

dyld: /usr/sbin/httpd Undefined symbols:
_ldap_add_s
_ldap_bind_s
_ldap_compare_s
_ldap_count_entries
_ldap_count_values
_ldap_count_values_len
_ldap_delete_s
_ldap_dn2ufn
_ldap_err2string
_ldap_explode_dn
_ldap_first_attribute
_ldap_first_entry
_ldap_first_reference
_ldap_get_dn
_ldap_get_option
_ldap_get_values
_ldap_get_values_len
_ldap_initialize
_ldap_memfree
_ldap_modify_s
_ldap_msgfree
_ldap_next_attribute
_ldap_next_entry
_ldap_next_reference
_ldap_open
_ldap_parse_reference
_ldap_parse_result
_ldap_perror
_ldap_rename_s
_ldap_result
_ldap_search
_ldap_search_s
_ldap_set_option
_ldap_unbind_s
_ldap_value_free
_ldap_value_free_len
/usr/sbin/apachectl start: httpd could not be started

Now...my OpenLDAP works fine. My PHP with LDAP compiled without error. 
Anyone have any ideas as to what might be wrong?

- Quinn
--- End Message ---
--- Begin Message ---
I have the same problem and I am running WindowsXP Professional/IIS 5.1/php
4.1.0 CGI
I get the error message : "Unable to load dynamic link library at
'C:\PHP\ext\php_gd.dll'
I have tried a lot of things : put the dll in system directory, but it seems
do not work.
I looked at "http://bugs.php.net"; and found many similar problems but no
real solution.
Thank you if anyone as a solution or tell if there is no one.

Best regards

Jean-Louis

> I'm running Windows2000 Server/IIS 5/php 4.0.4pl1 so far. Now I tried
> upgrading to php 4.1.0 and get an error message "Unable to load dynamic
link
> library at 'C:\PHP\extensions\php_domxml.dll'". This is strange since I
> didn't make any changes to php.ini and the .dll is still there in the
> specified directory. I get the same error with php 4.0.6, only 4.0.4pl1
> seems to be able to include extensions. Normal scripts (without including
> libraries) are running fine with the newer versions. Can anyone help me
with
> this?
>
>


--- End Message ---
--- Begin Message ---
> The cause are
> 
> - you haven't build PHP by yoursel
> - build PHP with different system
> - you have old libpq.so in your system
> - others?
> 
> Build PHP with your system and make sure you don't have
> old libpq.so enabled on your system.
> 
> Use following order for ld.so.conf if you have old libpq.

Thank you. That was the answer I expected.


>> /usr/local/pgsql/lib
>> /usr/lib
>> /usr/lib/qt-2.1.0/lib
>> /usr/lib/qt-1.45/lib
>> /usr/X11R6/lib
>> /usr/local/BerkeleyDB.3.2/lib
>> 
> 
> --
> Yasuo Ohgaki
> 
> 
> Leonard Bouchet wrote:
>> Hi,
>> 
>> I saw this problem has been reported a few times, but I still can't make it
>> work on my system.
>> 
>> I get 
>> 
>> Syntax error on line 226 of /etc/httpd/conf/httpd.conf:
>> Cannot load /etc/httpd/modules/libphp4.so into server:
>> /etc/httpd/modules/libphp4.so: undefined symbol: PQoidValue
>> 
>> when I tried to start apache 1.3.22
>> 
>> I've compiled php 4.0.6 with
>> 
>> ./configure --with-pgsql=/usr/local/pgsql --with-apxs --without-mysql
>> 
>> And my ld.so.conf is
>> 
>> /usr/lib
>> /usr/lib/qt-2.1.0/lib
>> /usr/lib/qt-1.45/lib
>> /usr/X11R6/lib
>> /usr/local/BerkeleyDB.3.2/lib
>> /usr/local/pgsql/lib
>> 
>> 
>> So I can't figure out why it still doesn't work for me...
>> 
>> Any help would be appreciated
>> 
>> Thanks a lot in advance
>> 
>> -leo
>> 
>> (PostgreSQL version: 7.1.3)
>> 
>> 
> 

--- End Message ---
--- Begin Message ---
I am running Solaris 7, up-to-date patches, Perl5, Apache 1.3.9 with DSO
support, and PHP-4.1.0.  On my ./configure attempt, I get the following from
apxs.

Sorry, I was not able to successfully run APXS.  Possible reasons:

1.  Perl is not installed;
2.  Apache was not compiled with DSO support (--enable-module=so);
3.  'apxs' is not in your path.  Try to use --with-apxs=/path/to/apxs
The output of /usr/sbin/apxs follows
/usr/sbin/apxs: require: not found
/usr/sbin/apxs: use: not found
/usr/sbin/apxs: package: not found
/usr/sbin/apxs: my: not found
/usr/sbin/apxs: my: not found
/usr/sbin/apxs: my: not found
/usr/sbin/apxs: my: not found
/usr/sbin/apxs: my: not found
/usr/sbin/apxs: my: not found
/usr/sbin/apxs: my: not found
/usr/sbin/apxs: my: not found
/usr/sbin/apxs: my: not found
/usr/sbin/apxs: my: not found
/usr/sbin/apxs: my: not found
/usr/sbin/apxs: my: not found
/usr/sbin/apxs: syntax error at line 87: `^' unexpected
configure: error: Aborting

Its pretty obvious APXS is being handed an incomplete configuration file,
but I can't find out what it is.  Has anyone seen this before?  I am pretty
confident of the rest of the configuration and compile tools.  ./configure
works cleanly.  I just need the DSO support.



--- End Message ---

Reply via email to