Quote Originally Posted by nixhostcouk View Post
I would suggest you look into lighttpd or nginx, nginx prefered, since it's much better at handling connections then lighttpd.

setup mysql, nginx, tune the mysql for low memory, maybe introduce some disk caching on static content (if running wordpress)

We have clients running setups like this.
Quote Originally Posted by ab1ko View Post
Running nginx is a must, now if you run PHP-FPM set the one pool and set it to use few workers. You will see what is the memory usage of each PHP-FPM child, however running a web server on 64 MB machine would need certain drastic drawbacks, as not using MySQL (or disabling the InnoDB storage and optimizing MySQL for this low-level environment). Better yet is to use a remote MySQL database or use SQLite for that matter.

Also, if you set caching in nginx be prepared for it to eat up some memory too, if disable it you should have a web server running happily under 45-50 MB.
yeah i already switched to nginx and lighty prior installing the apache.
i just wanna try to max out this vps box while keeping apache's rewrite function.

tried litespeed too but with just 64mb RAM turned out that it wasn't enough to compile the php alone

remote mysql is a good idea, i think i will manage my dns from external box too. thanks anyway mates