[PHP] starting Apache
I finally got php 4.2.2 installed with Apache 2.0.39 on RedHat 7.2. However when I restart the httpd service, I get the following error: Starting httpd: Syntax error on line 230 of /www/conf/httpd.conf: Cannot load /www/modules/libphp4.so into server: /www/modules/libphp4.so: undefined symbol: ts_resource_ex Can Anyone Help? Nick __ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] starting Apache: unable to find OpenLDAP library path
I have a problem when running Apache (1.3.19) using PHP (4.0.4) and OpenLDAP . The following error occurs when starting up Apache (PHP run internally as a shared module in Apache): Cannot load /usr/web/server/apache/libexec/libphp4.so into server: libldap.so.2: cannot open shared object file: No such file or directory Which OS? If Linux, edit your /etc/ld.so.conf file and add the directory libldap.so.2 is in to that file, then run ldconfig. If some other OS, figure out how to change the default LD_LIBRARY_PATH for your system. We don't do all the -R's that we should in PHP, so you need to help it along a bit. -Rasmus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] starting Apache: unable to find OpenLDAP library path
Hello, I have a problem when running Apache (1.3.19) using PHP (4.0.4) and OpenLDAP . The following error occurs when starting up Apache (PHP run internally as a shared module in Apache): Cannot load /usr/web/server/apache/libexec/libphp4.so into server: libldap.so.2: cannot open shared object file: No such file or directory I am able to stop this error by setting LD_LIBRARY_PATH to the OpenLDAP lib directory. So I assume the problem is related to the proper library load path when linking either Apache or PHP. I use the following command to configure the PHP installation: ./configure --with-apxs=/usr/web/server/apache/bin/apxs \ --prefix=/usr/web/server/php \ --with-config-file-path=/usr/web/server/php \ --with-ldap=/usr/web/server/openldap \ --enable-track-vars --enable-magic-quotes --enable-debugger \ --with-mysql --enable-ftp And I use the following command to configure the Apache installation (with additional modifications to httpd.conf): ./configure --prefix=/usr/local/web/server/apache/ \ --enable-module=mime_magic --enable-shared=mime_magic \ --enable-module=headers --enable-shared=headers \ --enable-module=info --enable-shared=info \ --enable-module=rewrite --enable-shared=rewrite \ --enable-module=speling --enable-shared=speling \ --enable-module=cgi --enable-shared=cgi \ --enable-module=alias --enable-shared=alias \ --enable-module=auth --enable-shared=auth When PHP links libphp4 the proper L switch appears to be used to include the openldap library directory. I assume that PHP needs the library path. But for some reason it is not able to find that path once PHP is installed as a shared dynamic object for Apache. Any ideas? Many thanks, Charlie Hileman ([EMAIL PROTECTED]). -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]