Re: Shared memory in extensions

From: Date: Mon, 02 Apr 2001 11:10:26 +0000
Subject: Re: Shared memory in extensions
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-50558@lists.php.net to get a copy of this message
Linux! RedHat 6.2, Apache 1.3.14, PHP 4.0.4pl1 I forgot to mention that because shmget fails and that it does so in PHP_MINIT_FUNCTION, apache wil not start! Thomas I compile the module _into_ PHP due to the Alexander Feldman wrote: > > On Mon, 2 Apr 2001, Thomas Wentzel wrote: > > > Hi > > > > Can anybody help me? > > > > I'm trying to allocate some shared memory in the PHP_MINIT_FUNCTION - > > but it fails everytime during the shmget function. > > I then did a little stand-alone C-prog, that did the same (tried to > > allocate 3,5M of mem) and it works fine - everytime! > > Is there some issued when using shared mem in php extensions? > > On what platform is this? > > > > > BR > > Thomas > > -- Alex > > > > > -- > > PHP Development Mailing List <http://www.php.net/> > > To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net > > For additional commands, e-mail: php-dev-help@lists.php.net > > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net > For additional commands, e-mail: php-dev-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.dev (#50558) next »