php-install Digest 10 Jan 2002 18:31:53 -0000 Issue 642

Topics (messages 5523 through 5527):

Re: Problems with mm shared memory session handler on Linux 2.2.19
        5523 by: Yasuo Ohgaki

Re: PHP upgrade problem
        5524 by: Stephano Mariani
        5525 by: Brad Harriger

error in make
        5526 by: Thomas Holton

XpmFreeXpmImage in -lXpm
        5527 by: Mark

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 guess it is fixed in CVS.
http://snaps.php.net/

Submit bug report if problem is still there.
Make sure it's not reported already ;)

The reason why you get compile problem is
you are not deleting files. Do
make distclean; ./configure <options>; make

Rick Morris wrote:

> Hi,
> 
> I keep getting segfaults, such as:
> 
> [Mon Jan  7 10:02:15 2002] [notice] child pid 20400 exit signal Segmentation
> fault (11)
> 
> This happens whenever I set session.save_handler to mm in php.ini
> 
> The platform:
> 
> Linux kernel 2.2.19 on a Rackspace server (Gigahertz athlon, 1 GB RAM)
> Apache 1.3.19
> PHP-4.1.1
> 
>    ./configure --with-apxs=/usr/sbin/apxs --with-config-file-path=/etc/httpd
> \
>     --enable-inline-optimization --with-exec-dir=/usr/bin --with-zlib \
>     --enable-shmop --with-mysql=/usr --with-mm
> mm-1.1.3
>     ./configure --prefix=/usr
> 
> The first time I tried this, I added --disable-shared to the mm configure
> options. This resulted in an all-recursive error compiling PHP:
> 
>     /usr/lib/libmm.a(mm_global.o): In function `MM_create':
>     mm_global.o(.text+0x0): multiple definition of `MM_create'
>     Zend/.libs/libZend.al(mm_global.o)(.text+0x0): first defined here
>     /usr/lib/libmm.a(mm_global.o): In function `MM_permission':
>     mm_global.o(.text+0x2c): multiple definition of `MM_permission'
>     ..etc...
> 
> When I re-compiled mm with standard options, then PHP compiled fine, but
> gradually kept producing more segfaults, until finally no PHP script with
> sessions would run.
> 
> The server is getting fairly heavy load, often running as many as 300 httpd
> processes, each getting very frequent requests.
> 
> Any and all help appreciated, because the session usage is killing the
> server, and I was hoping mm as a session handler would help.
> 
> Thanks,
> 
> Rick Morris
> 
> 



-- 
Yasuo Ohgaki

--- End Message ---
--- Begin Message ---
You have some older dlls being called. Do a search for the dll file in
question (and any others giving a similar message) and replace them with
the ones in the new distro.

Stepahno

> -----Original Message-----
> From: Brad Harriger [mailto:[EMAIL PROTECTED]]
> Sent: 08 January 2002 19:00
> To: [EMAIL PROTECTED]
> Subject: [PHP-INST] PHP upgrade problem
> 
> I've installed PHP 4.11 in the same location I had the previous
version
> (4.0.6) I was running.  Now I'm receiving the following error:
> 
> The procedure entry point zend_ptr_stack_push could not be located in
> the dynamic link library php4ts.dll.
> 
> This error occurs every time I load a page.  How can I eliminate this
> message?
> 
> Thanks in advance,
> 
> Brad
> 
> 
> --
> 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]



--- End Message ---
--- Begin Message ---
I copied the dlls that came with the download to the directory.  I'm 
still getting the same error.

Brad



Stephano Mariani wrote:

> You have some older dlls being called. Do a search for the dll file in
> question (and any others giving a similar message) and replace them with
> the ones in the new distro.
> 
> Stepahno
> 
> 
>>-----Original Message-----
>>From: Brad Harriger [mailto:[EMAIL PROTECTED]]
>>Sent: 08 January 2002 19:00
>>To: [EMAIL PROTECTED]
>>Subject: [PHP-INST] PHP upgrade problem
>>
>>I've installed PHP 4.11 in the same location I had the previous
>>
> version
> 
>>(4.0.6) I was running.  Now I'm receiving the following error:
>>
>>The procedure entry point zend_ptr_stack_push could not be located in
>>the dynamic link library php4ts.dll.
>>
>>This error occurs every time I load a page.  How can I eliminate this
>>message?
>>
>>Thanks in advance,
>>
>>Brad
>>
>>
>>--
>>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]
> 
> 
> 
> 

--- End Message ---
--- Begin Message ---

Hello,
I am trying to install php4.0.6 on an alpha running OSF V5.1

This is the configuration i am using:

./configure --with-apxs=/usr/local/apache/bin/apxs
--with-mysql=/usr/local/mysql --with-gd=/usr/local/src/gd-1.8.4
--with-png-dir=/usr/local/src/libpng-1.2.0
--with-zlib-dir=/usr/local/src/zlib --with-curl=/usr/local/lib
--with-calendar --with-jpeg-dir=/usr/local/src/jpeg-6b/ --with-imap-ssl

(I also tried using just --with-imap instead of --with-imap-ssl, but i am
running apache with ssl. Both times i got the same error below).
My imap c-client.a is in /usr/lib and the required .h files are in
/usr/include.

This is the error is get during make:

cc: Error: scanf.h, line 48: There is no definition for the inline
function named scan_set_error_return in this compilation unit. (noinlfunc)
inline void scan_set_error_return(int numVars,pval **return_value);

I did try chaning some configuration options, but this error seems to have
something to do with php itself.

Any ideas?

thanks in advance!
-tom



..

--- End Message ---
--- Begin Message ---
I'm getting an error I don't like. Since I first installed PHP on my SuSE
7.3 box with RPM, the version has changed from 4.0.6 to 4.1.1 and I want to
upgrade manually with tar.gz. The cool thing is, I'm getting the "old"
./configure options. So I applied those, however, I'm getting an error which
is:

configure:20082: checking for XpmFreeXpmImage in -lXpm
configure:20103: gcc -o
conftest -g -O2  -DEAPI_MM -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHARD
_SERVER_LIMIT=2048 -DDYNAMIC_MODULE_LIMIT=12
      -L/lib -lX11
     -lpng -lz -ljpeg -lz -lxml2 -lgdbm -lcurl -ldl -lcrypto -lssl -lcurl -l
bz2 -lz -lcrypt -lssl -lcrypto -lresolv -lm -ldl -lnsl  -lresolv -lc
/usr/i486-suse-linux/bin/ld: cannot find -lXpm
collect2: ld returned 1 exit status


Could someone advice me what to do? Thanks in advance,

Mark.


--- End Message ---

Reply via email to