Maybe is a silly question, but... WebFaction uses xginx to serve static content and apache to serve dynamic content with PHP and in the routing system, they are set to parse different directories content. My question is: can PHP write anywhere in the filesystem and so also static content to be served by xginx, i.e images uploaded by visitors? Thanks
asked Feb 27 '12 at 03:16
Yes, that's possible. You can set your PHP application to upload images to a directory and then create a symbolic link application there, which will treat the contents of that directory as if it were a Static-only application and have the files served by nginx.
answered Feb 27 '12 at 04:18