wolvesb Posted June 23, 2005 Posted June 23, 2005 I am trying to learn PHP, and was interested in using shared memory functionality. The documentation I can find ( http://jamesthornton.com/php/manual/ref.shmop.html ) is for 4.0.3 - is this supported on the TCH servers? is there a reason that it wouldn't be supported? Thank you. Quote
TweezerMan Posted June 23, 2005 Posted June 23, 2005 PHP's shared memory functions are not enabled on TCH's servers. I presume this is because functions like these are not safe in a shared hosting environment (one user could conceivably hose the entire server). Quote
stevevan Posted June 23, 2005 Posted June 23, 2005 wolvesb: FWIW...One program I've found (recommended by several family members here) is Xampp. It's basically a whole Apache server complete with PHP that you can store on a CD or on a USB memory stick. It's excellent for learning PHP (or other programming) without hosing up your site or a server. (Plus it doesn't affect your bandwidth on your site, either!) Just do a google search and you'll find it. Just my $.02 worth! Quote
TCH-Don Posted June 23, 2005 Posted June 23, 2005 I second xampp, I use the lite version. Its so nice to just edit a page and view it on my computer instantly Quote
wolvesb Posted June 24, 2005 Author Posted June 24, 2005 PHP's shared memory functions are not enabled on TCH's servers. I presume this is because functions like these are not safe in a shared hosting environment (one user could conceivably hose the entire server). <{POST_SNAPBACK}> Are there any lightweight mechanisms to communicate between two simultaneously running PHP scripts that will work in the TCH environment? Or do I just do file or database I/O? Quote
TweezerMan Posted June 25, 2005 Posted June 25, 2005 I am not aware of any, but I don't really know much about this particular subject. I have to admit I'm at a bit of a loss to understand how or why you'd have 2 PHP scripts running at the same time that needed to communicate with each other on the server. I think you could do what you want with the methods you describe (file or database I/O), if there are no other options available on the server. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.