Install eZ Publish 4.0 locally on os X for testing.
About as easy to do as it is to read about doing. After it has been done a few times. Until then..
1. Double-click the download file to expand it.
2. Rename the resultant folder, ez401.
3. Move the ez401 folder into the web documents directory.
4. In a terminal window, as administrative user, cd /Library/Webserver/Documents
5. Still in terminal, chgrp -R www ez401
6. Then, chmod -R 770 ez401
7. http://localhost/ez401/ in web browser - Opera is a good one
8. Click the finetune button. Magic quotes (a php setting) is enabled which eZ does not like. Swipe the text for the .htaccess example, do an edit->copy to get the text to the clipboard.
9. Flip back to the terminal window then at the prompt, cd ez401/
10. Then pico .htaccess
11. Then, command-v to paste the "php_value magic_quotes_gpc 0" into the .htaccess document
***NOTE*****
.htaccess files are specifically blocked in a default install of Leopard and Snow Leopard
The apache term is AllowOverride, and it is set to None by default, meaning .htaccess files are ignored.
This setting is best changed on a per directory basis because a global change has security and system implications.
The file to change is /etc/apache2/httpd.conf
Search for the first occurrence of "override" that appears below a <Directory /> tag.
You should see AllowOverride None
Below the </Directory> tag for the default, insert a new directory override, something like this:
This example is for eZ Publish installed in directory ez420r
<Directory "/Library/Webserver/Documents/ez420r">
AllowOverride All
</Directory>
Then apachectl restart if at cli, or use System Preferences to Stop, then Restart Web Sharing.
***************
12. Cntrl-o and enter to write the document, cntrl-x to quit the pico editor.
13. Still in terminal, log in to mysql and create a database for eZ. myql -u<username> -p and enter password when prompted to get to the mysql prompt.
14. At the mysql prompt "CREATE DATABASE `ez401` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;" and enter. The COLLATE part is important. Then "quit" at the mysql prompt to exit the services of mysql. The os X terminal is smart enough to do cut and paste, even at a mysql prompt, so copy and paste the CREATE statement to save typing.
13. Clicking back and next in the web browser will not make the magic quotes error go away, so click next and just believe the magic quotes problem is resolved (it is).
14. Click Next buttons through to the mysql info, and enter the credentials for the mysql server.
15. Leaving the language only set to English (United Kingdom) will simplify the user interface.
16. Tick the eZ Flow extension in the next screen and click "Next". This will take some time, it downloads the latest.
17. At the site details screen, drop down the database selector and choose the ez401 database created earlier.
18. Enter email address and password at the site admin screen. Send registration info or don't, then eZ presents a screen to login to user site and admin site. These sites open in new windows, so it is possible to have both user and admin views open at the same time. Access the admin page in Safari, save the password when prompted, and make a bookmark in Safari for quick future access.
