Re: Shared Memory Error.
| From: | Lars Torben Wilson | Date: | Mon, 18 Feb 2002 21:17:03 +0000 |
| Subject: | Re: Shared Memory Error. | ||
| References: | 1 | Groups: | php.general php.install |
| Request: | Send a blank email to php-general+get-85287@lists.php.net to get a copy of this message | ||
On Sun, 2002-02-17 at 23:34, Paul J. Stevens wrote:
> I am using PHP Version 4.0.4pl1 with an Embedded Linux (PeeWee Linux,
> which is based on Red Hat 6.2 w/ a 2.2.18 Kernel).
>
> I have tried using shmop_open(), shm_open() & shm_attach(). All of these
> give an error message of "function not defined".
>
> It is not clear form the documentation that I have seen on the net and
> in the "PHP Developer's Dictionary" which, if any,
> of the functions listed above are correct. Nor is it clear what has to
> be done to make the functions "defined".
From the PHP Manual (http://www.php.net/shmop):
To use shmop you will need to compile php with the --enable-shmop
parameter in your configure line.
In general, try a './configure --help' in your source tree.
Hope this helps,
Torben
> I have created the shared memory in a "C" program that controls my
> embedded device. I am attempting to create a web
> page to aid in the control of the embedded device.
>
>
> Thanks,
>
> Paul Stevens
--
Torben Wilson <torben@php.net>
http://www.thebuttlesschaps.com
http://www.hybrid17.com
http://www.inflatableeye.com
+1.604.709.0506