![]() Create SSL certificateīy calling e.g.: you will get a hint in the Contao Manager With this approach, you could also maintain multiple Contao installations over different, local domain names with ![]() In the \apache\conf\extra\nf file, add the following information: Remove the hashtag # and save your changes. #LoadModule vhost_alias_module modules/mod_vhost_alias.so. Open the file \apache\conf\nf in your XAMPP directory and look for the line We have to configure XAMPP to use our new directory. However, it still makes no difference to the previous procedure. In the Windows directory System32/drivers/etc.Īdd the entry 127.0.0.1 demo.local to the file hosts. We want to access our Contao installation via the domain demo.local. Into this directory and rename the file to »«. On the one hand, you can maintain yourĬontao installation(s) outside the XAMPP directory and link them to your own local domain names.Ĭreate a new directory e.g. A own vHost configurationĪ unique, own XAMPP vHost configuration offers numerous advantages. One-time XAMPP configuration via an own vHost. Therefore, it would be advisable to establish a Get error messages, because they assume a »correct« environment. Within Contao’s own linking (e.g.: starting the Contao Manager from the backend etc.) you will still You can therefore work with Contao without your own »XAMPP vHost configuration« (see below) as long as you consider theĪbove calls. The Contao calls for our example installation in the directory htdocs\demo would therefore be: Destination Internal domain localhost and this points to the directory htdocs in XAMPP by default. At the moment you can only use the local, Without a vHostĬonfiguration (see below), they differ from the known possibilities. Your Contao installation can now be completed. Into the directory demo\web and rename the file to »«. If you have not already done so, copy the Contao-Manager In the »XAMPP Control Panel« you can execute phpMyAdmin in the »MySql« area via the ✺dmin« button and create aĭatabase as usual. Copy theĬontao-Manager into the directory demo\web and rename the file to You can also run the Contao installation directly from the Contao manager.įor example, create the directories demo\web in the XAMPP directory htdocs. Then carry out the following information step by step: The »XAMPP-Console« (xampp_shell.bat) with administrator authorisation and change into your current XAMPP directory. ![]() Start the ✺pache« and »MySQL« modules via the »XAMPP Control Panel« with administrator authorisation. Therefore, we will only copy the required We have not carried out a »XAMPP« installation under Windows in the true sense. Recommended to increase the setting of this value.Īdd an entry to the file D:\xampp\apache\conf\nf to increase the ThreadStackSize to 8 MB Īfter this change XAMPP (Apache) has to be restarted.Ĭongratulations! You have completed all preparations for a local Contao installation. In order to avoid crashes of the local server, it is System are configured with a default value of 8 MB. XAMPP or Apache on Windows are having a default value of the so called ThreadStackSize of only 1 MB, while Linux »allow_url_fopen«, »max_execution_time« or »file_uploads« and adjust them. In addition, you can optionally change the entries The changes mentioned are mandatory for the installation via the PHP composer or Link in the upper menu called PHPInfo with information about the current PHP configuration. ![]() In your browser, enter to access the »XAMPP Dashboard" with general information. You should receive the corresponding PHP (CLI) version as output and can then close the console. In order to check this, enter the command console enter the command php -v. Afterwards the file »xampp_shell.bat« is created in your directory and aĬorresponding »XAMPP console« is opened. In the »XAMPP Control Panel«, activate the modules ✺pache« and »MySQL«.įurthermore, click once on the button Shell. Right-click on it to start it with the option »Run as administrator«. In your directory you will find the file »xampp-control.exe«. ![]() The »XAMPP installation« is now complete. D:\xampp and start the setup_xampp.bat file once. We use a »XAMPP Portable Version«, which only needs to be copied. This tutorial describes the local use of Contao with XAMPP for Windows. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |