Install Config Wiki

All about installing, configuring and troubleshooting

User Tools

Site Tools


install_apache_mysql_php_linux_ubuntu_server

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
install_apache_mysql_php_linux_ubuntu_server [2020/06/08 04:18] – [Enable PHP Modules for NextCloud installation] wikiadmininstall_apache_mysql_php_linux_ubuntu_server [2020/06/08 04:33] – [Installing Apache2 (version 2.4)] wikiadmin
Line 16: Line 16:
 </code> </code>
  
-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 to install that may be required for your applications**. [However, before you install these modules, see the discussion below regarding additional modules required to run NextCloud.]
  
 <code>sudo apt install php7.4-curl php7.4-gd php7.4-json php7.4-mbstring php7.4-xml</code> <code>sudo apt install php7.4-curl php7.4-gd php7.4-json php7.4-mbstring php7.4-xml</code>
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.
  
-==== Install the PHP Modules that are Prerequisites for NextCloud installation ====+===== Install the PHP Modules that are Prerequisites for NextCloud installation =====
  
 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.  Ensure that you manually enable each of these modules in the php.ini file for purposes of running NextCloud. This involves removing the appropriate #comment marks in php.ini to enable the appropriate modules. There should obviously be other PHP modules to enable for the general operation of PHP as necessary for other websites' applications running from Apache web server on this Ubuntu server. 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.  Ensure that you manually enable each of these modules in the php.ini file for purposes of running NextCloud. This involves removing the appropriate #comment marks in php.ini to enable the appropriate modules. There should obviously be other PHP modules to enable for the general operation of PHP as necessary for other websites' applications running from Apache web server on this Ubuntu server.
Line 54: Line 54:
 </code> </code>
  
-Also (OR INSTEAD) install libapache2-mod-php module to work PHP with Apache2. [Go research this]+Also install libapache2-mod-php module to work PHP with Apache2. 
  
-Enter the following to install it:+Enter the following command to install it:
  
 <code>sudo apt install apache2 libapache2-mod-php7.4</code> <code>sudo apt install apache2 libapache2-mod-php7.4</code>
 +
 +Some help sites also include "php-mysql" module appended to the end of the above command.
 ==== Creating Apache VirtualHost ==== ==== Creating Apache VirtualHost ====
  
install_apache_mysql_php_linux_ubuntu_server.txt · Last modified: 2020/06/08 23:20 by wikiadmin