Page 1 of 1

PHP with Apache & Nginx

Posted: Tue Apr 12, 2016 2:20 pm
by fossxplorer
Hi,
how is PHP handled with Apache? Can we use PHP-FPM with Apache?

Re: PHP with Apache & Nginx

Posted: Wed Apr 13, 2016 9:05 am
by SaraThompson
very useful information .Thank you!

Re: PHP with Apache & Nginx

Posted: Fri Apr 15, 2016 6:27 am
by BBuchanan1013
It's not just for Windows....a simple google search brought up this:
https://www.vultr.com/docs/use-php5-fpm ... untu-14-04

Re: PHP with Apache & Nginx

Posted: Fri Apr 15, 2016 8:33 pm
by fossxplorer
The 2 posts above yours are spammers. If you click on their username, you'll see they are just writing crap on forum posts.
Might be some kind of automated stuff that does this?
These must be blocked! What i suspect is that there might forces out there that have very strong interest in working against such a presumably (since i haven't tested Vesta yet) good and FOSS control panel. There are 100s out there, but atm. it looks this one a clear winner really for me.

Of course wasn't Apache designed to be run on Windows only, it CAN run on Windows as well...
BBuchanan1013 wrote:It's not just for Windows....a simple google search brought up this:
https://www.vultr.com/docs/use-php5-fpm ... untu-14-04

Re: PHP with Apache & Nginx

Posted: Sat Apr 16, 2016 11:32 am
by Elizine
Instead of this line:
AddType application/x-httpd-php .php .phtml

Try substituting one of these, which do the same thing depending on your setup and configuration:

AddHandler application/x-httpd-php .php .phtml
AddHandler x-httpd-php .php .phtml

If your files aren't .php or .phtml, add the extension(s) you're using to the lines.