Installation, Upgrading and Requirements August 08th, 2008
- Installation
- Upgrading
- Zenphoto System Requirements
- What versions of PHP does Zenphoto support?
- Does Zenphoto work with PHP Safe Mode?
Installation
- Download the latest version of Zenphoto.
- If you are upgrading, remove the old copy of the Zenphoto files (the zp-core and themes folders.) Be sure to keep your zp-config.php file or note the MySQL settings in it.
- Extract the files and upload them to your web directory.
- Navigate to your gallery. EXAMPLE: www.yoursite.org/zenphoto/zp-core/setup.php will run the first time you visit the gallery. Make sure everything checks out then click GO!
- ENJOY!
Upgrading
With anything after ZenPhoto 1.1.3, upgrading is super easy!
- Backup your MySQL database.
- Remove the “zen” or “zp-core” folder and the files in the home dir within your installation taking note of the database credentials in your zp-config file, you will need it in step 4
- Download the latest version and upload it to your server.
- Make sure the .htaccess file is writeable.
- Once the files are uploaded, go to www.yoursite.org/zenphoto/. Setup.php will run. (If it somehow does not, please navigate directly to www.yoursite.org/zenphoto/zp-core/setup.php.)
- Make sure everything checks out, and click go!
- Follow the instructions.
- You’re done! Enjoy.
Zenphoto System Requirements
To operate Zenphoto efficiently, you need:
- A web server with at least 10Mb of free space (plus free space for images and cache files)
- Apache or IIS (Apache recommended)
- PHP 4.1.0 or greater, with the GD graphics library (usually built-in)
- MySQL 3.23 or greater
To use the translation capability introduced with Zenphoto 1.1.6 you need the gettext extension to be installed on your server.
To use certain AJAX features in the admin backend like album and image sorting and the on-the-fly inline editing you need at least Mozilla 1.2.1 as a browser.
What versions of PHP does Zenphoto support?
Zenphoto supports PHP version 4.1.0 or greater, in theory. It may work with PHP versions as low as 4.0.6, but use 4.1.0 or greater just to be safe. We haven’t tested it with versions lower than 4.2.3 — if anyone has any problems with older PHP versions, please let us know in the ZenphotoForums.
Does Zenphoto work with PHP Safe Mode?
Safe mode is generally considered bad practice for web hosts and users, as it breaks many programs and does not provide any real improvement in security.
1.0.8 and above should now be compatible with PHP safe mode. If any problems occur in a safe_mode configuration, please report a New Ticket describing the problem.
There may still be problems uploading using the administrator’s interface while in safe_mode. This problem is not possible to fix, as in safe_mode it is impossible to both create a folder and write to that folder using the web server alone. You may only upload to existing folders that you’ve created using FTP upload. To get around this, we recommend you upload via FTP, or create the folders you want using FTP, and also ask your host to turn off safe mode as noted above.