[imp] A little Redhat/Imp help please....

Erik Slooff erik@slooff.com
Thu, 14 Feb 2002 17:25:47 +0100


Hi Joel,

Just wondering...
did you configure php correctly with the right support? I used:
./configure --with-apxs=/usr/local/httpd/bin/apxs --with-gettext --with-xml
--with-mysql --with-imap 

Bye,

Erik


Quoting Joel Epstein <joele@iws-irms.com>:

> Ughhh.. shared memory issues!
> 
> I have a fresh full install of Redhat 7.2.  You will find my configurations
> below.  I seem to always get the following 
> message:
> 
> Fatal error: Call to undefined function: sem_get() in
> /usr/local/apache/php/ct_shm.inc on line 35.
> 
> I'm assuming I'm getting a shared memory issue.  I am not configuring this
> machine with a datbase.  local.inc has been 
> modified to use shared memory, as has prepend.php3. Php was compiled to use
> sysvmem and sysvshm.  I used a similar 
> configuration on RedHat 6.2, and that implementation is still in production. 
> Test.php3 shows imap compiled in.
> It also shows that it correctly created a shared memory session.  Any
> clues?
> 
> I am using the following packages:
> 
> apache_1.3.19
> imap-2001a
> imp-2_2_6_tar.gz
> mod_perl-1.26
> mod_ssl-2.8.3-1.3.19
> php-4.1.1
> 
> Compilations:
> 
> 1) cd /mod_ssl
>     ./configure \
>      --with-apache=../apache_1.3X
>     cd ..
> 
> 2) cd mod_perl
>     perl Makefile.PL \
>     EVERYTHING=1 \
>     APACHE_SRC=../apache_1.3X/src \
>     USE_APACI=1 \
>     PREP_HTTPD=1 \
>     DO_HTTPD=1
> 
>     make; make install
>     cd..
> 
> 3) cd /php-4.1.1
>     CFLAGS='-O2 -I/usr/local/ssl/include' \
>     ./configure \
>     --with-apache=../apache_1.3X \
>     --enable-memory-limit=yes \
>     --enable-debug=no \
>     --enable-sysvmem \
>     --enable-sysvshm
> 
>     gmake; gmake install
>     cd..
> 
> 4) cd /apache_1.3X
>     SSL_BASE=/usr/local/ssl \
>     ./configure \
>     --prefix=/usr/local/apache \
>     --enable-module=ssl \
>     --activate-module=src/modules/php4/libphp4.a \
>     --enable-module=php4 \
>     --activate-module=src/modules/perl/libperl.a \
>     --enable-module=perl
> 
>     make; make certificate; make install
> 
> 5) All done.
> 
> 
> 
> 
> -- 
> =================================
> Joel Epstein
> Manager of Systems Integration
> Integrated Warehousing Solutions
> 3075 Highland Parkway  Suite 715
> Downers Grove, Illinois 60515
> Phone:  630.932.4300
> Fax:    630.932.7652
> Email:  joele@iws-irms.com
> 
> 
> 
> -- 
> IMP mailing list: http://horde.org/imp/
> Archive: http://marc.theaimsgroup.com/?l=imp&r=1&w=2
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe@lists.horde.org
> 
> 


-------------------------------------------
Erik Slooff
J. Obrechtlaan 30
2132 KV  Hoofddorp
T: +31 235622565
F: +31 235621786
M: +31 611316667
E: erik@slooff.com <mailto:erik@slooff.com>
-------------------------------------------