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
Install Surfshark CLI

Step-by-step guide to automatically set up Surfshark VPN on Ubuntu (for both CLI and autostart at boot): sudo apt update sudo apt install snapd sudo snap install surfshark https://chatgpt.com/share/

 
 
 

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