[PHP] Running PHP for different virtual domains on different Apaches

2003-11-21 Thread Philip Mak
Something that I wrote recently that I thought may be of general interest for system administrators running PHP: The web server runs on port 80, with the priviledges of the username "apache". On most webhosts that support PHP, this web server executes the PHP scripts. The PHP scripts would thus al

[PHP] Memory usage question

2001-07-12 Thread Philip Mak
My machine is running out of memory (256 MB; upgrading is not an option at this point). Each httpd process is taking up 8 MB of memory (4 MB shared). PHP4 is responsible for about 3.5 MB of that. Is there a way that I can reduce the memory usage of PHP4? Also, is it a good idea to configure a se