You should look into switching to PHP-FPM and running it behind nginx. Apache + mod_php uses significantly more memory and takes longer to load the PHP core for each requst. Contrary to web rumor, you do not need apache installed behind nginx. Nginx can run PHP on it's own perfectly fine.
However, PHP loading probably won't be your bottleneck - so since Apache is working, I don't recommend switching until you've had time to play around with nginx and know how it works. I would download nginx on your machine and start with something simple like getting wordpress up and running. I've seen about 5-20% increase in requests per-second since switching to nginx (depending on the project) plus a decrease in memory usage. If you use windows, I built a no-install nginx/mysql/php server package you can run on a USB stick.
Do you have a caching layer? It sounds like you are dealing with simple data in some of the requests, you could add memcached in some places to store data in ram and save MySQL or the filesystem for more important tasks.
Switch to Debian. Ubuntu includes a lot of extra junk that isn't needed on most servers. My standard Debian install only uses about 12MB RAM before I install PHP + Nginx and the database. I have one VPS handling a couple sites and the whole thing runs on a 128MB VPS using only 80MB of ram with PostgreSQL, Nginx, and 15 PHP-FPM instances running. I built a server setup script that removes a lot of extra stuff and sets up nginx, iptables, php and other stuff.
We see this with CMS, after blog, after CMS being released each day. We even had John try the Wordpress Ghost project only realize just how hard it would be to fix. Personally, after skimming thousands of projects over the past year my money is on A) automattic branching out with a new system (they have the cash to do it), or B) ForkCMS gaining ground since it's the best multilingual system I've seen yet (actually the only decent one).
Quite an interesting little abomination. I don't recommend using it as much as I recommend studying it. There are some interesting thoughts going on in there that could help expand developers understanding of the language.
However, PHP loading probably won't be your bottleneck - so since Apache is working, I don't recommend switching until you've had time to play around with nginx and know how it works. I would download nginx on your machine and start with something simple like getting wordpress up and running. I've seen about 5-20% increase in requests per-second since switching to nginx (depending on the project) plus a decrease in memory usage. If you use windows, I built a no-install nginx/mysql/php server package you can run on a USB stick.
Do you have a caching layer? It sounds like you are dealing with simple data in some of the requests, you could add memcached in some places to store data in ram and save MySQL or the filesystem for more important tasks.
Switch to Debian. Ubuntu includes a lot of extra junk that isn't needed on most servers. My standard Debian install only uses about 12MB RAM before I install PHP + Nginx and the database. I have one VPS handling a couple sites and the whole thing runs on a 128MB VPS using only 80MB of ram with PostgreSQL, Nginx, and 15 PHP-FPM instances running. I built a server setup script that removes a lot of extra stuff and sets up nginx, iptables, php and other stuff.
We see this with CMS, after blog, after CMS being released each day. We even had John try the Wordpress Ghost project only realize just how hard it would be to fix. Personally, after skimming thousands of projects over the past year my money is on A) automattic branching out with a new system (they have the cash to do it), or B) ForkCMS gaining ground since it's the best multilingual system I've seen yet (actually the only decent one).
cli, cli, & cli. I also use firebug and vim/geany (used to use EclipsePDT, SciTE, and SublimeText).
Quite an interesting little abomination. I don't recommend using it as much as I recommend studying it. There are some interesting thoughts going on in there that could help expand developers understanding of the language.
(sergiigrebeniuk)