The AR300M works very well with lighttpd and php particularly if you build your own LEDE/OpenWrt 17.01.04 image. The 16 MB Nor Flash and 128MB ram is more than adequate.