install_apache_mysql_php_linux_ubuntu_server
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
install_apache_mysql_php_linux_ubuntu_server [2020/06/08 04:07] – [Installing PHP] wikiadmin | install_apache_mysql_php_linux_ubuntu_server [2020/06/08 04:37] – [Installing Apache2 (version 2.4)] wikiadmin | ||
---|---|---|---|
Line 16: | Line 16: | ||
</ | </ | ||
- | Here are some additional PHP modules that may be required for your applications. [However see the discussion below regarding additional modules required to run NextCloud. | + | **Here are some additional PHP modules |
< | < | ||
Line 22: | Line 22: | ||
If you are planning to install NextCloud on your Ubuntu Server, then the above generally required modules are included in the expanded list of PHP modules that are recommended or required to run NextCloud from Apache and using PHP. | If you are planning to install NextCloud on your Ubuntu Server, then the above generally required modules are included in the expanded list of PHP modules that are recommended or required to run NextCloud from Apache and using PHP. | ||
- | ==== Enable | + | ===== Install the PHP Modules |
If you plan to install NextCloud to run on a virtual host from Apache web server, then you should install the following PHP modules that are either recommended or required as prerequisites for the proper functioning of NextCloud. | If you plan to install NextCloud to run on a virtual host from Apache web server, then you should install the following PHP modules that are either recommended or required as prerequisites for the proper functioning of NextCloud. | ||
Line 28: | Line 28: | ||
< | < | ||
- | Note: If Apache was already installed before you found this guide, then you should reload Apache2 | + | After the installation of these PHP modules, you may see a notice like the following: |
+ | |||
+ | Notice: Not enabling PHP 7.4 FPM by default. | ||
+ | Notice: To enable PHP 7.4 FPM in Apache2 do: | ||
+ | Notice: a2enmod procy fcgi set enfiv | ||
+ | Notice: a2enconf php7.4*fpm | ||
+ | Notice: You are seeing this message because you have apache2 package installed. | ||
+ | |||
+ | The apache2 package that is installed and the notice is referring to is the package that was just installed with the installation of PHP 7.4. | ||
+ | |||
+ | Note that if Apache | ||
< | < | ||
Line 44: | Line 54: | ||
</ | </ | ||
- | Also (OR INSTEAD) | + | Also install libapache2-mod-php module to work PHP with Apache2. |
- | Enter the following to install it: | + | Enter the following |
< | < | ||
+ | |||
+ | Some help sites also include " | ||
+ | |||
+ | < | ||
==== Creating Apache VirtualHost ==== | ==== Creating Apache VirtualHost ==== | ||
install_apache_mysql_php_linux_ubuntu_server.txt · Last modified: 2020/06/08 23:20 by wikiadmin