From: Anton Gorlov <stalker@altlinux.ru>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] использовать php5 вместо php7
Date: Thu, 22 Aug 2019 11:41:55 +0300
Message-ID: <fbc699d4-5024-7137-5348-cc4011987225@altlinux.ru> (raw)
In-Reply-To: <95075bcd71f249f29bd123799b65f3ff@V02-EXCH-003.resources.smpgroup.ru>
22.08.2019 9:28, Гусев Владислав Юрьевич пишет:
> Да, я уже рассматривал вариант переписать сайт.
> Это печальная задача, учитывая, что я не знаю библиотек php.
> Прямо так в лоб, как в приведённом примере, не получится.
> Там используется ADOConnection. Надо ещё и с ним разбираться.
> В любом случае, это долгая кропотливая работа.
>
> Просто подумалось, если параллельно стоят php5-5.6.38 и php7-7.2.19, то я могу как-то использовать php5, переопределив обработчик php для конкретного сайта.
В общем случае варианта 3...
1) Ещё 1 апач на соседнем порту, с нужной версией php. 2 библитеки PHP в
рамках 1 апача не дружат.
2) Пускать как CGI
3) PHP-FPM и на него проксировать
prev parent reply other threads:[~2019-08-22 8:41 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-21 9:21 Гусев Владислав Юрьевич
2019-08-21 19:46 ` Alexander Yereschenko
2019-08-21 19:49 ` Anton Gorlov
2019-08-22 6:28 ` Гусев Владислав Юрьевич
2019-08-22 8:41 ` Anton Gorlov [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=fbc699d4-5024-7137-5348-cc4011987225@altlinux.ru \
--to=stalker@altlinux.ru \
--cc=sysadmins@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux sysadmins discussion
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
public-inbox-index sysadmins
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sysadmins
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git