<div dir="ltr"><div>Hi Julie,</div><div><br></div><div>CentOS is no longer supported
(by which I mean the operating system itself has been discontinued, not
the LORIS support for it.) The MCIN
production servers currently run on CentOS7 which is why the
installation procedure is well documented/tested for that system, but
given the discontinuation of CentOS the plan is to move our production
servers off of CentOS entirely. It's worth noting that CentOS 8 EOL is
2021, while CentOS 7 EOL is 2024. This is the reason why our
documentation is tailored to V7.<br></div><div><br></div><div>We don't have much experience running LORIS under php-fpm, which is why there's no documentation for that environment. At one point years ago I had written a configuration file in order to use it in Travis CI, but since then testing/development has moved towards using Docker and the built-in PHP web server (I just looked at that configuration file and it's so old it refers to php5..). mod_php is currently the only supported/documented PHP environment as it's all most of the LORIS developers have experience with (though I also regularly develop with the php built in dev server, so I'm confident that that works as well.)</div><div><br></div><div>The good news is our dependency on apache/mod_php is much weaker than it was when I had worked on it years ago, but the bad news is there's no written documentation that I'm aware of.</div><div><br></div><div>If you're willing to do the work of debugging the environment we can help where we can, but if you're trying to get a system up and quickly it's likely faster and easier to use something that we have more experience with. For reference, I don't think the php_value setting you're trying to set should be required anywhere by LORIS. LORIS uses an autoloader for class/include resolution and shouldn't depend on the PHP include_path. If you're set on php-fpm you can look at docs/config/apache2-fastcgi as a starting point, but note that that configuration is from 2014 (which as far as I know is the last time anyone tried to use LORIS in that environment.)<br></div><div><br></div>P.S. (Forgive me if I'm slow to respond to any emails as I'm on vacation until next week..)</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jan 12, 2021 at 12:39 PM Julie Ashworth, HWNI Computing Support <<a href="mailto:support-cirl@berkeley.edu">support-cirl@berkeley.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div>Thank you,</div><div dir="auto">In the last 4 emails I have simply asked for current linux documentation, not centos8 documentation (preferably that mentions php-fpm configuration). Is that available?</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">On Tue, Jan 12, 2021, 8:59 AM Samir Das <<a href="mailto:samirdas99@gmail.com" target="_blank">samirdas99@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Julie,<div><br></div><div>We'll do our best to help you with this configuration. :) We'll send you any documentation we have.</div><div><br></div><div>Regarding CentOS, since RedHat has discontinued its support, we are planning on putting our testing resources elsewhere. We have yet to discuss CentOS-Stream, which we will do next week. But I wouldn't worry too much... we'll help as much as we can given that you have already installed it, etc. If the problems become too tedious, then we can figure out options together.</div><div><br></div><div>Best,</div><div><br></div><div>Samir Das</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jan 12, 2021 at 5:52 PM Julie Ashworth, HWNI Computing Support <<a href="mailto:support-cirl@berkeley.edu" rel="noreferrer" target="_blank">support-cirl@berkeley.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">hi Shen,<br>
<br>
On 12-01-2021 11.40 -0500, Shen Wang wrote:<br>
> So Loris team will not support Centos. We will only support Ubuntu in the future. <br>
<br>
That's interesting that CentOS will no longer be supported.<br>
<br>
Since you previously mentioned that CentOS8 should work, I already started the installation, and I'd like to see if it works.<br>
<br>
So, please, please... <br>
will you please send me a link to the most recent instruction for loris installation that includes the php_value in /etc/php-fpm.d?<br>
As I said, I can modify ubuntu instructions. I don't need instructions specific to CentOS.<br>
<br>
thanks,<br>
Julie<br>
<br>
<br>
<br>
On 12-01-2021 11.40 -0500, Shen Wang wrote:<br>
> Hi Julie,<br>
> We are holding the Loris meeting to discuss whether to support centos in<br>
> the future. <br>
> Loris's sub-modules have issues with the Centos system. So Loris team will<br>
> not support Centos.<br>
> We will only support Ubuntu in the future. <br>
> Best <br>
> Shen<br>
> On Tue, 12 Jan 2021 at 11:27, Julie Ashworth, HWNI Computing Support<br>
> <[1]<a href="mailto:support-cirl@berkeley.edu" rel="noreferrer" target="_blank">support-cirl@berkeley.edu</a>> wrote:<br>
> <br>
> hi Shen,<br>
> I'm looking for documentation of the (useful!) instruction you provided<br>
> in your previous email:<br>
> <br>
> >  step 2 : add "php_value[include_path] =<br>
> >  ....." into /etc/php-fpm.d/loris.conf<br>
> <br>
> I would appreciate a link to that documentation, because I think it<br>
> would be valuable for the future. I can adapt Ubuntu documentation for<br>
> CentOS.<br>
> <br>
> thanks,<br>
> Julie<br>
> <br>
> On 12-01-2021 09.14 -0500, Shen Wang wrote:<br>
> >Â Â Hi Julie,<br>
> ><br>
> >Â Â The Loris Team only supports Centos7 currently.<br>
> >Â Â We don't have Centos8 instructions yet, so you can't find it.<br>
> ><br>
> >Â Â If you and Ioannis would like to install loris 23 on centos 8, you<br>
> can<br>
> >Â Â try.<br>
> >Â Â I have installed loris 23 on centos 8, although the process is not<br>
> simple.<br>
> >Â Â That is why I mentioned Centos 8, not officially supported yet.<br>
> Sorry for<br>
> >Â Â confusion.<br>
> >Â Â best<br>
> >Â Â Shen<br>
> >  [1]å± å¹•å¿«ç § 2021-01-11 Àş‹å ˆ8.04.56.png<br>
> >Â Â On Mon, 11 Jan 2021 at 16:27, Julie Ashworth, HWNI Computing<br>
> Support<br>
> >Â Â <[2][2]<a href="mailto:support-cirl@berkeley.edu" rel="noreferrer" target="_blank">support-cirl@berkeley.edu</a>> wrote:<br>
> ><br>
> >Â Â Â Thanks Shen,<br>
> >Â Â Â Is this documented anywhere? I checked the Ubuntu instructions<br>
> and the<br>
> >Â Â Â install.sh file, but I don't see it mentioned.<br>
> ><br>
> >Â Â Â You also mentioned to Ioannis that Loris should run find on<br>
> CentOS8.<br>
> >Â Â Â Which version did you recommend for CentOS8?<br>
> ><br>
> >Â Â Â best,<br>
> >Â Â Â Julie<br>
> ><br>
> >Â Â Â On 11-01-2021 16.04 -0500, Shen Wang wrote:<br>
> >   >  Hi Julie,<br>
> >   >  We do not support Loris 23.0.2 to run on CentOS 8.<br>
> >   >  You can install 23.0.2 on Centos 7.<br>
> >   >  If you want to try to install it on Centos8. There is no<br>
> guarantee<br>
> >Â Â Â that it<br>
> >   >  will work on Centos 8.<br>
> >   >  You can try it.<br>
> >   >  step 1 : remove the line of php_value from loris.conf<br>
> >   >  step 2 : add "php_value[include_path] =<br>
> >   >  ....." into /etc/php-fpm.d/loris.conf<br>
> >   >  step 3: reload php-fpm and httpd.<br>
> >   >  Good Luck!<br>
> >   >  Best <br>
> >   >  Shen<br>
> >   >  On Mon, 11 Jan 2021 at 15:32, Julie Ashworth, HWNI<br>
> Computing<br>
> >Â Â Â Support<br>
> >   >  <[1][3][3]<a href="mailto:support-cirl@berkeley.edu" rel="noreferrer" target="_blank">support-cirl@berkeley.edu</a>> wrote:<br>
> >Â Â Â ><br>
> >   >   hi Shen,<br>
> >   >   that *is* how I installed apache/php7.4.<br>
> >Â Â Â ><br>
> >   >   Please reread my email.<br>
> >Â Â Â ><br>
> >   >   I'd like to know how y'all recommend adding the php<br>
> path for<br>
> >Â Â Â loris<br>
> >   >   libraries using php-fpm.<br>
> >Â Â Â ><br>
> >   >   If I use the apache configuration file provided:<br>
> >   >       php_value include_path<br>
> >   >   <br>
> >Â Â Â <br>
> .:/usr/share/php:/var/www/loris/project/libraries:/var/www/loris/php/libraries<br>
> >Â Â Â ><br>
> >   >   I get an error:<br>
> >   >   Invalid command 'php_value', perhaps misspelled or<br>
> defined by a<br>
> >Â Â Â module<br>
> >   >   not included in the server configuration<br>
> >Â Â Â ><br>
> >   >   ... because this isn't supported with php-fpm<br>
> >Â Â Â ><br>
> >   >   best,<br>
> >   >   Julie<br>
> >Â Â Â ><br>
> >   >   On 11-01-2021 10.08 -0500, Shen Wang wrote:<br>
> >   >   >  Hi Julie,<br>
> >   >   >  I recommend reinstalling php 7.4 and apache.<br>
> >   >   >  <br>
> >Â Â Â [1][2][4][4]<a href="https://tecadmin.net/install-apache-php-fpm-centos-8/" rel="noreferrer noreferrer" target="_blank">https://tecadmin.net/install-apache-php-fpm-centos-8/</a><br>
> this<br>
> >   >   article is<br>
> >   >   >  helpful.<br>
> >   >   >  Best<br>
> >   >   >  Shen<br>
> >   >   ><br>
> >   >   > References<br>
> >   >   ><br>
> >   >   >  Visible links<br>
> >   >   >  1.<br>
> >Â Â Â [3][5][5]<a href="https://tecadmin.net/install-apache-php-fpm-centos-8/" rel="noreferrer noreferrer" target="_blank">https://tecadmin.net/install-apache-php-fpm-centos-8/</a><br>
> >   >   ---end quoted text---<br>
> >Â Â Â ><br>
> >   >  --<br>
> >   >  Shen Wang<br>
> >   >  [4]Loris Developer<br>
> >   >  Montreal Neurological Institute <br>
> >   >  McGill University<br>
> >Â Â Â ><br>
> >Â Â Â > References<br>
> >Â Â Â ><br>
> >   >  Visible links<br>
> >   >  1. mailto:[6][6]<a href="mailto:support-cirl@berkeley.edu" rel="noreferrer" target="_blank">support-cirl@berkeley.edu</a><br>
> >   >  2.<br>
> [7][7]<a href="https://tecadmin.net/install-apache-php-fpm-centos-8/" rel="noreferrer noreferrer" target="_blank">https://tecadmin.net/install-apache-php-fpm-centos-8/</a><br>
> >   >  3.<br>
> [8][8]<a href="https://tecadmin.net/install-apache-php-fpm-centos-8/" rel="noreferrer noreferrer" target="_blank">https://tecadmin.net/install-apache-php-fpm-centos-8/</a><br>
> >   >  4. [9][9]<a href="https://github.com/aces/Loris" rel="noreferrer noreferrer" target="_blank">https://github.com/aces/Loris</a><br>
> >Â Â Â ---end quoted text---<br>
> ><br>
> >Â Â --<br>
> >Â Â Shen Wang<br>
> >  [10]Loris Developer<br>
> >  Montreal Neurological Institute <br>
> >Â Â McGill University<br>
> ><br>
> > References<br>
> ><br>
> >Â Â Visible links<br>
> >Â Â 2. mailto:[10]<a href="mailto:support-cirl@berkeley.edu" rel="noreferrer" target="_blank">support-cirl@berkeley.edu</a><br>
> >Â Â 3. mailto:[11]<a href="mailto:support-cirl@berkeley.edu" rel="noreferrer" target="_blank">support-cirl@berkeley.edu</a><br>
> >Â Â 4. [12]<a href="https://tecadmin.net/install-apache-php-fpm-centos-8/" rel="noreferrer noreferrer" target="_blank">https://tecadmin.net/install-apache-php-fpm-centos-8/</a><br>
> >Â Â 5. [13]<a href="https://tecadmin.net/install-apache-php-fpm-centos-8/" rel="noreferrer noreferrer" target="_blank">https://tecadmin.net/install-apache-php-fpm-centos-8/</a><br>
> >Â Â 6. mailto:[14]<a href="mailto:support-cirl@berkeley.edu" rel="noreferrer" target="_blank">support-cirl@berkeley.edu</a><br>
> >Â Â 7. [15]<a href="https://tecadmin.net/install-apache-php-fpm-centos-8/" rel="noreferrer noreferrer" target="_blank">https://tecadmin.net/install-apache-php-fpm-centos-8/</a><br>
> >Â Â 8. [16]<a href="https://tecadmin.net/install-apache-php-fpm-centos-8/" rel="noreferrer noreferrer" target="_blank">https://tecadmin.net/install-apache-php-fpm-centos-8/</a><br>
> >Â Â 9. [17]<a href="https://github.com/aces/Loris" rel="noreferrer noreferrer" target="_blank">https://github.com/aces/Loris</a><br>
> >Â Â 10. [18]<a href="https://github.com/aces/Loris" rel="noreferrer noreferrer" target="_blank">https://github.com/aces/Loris</a><br>
> <br>
> ---end quoted text---<br>
> <br>
> --<br>
> Shen Wang<br>
> [19]Loris Developer<br>
> Montreal Neurological Institute <br>
> McGill University<br>
> <br>
> References<br>
> <br>
> Visible links<br>
> 1. mailto:<a href="mailto:support-cirl@berkeley.edu" rel="noreferrer" target="_blank">support-cirl@berkeley.edu</a><br>
> 2. mailto:<a href="mailto:support-cirl@berkeley.edu" rel="noreferrer" target="_blank">support-cirl@berkeley.edu</a><br>
> 3. mailto:<a href="mailto:support-cirl@berkeley.edu" rel="noreferrer" target="_blank">support-cirl@berkeley.edu</a><br>
> 4. <a href="https://tecadmin.net/install-apache-php-fpm-centos-8/" rel="noreferrer noreferrer" target="_blank">https://tecadmin.net/install-apache-php-fpm-centos-8/</a><br>
> 5. <a href="https://tecadmin.net/install-apache-php-fpm-centos-8/" rel="noreferrer noreferrer" target="_blank">https://tecadmin.net/install-apache-php-fpm-centos-8/</a><br>
> 6. mailto:<a href="mailto:support-cirl@berkeley.edu" rel="noreferrer" target="_blank">support-cirl@berkeley.edu</a><br>
> 7. <a href="https://tecadmin.net/install-apache-php-fpm-centos-8/" rel="noreferrer noreferrer" target="_blank">https://tecadmin.net/install-apache-php-fpm-centos-8/</a><br>
> 8. <a href="https://tecadmin.net/install-apache-php-fpm-centos-8/" rel="noreferrer noreferrer" target="_blank">https://tecadmin.net/install-apache-php-fpm-centos-8/</a><br>
> 9. <a href="https://github.com/aces/Loris" rel="noreferrer noreferrer" target="_blank">https://github.com/aces/Loris</a><br>
> 10. mailto:<a href="mailto:support-cirl@berkeley.edu" rel="noreferrer" target="_blank">support-cirl@berkeley.edu</a><br>
> 11. mailto:<a href="mailto:support-cirl@berkeley.edu" rel="noreferrer" target="_blank">support-cirl@berkeley.edu</a><br>
> 12. <a href="https://tecadmin.net/install-apache-php-fpm-centos-8/" rel="noreferrer noreferrer" target="_blank">https://tecadmin.net/install-apache-php-fpm-centos-8/</a><br>
> 13. <a href="https://tecadmin.net/install-apache-php-fpm-centos-8/" rel="noreferrer noreferrer" target="_blank">https://tecadmin.net/install-apache-php-fpm-centos-8/</a><br>
> 14. mailto:<a href="mailto:support-cirl@berkeley.edu" rel="noreferrer" target="_blank">support-cirl@berkeley.edu</a><br>
> 15. <a href="https://tecadmin.net/install-apache-php-fpm-centos-8/" rel="noreferrer noreferrer" target="_blank">https://tecadmin.net/install-apache-php-fpm-centos-8/</a><br>
> 16. <a href="https://tecadmin.net/install-apache-php-fpm-centos-8/" rel="noreferrer noreferrer" target="_blank">https://tecadmin.net/install-apache-php-fpm-centos-8/</a><br>
> 17. <a href="https://github.com/aces/Loris" rel="noreferrer noreferrer" target="_blank">https://github.com/aces/Loris</a><br>
> 18. <a href="https://github.com/aces/Loris" rel="noreferrer noreferrer" target="_blank">https://github.com/aces/Loris</a><br>
> 19. <a href="https://github.com/aces/Loris" rel="noreferrer noreferrer" target="_blank">https://github.com/aces/Loris</a><br>
---end quoted text---<br>
_______________________________________________<br>
Loris-dev mailing list<br>
<a href="mailto:Loris-dev@bic.mni.mcgill.ca" rel="noreferrer" target="_blank">Loris-dev@bic.mni.mcgill.ca</a><br>
<a href="https://mailman.bic.mni.mcgill.ca/mailman/listinfo/loris-dev" rel="noreferrer noreferrer" target="_blank">https://mailman.bic.mni.mcgill.ca/mailman/listinfo/loris-dev</a><br>
</blockquote></div>
</blockquote></div></div></div>
_______________________________________________<br>
Loris-dev mailing list<br>
<a href="mailto:Loris-dev@bic.mni.mcgill.ca" target="_blank">Loris-dev@bic.mni.mcgill.ca</a><br>
<a href="https://mailman.bic.mni.mcgill.ca/mailman/listinfo/loris-dev" rel="noreferrer" target="_blank">https://mailman.bic.mni.mcgill.ca/mailman/listinfo/loris-dev</a><br>
</blockquote></div>