php-install Digest 18 Mar 2001 19:00:49 -0000 Issue 223

Topics (messages 2484 through 2492):

Re: PHP4.0.4 / Win2000 / Java Extension PROBLEM
        2484 by: Kick
        2487 by: John

Re: Apache 'undefined reference'
        2485 by: Steven Hatch

apache cannot start
        2486 by: Ajax
        2492 by: Michael Middleton

cannot load:  libphp4.so
        2488 by: Edgar

Re: php Installation problem
        2489 by: Johnson Chu

ldap installation
        2490 by: dennis tong

ldap - php
        2491 by: dennis tong

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]


----------------------------------------------------------------------


Hi, are you sure your php_java.dll is wrote in full path? or you have copy
it to windows/system?

Eric
""John"" <[EMAIL PROTECTED]> wrote in message
98v0vi$q24$[EMAIL PROTECTED]">news:98v0vi$q24$[EMAIL PROTECTED]...
> Hi,
>
> I'm trying to get the java extension for PHP 4.0.4 to work on my Win2K box
> but it always says this"
>
> "Unable to load dyname library './php_java.dll - the specified module
could
> not be found"
>
> I have these values set in my php.ini file:
>
> [Java]
> extension=php_java.dll
> java.library.path=C:\Inetpub\PHP4.0\extensions
> java.class.path=C:\Inetpub\PHP4.0\extensions\php_java.jar
>
>
> TIA
>
>
>
> --
> PHP Install 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]
>






Well I copied the php_java.dll into my  C:\WINNT\System32\ directory and it
all works now Thanks :)  But I'm curious why I have to do that? doesn't the
following line in the php.ini file:

 java.library.path=C:\Inetpub\PHP4.0\extensions


specifiy where the php_java.dll file is at?


""Kick"" <[EMAIL PROTECTED]> wrote in message
9911v2$knj$[EMAIL PROTECTED]">news:9911v2$knj$[EMAIL PROTECTED]...
> Hi, are you sure your php_java.dll is wrote in full path? or you have copy
> it to windows/system?
>
> Eric
> ""John"" <[EMAIL PROTECTED]> wrote in message
> 98v0vi$q24$[EMAIL PROTECTED]">news:98v0vi$q24$[EMAIL PROTECTED]...
> > Hi,
> >
> > I'm trying to get the java extension for PHP 4.0.4 to work on my Win2K
box
> > but it always says this"
> >
> > "Unable to load dyname library './php_java.dll - the specified module
> could
> > not be found"
> >
> > I have these values set in my php.ini file:
> >
> > [Java]
> > extension=php_java.dll
> > java.library.path=C:\Inetpub\PHP4.0\extensions
> > java.class.path=C:\Inetpub\PHP4.0\extensions\php_java.jar
> >
> >
> > TIA
> >
> >
> >
> > --
> > PHP Install 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 Install 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]
>






Patrick Lanphier wrote:

> Compiling Apache with PHP statically linked.  When compiling apache I get
> the below errors.  This is the configure I used the reason for the
> SHARED_CORE is because I get less 'undefined references' this may be the
> incorrect way to approach this.
>
> ./configure \
> --with-layout=RedHat \
> --enable-rule=SHARED_CORE \
> --activate-module=src/modules/php4/libphp4.a
>
> How do you fix this?
>
> ./libhttpd.so: undefined reference to `empty_string'
> ./libhttpd.so: undefined reference to `_estrdup'
> ./libhttpd.so: undefined reference to `zend_hash_add_or_update'
> ./libhttpd.so: undefined reference to `zend_alter_ini_entry'
> ./libhttpd.so: undefined reference to `php_request_shutdown'
> ./libhttpd.so: undefined reference to `apache_php_module_main'
> ./libhttpd.so: undefined reference to `sapi_get_default_content_type'
> ./libhttpd.so: undefined reference to `zend_hash_merge_ex'
> ./libhttpd.so: undefined reference to `zend_startup_module'
> ./libhttpd.so: undefined reference to `php_module_shutdown_wrapper'
> ./libhttpd.so: undefined reference to `_efree'
> ./libhttpd.so: undefined reference to `zend_hash_destroy'
> ./libhttpd.so: undefined reference to `php_module_shutdown_for_exec'
> ./libhttpd.so: undefined reference to `sapi_shutdown'
> ./libhttpd.so: undefined reference to `php_register_variable'
> ./libhttpd.so: undefined reference to `apache_module_entry'
> ./libhttpd.so: undefined reference to `php_handle_aborted_connection'
> ./libhttpd.so: undefined reference to `php_request_shutdown_for_exec'
> ./libhttpd.so: undefined reference to `core_globals'
> ./libhttpd.so: undefined reference to `sapi_startup'
> ./libhttpd.so: undefined reference to `zend_error'
> ./libhttpd.so: undefined reference to `zend_hash_init'
> ./libhttpd.so: undefined reference to `php_module_startup'
> ./libhttpd.so: undefined reference to `zend_hash_apply'
> ./libhttpd.so: undefined reference to `sapi_globals'
> ./libhttpd.so: undefined reference to `executor_globals'
>
> Patrick Lanphier
> The Artemis Group
> http://www.artemisgroup.com
>
> --
> PHP Install 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]

Did you ever get this error resolved?





I install PHP4 like this
./configure --with-mysql=/usr/local/mysql --with-apxs=/usr/local/apache/bin/apxs 
--enable-track-vars --enable-versioning
make
make install

then add these line to httpd.conf
LoadModule php4_module libexec/libphp4.so
AddType application/x-httpd-php .php
 
all run smoothly , until I try to restart apache I got this error:
Syntax error on line 205 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server: 
/usr/local/apache/libexec/libphp4.so: undefined symbol: uncompress
/usr/local/apache/bin/apachectl start: httpd could not be started

can someone help me out?
 
Thanks
 




In the last few weeks there have been about 500 similar postings: all 
about problems with Apache DSO. Is it not about time that someone 
answered them. Or better still, put the -R option in the right place in 
the Makefile, or whatever it is. I posted my solution (which I do not 
think is very good) to the problem on 27.2.01; see

http://marc.theaimsgroup.com/?l=php-install&m=98328975425618&w=2

On 18 Mar 2001, at 11:56, Ajax wrote:

> I install PHP4 like this
> ./configure --with-mysql=/usr/local/mysql
> --with-apxs=/usr/local/apache/bin/apxs --enable-track-vars
> --enable-versioning make make install
> 
> then add these line to httpd.conf
> LoadModule php4_module libexec/libphp4.so
> AddType application/x-httpd-php .php
> 
> all run smoothly , until I try to restart apache I got this error:
> Syntax error on line 205 of /usr/local/apache/conf/httpd.conf:
> Cannot load /usr/local/apache/libexec/libphp4.so into server:
> /usr/local/apache/libexec/libphp4.so: undefined symbol: uncompress
> /usr/local/apache/bin/apachectl start: httpd could not be started
> 
> can someone help me out?
> 
> Thanks
> 
> 


-------------------------------------------------------------

Michael Middleton               
RZ der Universitaet Regensburg
93040 REGENSBURG            Tel: +49-941/943-4890
F R Germany




Hi,
I recently installed apache 1.3.19 and php 4.0.4pl1 on RedHat 7.0 The
install was fine. However when I try to reload Apache to load the new
configuration I got the next ERROR message:

/*************************************************************/
Cannot load /usr/local/apache_1.3.19/libexec/libphp4.so into server:
undefined symbol: uncompress ./bin/apachectl restart: httpd could not be
started
/************************************************************/
Do you have any idea how to fix this problem?

Regards, Edgar






I have the same problem on IIS under Win2k, after followed strictly the
instructions in install.txt

The problem solved after I copied the file php4ts.dll into
\winnt\system32
I found nowhere on the doc. mentioning about this...


Santhanam wroteˇG
> 
> Hi Friends,
>         I have problem in installation of php in windows 98 + PWS.I have
> followed all the instructions in install.txt.But still i get HTTP 500
> Internal Server Error.Please Help me
> Thanks in advance
> With Regards
> Santhanam
> --------------------------------------------------------
> Operating System : Windows 98(Second Edition)
> PHP Version : 4.0.4pl1
> Running as Server Module(ISAPI)
> ---------------------------------------------------------




When recompiled the php for ldap with the with-ldap directive, i've got
the following error when restarting Apache:

Cannot load /apache/libexec/libphp4.so into server: /apache/li
bexec/libphp4.so: undefined symbol: ldap_value_free

I have been using the Open LDAP.

Can anyone help please? Thanks.





When installing php with LDAP, i've got this error when restarting
Apache:

Cannot load /apache/libexec/libphp4.so into server: /apache/li
bexec/libphp4.so: undefined symbol: ldap_value_free

I'm using OpenLDAP. Can anyone help please? Thanks.




Reply via email to