You are not logged in.

#1 2016-01-02 20:43:32

kenduron
Member
Registered: 2015-12-30
Posts: 10

apache2-webserver with different php-versions

hello,

i want to have a local webservice using php5 and php7 using arch linux.
any hint or a good tutorial how to archieve this?

thanks!

Offline

#2 2016-01-02 21:02:16

progandy
Member
Registered: 2012-05-17
Posts: 5,280

Re: apache2-webserver with different php-versions

You'll have to build php5.x from source and set a custom prefix.
I think you also have to run your at least one php version as an fcgi service instead of the apache module.
You can take the official PKGBUILD as a template and modify the version and configure options as needed.

Last edited by progandy (2016-01-02 21:02:42)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#3 2016-01-03 12:16:00

zenlord
Member
From: Belgium
Registered: 2006-05-24
Posts: 1,223
Website

Re: apache2-webserver with different php-versions

Or have a look in the AUR: there are already packages available for v5.3 and v5.4 - it might be useful to other people as well if you would create v5.6 and share through AUR smile

Offline

Board footer

Powered by FluxBB