Home / eZ / HowTo / Install eZ Publish 4.0 locally on os X for testing.

Install eZ Publish 4.0 locally on os X for testing.

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 my preference
8. Click the finetune button. Magic quotes (a php setting) is enabled which eZ does not like. eZ displays recommended text to put in .htaccess file. Swipe that text for the .htaccess example, cmd-C to copy the text to the clipboard.
9. Flip back to the terminal window then at the prompt, cd ez401/
10. pico .htaccess
11. In terminal, command-v to paste the "php_value magic_quotes_gpc 0" into the .htaccess document
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. Then "quit" at the mysql prompt to exit the services of mysql.
13. Clicking back and next will not make the magic quotes error go away in the web browser, so click next and just believe the magic quotes problem is resolved (it is). Yay, as of eZ 4.2 alpha, the magic quotes error does go away. Thanks eZ developers!
14. Click through to the mysql info, and enter the credentials.
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 get the ez401 database created earlier.
18. Enter your email address and a decent 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 of them 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.

Animated GIF eZ Logo

No need to dream up layouts and page views, just insert your "stuff".

Roll Your Own Social Network

News networks, and personal sized social networking sites are simple with eZ.