[Loris-dev] CentOS 8 and Loris
Julie Ashworth, HWNI Computing Support
support-cirl at berkeley.edu
Sun Jan 10 19:56:22 EST 2021
Thanks Shen,
I'm installing loris v23.0.2 on CentOS8 using the instructions here:
https://loristest.readthedocs.io/en/latest/docs/wiki/00_SERVER_INSTALL_AND_CONFIGURATION/01_LORIS_Install/CentOS/README.html
I installed php-7.4 including php-fpm (as instructed)
# php -v
PHP 7.4.6 (cli) (built: May 12 2020 08:09:15) ( NTS )
I installed loris v23.0.2.tar.gz in /var/www/loris
I edited the /etc/httpd/conf.d/loris.conf file to include the following line:
php_value include_path .:/usr/share/php:/var/www/loris/project/libraries:/var/www/loris/php/libraries
however, starting httpd produces a syntax error with php_value.
Jan 10 16:47:29 loris-c8.priv httpd[7850]: Invalid command 'php_value', perhaps misspelled or defined by a module not included in the server configuration
Here is the relevant php module info in /etc/httpd/conf.modules.d:
# grep -v "^#" /etc/httpd/conf.modules.d/00-mpm.conf
LoadModule mpm_event_module modules/mod_mpm_event.so
# grep -v "^#" /etc/httpd/conf.modules.d/15-php.conf
<IfModule !mod_php5.c>
<IfModule prefork.c>
LoadModule php7_module modules/libphp7.so
</IfModule>
</IfModule>
# apachectl -M | egrep "fork|php"
(produces nothing)
What is the recommended way to set the php_value 'invlude_path' with php-fpm?
thanks,
Julie
On 10-01-2021 12.46 -0500, Shen Wang wrote:
> Hi Ioannis,
> I hope you are well and happy 2021 too.
> Centos 8 only updates the YUM and Kernel version etc.
> So the instructions for 7 still work for 8.
> Best
> Shen
> On Sun, 10 Jan 2021 at 12:36, Ioannis Pappas <[1]ioannis at berkeley.edu>
> wrote:
>
> Dear Loris Support.
>
> I hope you are well and happy 2021.
>
> We would like to reinstall Loris based on a more recent release of our
> operating system (CentOS 8).
>
> I was wondering if you have specific instructions and/or experience with
> installing Loris in that environment (I think we could only find
> instructions for 7).
>
> Thank you very much!
>
> Best wishes,
> Ioannis
> _______________________________________________
> Loris-dev mailing list
> [2]Loris-dev at bic.mni.mcgill.ca
> [3]https://mailman.bic.mni.mcgill.ca/mailman/listinfo/loris-dev
>
> --
> Shen Wang
> [4]Loris Developer
> Montreal Neurological InstituteÂ
> McGill University
>
> References
>
> Visible links
> 1. mailto:ioannis at berkeley.edu
> 2. mailto:Loris-dev at bic.mni.mcgill.ca
> 3. https://mailman.bic.mni.mcgill.ca/mailman/listinfo/loris-dev
> 4. https://github.com/aces/Loris
> _______________________________________________
> Loris-dev mailing list
> Loris-dev at bic.mni.mcgill.ca
> https://mailman.bic.mni.mcgill.ca/mailman/listinfo/loris-dev
---end quoted text---
More information about the Loris-dev
mailing list