php-install Digest 11 Mar 2002 18:07:26 -0000 Issue 739

Topics (messages 6310 through 6313):

Re: libphp4.so load error
        6310 by: Ma Youliang
        6312 by: Jeffrey_N_Dyke.Keane.com

Problems installing PHP ISAPI on win2k
        6311 by: Sorin Sfirlogea

PHP not parsed.
        6313 by: KEVIN ZEMBOWER

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 ---
Hello all ,

I have installed php4.1.2 to solaris8(Intel), But apache(1.3.9) server can
not be started.

My install commands were:

./configure --without-mysql --with-apxs=/usr/apache/bin/apxs
make
make install

It seemed well;

then

# ./apachectl restart
./apachectl restart: httpd not running, trying to start
Syntax error on line 235 of /etc/apache/httpd.conf:
Cannot load /usr/apache/libexec/libphp4.so into server: ld.so.1:
/usr/apache/bin
/httpd: fatal: relocation error: file /usr/apache/libexec/libphp4.so: symbol
zif
_ob_get_contents: referenced symbol not found
./apachectl restart: httpd could not be started
#

httpd goes well if I comment out the following 2 lines in httpd.conf:
#LoadModule php4_module
#AddModule mod_php4.c

Can anyone help me?

Thanks a lot!
--- End Message ---
--- Begin Message ---

Hello.

You should be able to run configure using --with-zblib.  and this will
work.

Jeff




                                                                                       
                       
                    "Ma Youliang"                                                      
                       
                    <youliang_m@ho       To:     <[EMAIL PROTECTED]>           
                       
                    tmail.com>           cc:                                           
                       
                                         Subject:     [PHP-INST] Help: libphp4.so load 
error                  
                    03/11/2002                                                         
                       
                    03:17 AM                                                           
                       
                                                                                       
                       
                                                                                       
                       




Hello all ,

I have installed php4.1.2 to solaris8(Intel), But apache(1.3.9) server can
not be started.

My install commands were:

./configure --without-mysql --with-apxs=/usr/apache/bin/apxs
make
make install

It seemed well;

then

# ./apachectl restart
./apachectl restart: httpd not running, trying to start
Syntax error on line 235 of /etc/apache/httpd.conf:
Cannot load /usr/apache/libexec/libphp4.so into server: ld.so.1:
/usr/apache/bin
/httpd: fatal: relocation error: file /usr/apache/libexec/libphp4.so:
symbol
zif
_ob_get_contents: referenced symbol not found
./apachectl restart: httpd could not be started
#

httpd goes well if I comment out the following 2 lines in httpd.conf:
#LoadModule php4_module
#AddModule mod_php4.c

Can anyone help me?

Thanks a lot!





--- End Message ---
--- Begin Message ---
I am getting a strange error message after installing PHP as a module and I cannot 
find any help on this topic.
The message is:
<FONT face=Arial size=2>PHP has encountered an Access Violation at 0136290E</FONT>
I have configured the [Application settings] and the [ISAPI filters], I've copied the 
dlls into system32 and system32\inetsrv folders, I red all 
documentations on PHP installations (including www.experttek.com), but nothing seems 
to "convince" my php installation to work :-(

The machine is a Compaq MLB with 2 processors and 1GB RAM, running win2k advanced 
server. The web server is IIS 5.0. I have installed
PHP 4.1.1.

Can anyone help?
Thanx.
Sorin Sfirlogea
--- End Message ---
--- Begin Message ---
I reviewed a lot of messages on what to do if php is not parsed (browser
asks to save file if .php file is clicked). I think I checked all the
suggestions, but I still can't get it to work. I'm using php 4.1.2,
compiled from source, and Apache 1.3.20, also compiled from source and
seemingly running correctly. I'm using SuSE 7.2 for the host. I'm trying
to get php to work as a static module.

I have these lines in my httpd.conf file:
<Directory "/usr/local/httpd/htdocs">
    AddType application/x-httpd-php .php
    AddType application/x-httpd-php-source .phps
</Directory>

I've tried the two AddType lines the "Main" web server section, outside
of the Directory directives, but this didn't work either. This is the
httpd.conf file used, as when I put in a deliberate error, ./httpd -t
complains.

Apache is built with php:
www:/usr/local/httpd/conf # /usr/local/httpd/bin/httpd -l
Compiled-in modules:
  http_core.c
 ...
  mod_so.c
  mod_setenvif.c
  mod_php4.c
  mod_so.c
suexec: disabled; invalid wrapper /usr/local/httpd/bin/suexec
www:/usr/local/httpd/conf # 

(Don't know why mod_so.c is compiled in twice.)

Any suggestions on what I'm doing wrong, or ways to troubleshoot it?

Thanks in advance for your help and suggestions.

-Kevin Zembower

-----
E. Kevin Zembower
Unix Administrator
Johns Hopkins University/Center for Communications Programs
111 Market Place, Suite 310
Baltimore, MD  21202
410-659-6139
--- End Message ---

Reply via email to