Joomla 2.5 on apache 2.4 with php-fpm

Joomla versions 2.5, 1.7 and 1.6 are all end-of-life since December 31st 2014 and are no longer supported. Please use Joomla 3.x instead.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
wolviecb
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Fri Sep 12, 2014 5:11 pm

Joomla 2.5 on apache 2.4 with php-fpm

Post by wolviecb » Fri Sep 12, 2014 5:24 pm

Hi,

I've been trying to install Joomla on a Apache 2.4 install running php-fpm and when I switch to the php-fpm I 404 errors on links beyond the index.php (ex: /index.php/20.../xxx.html), the apache vhost is passing the php to the fpm server through the

Code: Select all

        <LocationMatch "^/(.*\.php)$">
               ProxyPass fcgi://127.0.0.1:9000/path/to/vhost/$1
        </LocationMatch>
does anyone use the apache/php-fpm model?

joomlovenow
Joomla! Intern
Joomla! Intern
Posts: 92
Joined: Thu Mar 22, 2012 1:15 am
Location: Norway
Contact:

Re: Joomla 2.5 on apache 2.4 with php-fpm

Post by joomlovenow » Wed Sep 17, 2014 9:29 am


wolviecb
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Fri Sep 12, 2014 5:11 pm

Re: Joomla 2.5 on apache 2.4 with php-fpm

Post by wolviecb » Thu Sep 25, 2014 8:10 pm

I've already tried the ProxyPassMatch approach, still didn't work

additionally, with the ^/(.*\.php)$ regex I got a simple apache 404 error, with the ^/(.*\.php(/.*)?)$ regex I get a Joomla 404 error, Category Not Found, seems to be a rewrite error since the php-fpm don't read .htaccess files.


Locked

Return to “Installation Joomla! 2.5”