httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kees Nuyt <>
Subject Re: [users@httpd] Can the Apache run the php files which is created in memory dynamicly ?
Date Fri, 25 Mar 2016 09:57:22 GMT
On Fri, 25 Mar 2016 16:30:02 +0800, David wrote:

> Thank you in advance for reading the email.
> In Apache, the web root is configured in httpd.conf file by "ServerRoot" setting.
> The "ServerRoot" setting is always like "D:/Web/", it can not be configured to memeory
> but I want to generate the php file in memory dynamicly and don't want to save the php
file into hard disk.
> Can the Apache run the php files which is created in memory dynamicly ?
> If the Apache can run the special php file, how to configure or modify the Apache?

Please do not hijack existing threads with new questions.

I don't know of a way to run a piece of PHP from the memory of
some program, and I wonder what problem you think that would

You could obtain a similar performance effect by using:

- a so-called RAM-disk
- a filesystem in memory, e.g. /tmp in Solaris and Linux

By the way, perhaps ServerRoot is not what you should use,
DocumentRoot is probably what you mean.

If you decide to follow-up: please state the primary problem you
are trying to solve, instead of issues with the solution you
thought was best. There might be better solutions.

> Thanks again.
> David
> 2016-03-25


Kees Nuyt

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message