This part of the 4.x documentation is for eZ Publish 4.0, only reference section is common for all eZ Publish 4.x versions as well as eZ Publish 5.x "LegacyStack", please select the version you are using for the most up to date documentation! |
This section describes how to completely remove an eZ Publish installation from a system.
Removing eZ Publish is done in four steps:
WARNING! By following these steps, you will remove both eZ Publish and all the data/content that you have put into the system. Everything will be lost.
Remove the eZ Publish directory using your favorite tool.
On Linux/UNIX systems, the removal would most likely be carried out using the "rm" command:
$ rm -Rf /path/to/ez_publish
Please note that some file/directory permissions might be messed up. If this is the case, it will prevent a regular user from removing all eZ Publish files. You'll probably have to gain root access to solve this problem.
Windows users may simply delete the eZ Publish directory using the "Explorer".
Start the MySQL client, log in using your username and password:
$ mysql -u <username> -p
If the username/password is correct, the client will then present a "mysql>" prompt.
mysql> drop database <database-name>;
$ dropdb <database-name>
If a virtual host setup was used, it is likely that the Apache configuration file contains eZ Publish specific settings. These settings will not be needed anymore and thus they can be removed. Open the "httpd.conf" file using a text editor, scroll down to the bottom and remove the eZ Publish specific virtual host settings. Remember to restart Apache after altering the configuration file.
Windows users should skip this part. If cron was configured to run eZ Publish specific jobs, then these will have to be removed. You may have to edit a global cron file (under "/etc/cron*") or use the "crontab" command with the -e (edit) parameter to edit a user's private cron file. Remove the eZ Publish specific entries.
Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2013 eZ Systems AS (except where otherwise noted). All rights reserved.