|
Posted by Chung Leong on 09/07/06 17:52
Jose da Silva wrote:
> Hi there people,
>
> I'm having a problem, i've designed an php extension, that uses shared
> memory iteraction.
>
> Altought, Php is initializing the extension as root, leaving the shared
> memory with wrong permissions, as is created as root process.
>
> Is there any way to initialize extensions, not as root?
>
> Thanks
> Jose Silva
A simple solution would be to do the allocation in PHP_RINIT().
Navigation:
[Reply to this message]
|