Wondering if anyone else is seeing this. I’m normally used to FreeBSD not Ubuntu (13.04) so I’m not even sure if this is normal
Even when running a static .html file with php it normally takes 20 ms to do-
Using real PHP files are even worse. This is on a 512 MB droplet.
On my FreeBSD machine (dedicated) it works as expected-
The BSD box has a lot more extensions loaded than the Ubuntu one but it does have the same ones Ubuntu does have loaded. That is- pdo, apc, gd, memcache, mysql, mysqli, pdo_mysql, xdebug, mongo. When I remove all extensions it doesn’t make a huge difference.
As well I don’t believe it’s related to the disk. I tested it and it was OK. My FreeBSD box uses normal HDDs. Is this just a difference that should be normal?
P.S. PHP versions: Ubuntu 5.4.6-1ubuntu1.2 FreeBSD: 5.4.10 (built from ports Apr 22)
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.