Gallery 3

Gallery3 requires mysql and msgpack:
php_value[extension]=mysql.so
php_value[msgpack]=mysql.so
or
extension=mysql.so
extension=msgpack.so
 
See https://adrhc.go.ro/wordpress/configure-command-for-building-various-software/ for learning how to compile msgpack.
 
The user/group of the php processes (specified in php-fpm.conf) show be the same for gallery3 directory:
chown -R nobody:nobody ~/apache-htdocs/gallery3

After installing gallery3, the login page won't show because a php-fpm core dump: 
you must first clear the browser cache.
See https://adrhc.go.ro/wordpress/core-dump/ for learning how to analyze php-fpm's core dump.
 
When visiting dashboard menu you are asked to remove server info; do it in order to access the dashboard.

Configuration:
admin_area_timeout = 999999
thumb_size = 150
page_size = 42
In table graphics_rules for gallery_graphics::resize set width = 150 and height = 150.

Rescan album for images:
- switch to default theme (Gallery Wind)
- go to Gallery page
- menu: Add -> Server add

Some themes insert large BLOB in DB so you need more than 3M for redo logs in mysql:
innodb_log_file_size = 10M

Gallery3 menus:
https://adrhc.go.ro/gallery3/index.php/admin/themes
https://adrhc.go.ro/gallery3/index.php/admin/theme_options
https://adrhc.go.ro/gallery3/index.php/admin/advanced_settings

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.