top of page

Piwigo Install & Setup Linux Server

Updated: Nov 13, 2022

Note: Sync Issues - add the following code to .php files

ini_set('memory_limit','1000M');
ini_set('max_execution_time', 10000);

Steps for install, including helpful commands for PHP, Apache and MySQL


My SQL (Install)

Step 1 - Install MySQL / Setup security / Initial login with root / Set root password / Login with root password

$ sudo apt-get install mysql-server
$ sudo mysql_secure_installation
$ sudo mysql

mysql> ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password';

mysql> FLUSH PRIVILEGES;

$ sudo mysql -u root -p

PHP (Install)

Step 2 - PHP, PHP-GD & PHP for MySQLinstall

--php7 install
$ apt-get update && apt-get upgrade
$ sudo apt-get install php libapache2-mod-php

--php-gd install
$ sudo apt-get install php-gd

--php-mysql install
$ sudo apt-get install php-mysql

Apache Restart

$ sudo systemctl restart apache2

The Local Configuration (LocalFiles Editor is a piwigo Plugin)

Activate the pluign LocalFiles Editor then add the following to local/config/config.inc.php:


ini_set('memory_limit', '512M');


References:




 
 
 

Recent Posts

See All
Harbor Install & Setup

1. Go to the Harbor releases page & Download either the online or offline installer for the version you want to install. 2. Use tar to...

 
 
 

Comments


Contact Me

Tel: 678-642-8051

cspeed@jcsassoc.com

  • Google+ Long Shadow
  • LinkedIn Long Shadow
  • Facebook Social Icon
  • Twitter Long Shadow

© 2005 by Christopher Speed

Your details were sent successfully!

bottom of page