Configuration file for PHP server script

Posted by teehoo on Stack Overflow See other posts from Stack Overflow or by teehoo
Published on 2010-05-24T15:56:38Z Indexed on 2010/05/24 16:01 UTC
Read the original article Hit count: 235

Filed under:
|
|

Right now I have a very high volume of requests coming to my webserver which execute a PHP CGI script.

Every one of these scripts opens up a config file that I have created to load options of how the script should run.

Doing a file I/O operation everytime a request comes in seems very resource intensive to me. I'm not too familiar with the advanced features of PHP, are there any alternatives to achieve what I'm doing?

© Stack Overflow or respective owner

Related posts about php

Related posts about cgi