user3010273
user3010273

Reputation: 900

In apache - are php files read from disk each time they are called?

I think it's a pretty big bottleneck for big sites? Is there a way to store them in memory?

Upvotes: 1

Views: 79

Answers (1)

Chris Seufert
Chris Seufert

Reputation: 869

Yes PHP files are by default read and executed every page request.

You should look into something like APC, Zend Accelerator, another PHP opcode cache

You may already have these installed, however most of the time they will need some edits to PHP.INI to get them doing their job.

Upvotes: 2

Related Questions