Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

PHP with Apache & Nginx

General questions about VestaCP
Post Reply
  • Print view
Advanced search
5 posts • Page 1 of 1
fossxplorer
Posts: 22
Joined: Sun Sep 07, 2014 10:04 am

PHP with Apache & Nginx
  • Quote

Post by fossxplorer » Tue Apr 12, 2016 2:20 pm

Hi,
how is PHP handled with Apache? Can we use PHP-FPM with Apache?
Top

SaraThompson
Posts: 3
Joined: Wed Apr 13, 2016 8:46 am

Re: PHP with Apache & Nginx
  • Quote

Post by SaraThompson » Wed Apr 13, 2016 9:05 am

very useful information .Thank you!
Top

BBuchanan1013
Posts: 139
Joined: Thu Jan 07, 2016 12:01 am

Re: PHP with Apache & Nginx
  • Quote

Post by BBuchanan1013 » Fri Apr 15, 2016 6:27 am

It's not just for Windows....a simple google search brought up this:
https://www.vultr.com/docs/use-php5-fpm ... untu-14-04
Top

fossxplorer
Posts: 22
Joined: Sun Sep 07, 2014 10:04 am

Re: PHP with Apache & Nginx
  • Quote

Post by fossxplorer » Fri Apr 15, 2016 8:33 pm

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
Top

Elizine
Posts: 50
Joined: Wed Aug 12, 2015 12:11 pm
Contact:
Contact Elizine
Website

Re: PHP with Apache & Nginx
  • Quote

Post by Elizine » Sat Apr 16, 2016 11:32 am

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.
Top


Post Reply
  • Print view

5 posts • Page 1 of 1

Return to “General Discussion”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password