Re: Shared memory in extensions
| From: | Alexander Feldman | Date: | Mon, 02 Apr 2001 11:33:33 +0000 |
| Subject: | Re: Shared memory in extensions | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-50566@lists.php.net to get a copy of this message | ||
On Mon, 2 Apr 2001, Thomas Wentzel wrote:
> 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!
With what parameters are you calling shmget? What is the errno after this
call?
-- Alex
>
> 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
>
> --
> 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
>