This site has been archived. To learn more about our current products Ibexa Content, Ibexa Experience, Ibexa Commerce head over to the Ibexa Developer Portal

eZ Community » Forums » Developer » Running installer script from command...

Running installer script from command line

Running installer script from command line

Friday 23 November 2012 1:48:34 pm - 1 reply

Hi all,


I have modified the ezdemoInstaller based on eZSiteInstaller to be used in connection with automatted setup via kickstart.ini. Instead of re-running the installation all the time I would like to run the installation script from the command line instead in order to debug my modifications made. The installer is located under


and the first lines look as follows:



class iogInstaller extends eZSiteInstaller{   

const MAJOR_VERSION = 0.0;   

const MINOR_VERSION = 1;

    function iogInstaller( $parameters = false )


        eZSiteInstaller::eZSiteInstaller( $parameters );



Is this generally possible and if so can somebody point me in the right direction?

Best wishes from Bamako



Tuesday 27 November 2012 3:14:53 am

Another way is to figure out how you would like the site set up is to run the installer, through the web interface (browser) and install eZ the way you want it installed.  Dump the database.

This will create the settings files you need, under settings/override and settings/siteaccess.  You can use these files as templates for your own installation method.  The installer may also create settings files under the extensions you're using.  A design directory will be created for the siteaccess.  The database will be created and initialized.

To manually install eZ, you can use this approach:

Create a database and user, grant the necessary privileges.

Import the database as you dumped it.

Create a zip file with the settings/override and settings/siteaccess directories, any extension directories, and the design directory.

You should be able to untar all the files you need - eZ, eZ components, any extra extensions and other code, then overlay your zip (or tar) files.

I did this a long time ago, and it worked, but I haven't tried it recently.  There may be better ways to do it.

Also, it is possible to run multiple sites with a single installation of eZ.  In that case, you could just create a new database, siteaccess, and design.

Modified on Tuesday 27 November 2012 3:18:27 am by Betsy Gamrat


You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from