Forums General

how to use zenphoto with WAMP

Subscribe to how to use zenphoto with WAMP 3 post(s), 2 voice(s)

 
Avatar uriel 2 post(s)

I installed WAMP, then copy zenphoto (a simple php gallery) to appz folder, but it was saying “Not Found
The requested URL /zenphoto/zp-core/setup.php was not found on this server.”

The files are there, any advises? thank you!

should I enable the zenphoto folder manually?

 
Avatar beltran Administrator 323 post(s)

Hi uriel,

It is necessary to configure Apache and MySQL to run zenphoto. The basic configuration is to create this schema:

1. Copy the zenphoto application files into apps/zenphoto/htdocs

2. Create this file apps/zenphoto/conf/zenphoto.conf


Alias /zenphoto "C:/Archivos de Programa/BitNami WAMPStack/apps/zenphoto/htdocs" 
Alias /zenphoto/ "C:/Archivos de Programa/BitNami WAMPStack/apps/zenphoto/htdocs/" 

<Directory "C:/Archivos de Programa/BitNami WAMPStack/apps/zenphoto/htdocs">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>

3. Create a database for zenphoto.


> cd "C:\Archivos de programa\BitNami WAMPStack" 
> scripts\setenv.bat
> cd apps/zenphoto/htdocs
> mysql -u root -p -e "create database zenphoto; grant all privileges on zenphoto.* to zenphoto_user@localhost identified by 'database_password'; flush privileges;" 

4. Configure the apps/zenphoto/htdocs/zp-config.php file according to the database creation parameters.

5. Include this line at the end of apache2/conf/httpd.conf


Include "C:/Archivos de Programa/BitNami WAMPStack/apps/zenphoto/conf/zenphoto.conf" 

6. Restart BitNami from Start -> Program Files -> BitNami WAMPStack -> BitNami WAMPStack service -> Stop/Start

And you should access to the zenphoto installation at http://127.0.0.1/zenphoto/setup.php

I hope it helps you

 
Avatar uriel 2 post(s)

great answer, I wil try it, thank you!

Forums General