Installing eZ publish on Windows
The requirements for doing a normal installation must be met! Please read the "Requirements for doing a normal installation" section first. Proceed only if you have access to a Windows based system with Apache, PHP, MySQL already installed and running. (Do not use Apache 2.x for Windows and PHP 5.x. Please note that eZ publish is supposed to work with PostgreSQL as well although this combination is not tested on Windows.) As mentioned earlier, the database server may run on a different computer than the web server. This section will guide you through the following steps:
- Setting up a MySQL database
- Downloading eZ publish
- Unpacking eZ publish
- Initiating the setup wizard
Setting up a MySQL database
A database must be created before the initiation of the setup wizard takes place. The following text explains how to set up a database using MySQL:
MySQL
Login as root:
$ mysql -u <mysql_username> -p<mysql_password>
The MySQL client should display a "mysql>" prompt.
- Create a new database:
mysql> create database <database> character set <character_set>;
- Grant access permissions:
mysql> grant all on <database>.* to <username>@<host> identified by '<password>';
mysql_username |
The MySQL user (if no user is set up, use "root"). |
mysql_password |
The password that belongs to the mysql_username. |
username |
The username that will be used to access the database. |
password |
The password you wish to set in order to limit access to the database. |
database |
The name of the database, for example "my_new_database". |
host |
The hostname of the server on which eZ publish will be running. (may be 'localhost' if MySQL is installed on the same server). |
character_set |
The character encoding scheme to be used in the database. |
Downloading eZ publish
The latest stable version of eZ publish can be downloaded from http://ez.no/download/ez_publish. Windows users should download the ".zip" archive.
Unpacking eZ publish
Use your favorite utility to unpack the downloaded eZ publish archive to a web-served directory (a directory that is reachable using a web browser). The extraction utility will unpack eZ publish into a subdirectory called "ezpublish-3.x.x". Feel free to rename this directory to something more meaningful, for example "my_site".
Initiating the setup wizard
The setup wizard can be started using a web browser immediately after the previous steps (described in this section) are completed. It will be automatically run the first time someone tries to access/browse the index.php file located in the eZ publish directory. Let's assume that we are using a server with the hostname "www.example.com" and that after unpacking, the eZ publish directory was renamed to "my_site".
Document root example
If eZ publish was unpacked into a directory called "my_site" under the document root, the setup wizard can be initiated by browsing the following URL: http://www.example.com/my_site/index.php.
Home directory example
If eZ publish was unpacked to a web-served directory located inside the home directory of a user with the username "peter", (usually called "public_html", "www", "http", "html" or "web"), the setup wizard can be initiated by browsing the following URL: http://www.example.com/~peter/my_site/index.php.
Please refer to "The setup wizard" section for a detailed description of the web based setup wizard.
Balazs Halasy (13/01/2005 11:49 am)
Julia Shymova (18/09/2007 2:45 pm)
Comments
call me dumb, but I failed the installation
Friday 08 September 2006 1:36:19 pm
loschgi
Please help me cause I really want to test it out.
Re: call me dumb, but I failed the installation
Friday 15 September 2006 9:40:38 am
Claudia Kosny
Please post your question in the forum http://ez.no/community/forum
When doing this, give more information about the PHP, Apache and Database version you use. Also state the error messages (if there are to many, just the first two or three).
Claudia
Could not install over my web
Thursday 07 December 2006 3:36:40 am
James_b
Windows + PHP 4 + MySQL 5
Wednesday 13 December 2006 1:20:09 am
Ivan Plestina
mysql> SET PASSWORD FOR 'some_user'@'some_host' = OLD_PASSWORD('newpwd');
Add "old-passwords" (w/o quotes of course) at the end of mysql.ini file and restart service.