Re: [PHP] Shared Memory Problem

2005-11-17 Thread Jochem Maas
Yaswanth Narvaneni wrote: Hi! I found the solution to my prob. SELinux was enabled in the server which needs disabling. After disabling SELinux it was working great. Thanks for your help guys. Another small query though, is there anyway to enable SELinux and as well use shared memory between

Re: [PHP] Shared Memory Problem

2005-11-16 Thread Yaswanth Narvaneni
Hi Curt, These are my open shared memories in the server output of ipcs command. -- Shared Memory Segments keyshmid owner perms bytes nattch status 0x 18645001 gOLeM 600393216 2 dest 0x162e 18808842 root

Re: [PHP] Shared Memory Problem

2005-11-16 Thread Yaswanth Narvaneni
Hi! There is a strange problem now. This is the error message my php file gives. kernel not configured for shared memory kernel not configured for semaphores kernel not configured for message queues The source is as follows: ?php $shm_id = shmop_open(5678, a, 0, 0); if (!$shm_id) { echo

Re: [PHP] Shared Memory Problem

2005-11-16 Thread Yaswanth Narvaneni
Hi! I found the solution to my prob. SELinux was enabled in the server which needs disabling. After disabling SELinux it was working great. Thanks for your help guys. Another small query though, is there anyway to enable SELinux and as well use shared memory between PHP and C++? I know using

[PHP] Shared Memory Problem

2005-11-15 Thread Yaswanth Narvaneni
Hi! I have a server written in C++ and my webpages are in PHP. The PHP has to communicate with the server using shared memory. This was working fine on the server running FC-1 with php-4.3.8. We recently migrated to CentOS 4.1 (Equivalent to RHEL 4.1) running php-4.3.9. The error it displays is

Re: [PHP] Shared Memory Problem

2005-11-15 Thread Curt Zirzow
On Wed, Nov 16, 2005 at 03:33:22AM +0530, Yaswanth Narvaneni wrote: Hi! I have a server written in C++ and my webpages are in PHP. The PHP has to communicate with the server using shared memory. This was working fine on the server running FC-1 with php-4.3.8. We recently migrated to CentOS