开发者

PHP5 object instances are in server RAM or on client's computer RAM

PHP5 object instances w开发者_如何学Pythonhile the application is running are in server RAM or on client's computer RAM ?!

what about sessions ?!

sorry for this dumb question, I need to know this so I know how to manage memory.

If I'm getting the idea of PHP applications wrong plz correct me.

Thank you.


sessions and objects are stored in your servers RAM


php runs on the server ... when php has completed processing, the result is delivered to the client


PHP executes on the server side. Objects created are in server memory.


PHP objects are stored in the server's RAM. Sessions are usually stored on the servers hard disk (in the /tmp directory) but current sessions will use up some of the server's RAM too. Everything PHP related will be on the server. The client only deals with HTML, CSS, JavaScript and any plugins (like Flash).


If we're talking about "traditional" PHP apps, then most of the work happens server side. Stuff like HTML5 databases, client caches etc can muddy the waters (so thought I'd throw 'em in for good measure.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜