Tell me more ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I need to be able to use .htaccess, PHP 5, MySQL 5 on new configuration.

While I was looking for a way to increase server performance, someone suggests me to change my current system, Apache + Plesk, to Nginx with PHP-FPM, APC setup. I wonder if I can use this system considering my needs above ?

I don't have much information about managing server etc. So please let me know if I need to add something else here.

Thanks for your patience

share|improve this question

2 Answers

nginx doesn't support .htaccess; all configuration needs to happen at the main server level

share|improve this answer

Yes, you can use NGINX to serve PHP sites backed by MySQL. It's not quite as simple as Apache's support for PHP, but it's not terribly hard, and is well-documented on the web.

Look into PHP-FPM

Check out http://interfacelab.com/nginx-php-fpm-apc-awesome/ and http://www.howtoforge.com/installing-php-5.3-nginx-and-php-fpm-on-ubuntu-debian to start

When all else fails, there is always the documentation: http://wiki.nginx.org/Configuration

share|improve this answer
Thank you for the generous answer. I think I cannot use the new system with Plesk, can I? – nahha Feb 21 '12 at 16:39
I can't say; I have no experience with Plesk. – gWaldo Feb 21 '12 at 17:06

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.