Justtechjobs.com Find a programming school near you






Online Campus Both


php-developer-list | 2001041

Re: [PHP-DEV] Shared memory in extensions From: Alexander Feldman (alex <email protected>)
Date: 04/02/01

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 <email protected>
> > > For additional commands, e-mail: php-dev-help <email protected>
> > > To contact the list administrators, e-mail: php-list-admin <email protected>
> > >
> >
> > --
> > PHP Development Mailing List <http://www.php.net/>
> > To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
> > For additional commands, e-mail: php-dev-help <email protected>
> > To contact the list administrators, e-mail: php-list-admin <email protected>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
> For additional commands, e-mail: php-dev-help <email protected>
> To contact the list administrators, e-mail: php-list-admin <email protected>
>

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>