contao / docs-archive

Contao Documentation
https://docs.contao.org/
Other
42 stars 76 forks source link

Fix/contao installation #368

Closed Zeromax closed 7 years ago

Zeromax commented 8 years ago

Add an Administraion Hint for Windows. Symlink creation under windows is only possible as Admin.

aschempp commented 8 years ago

Would that mean only an administrator can install Contao on windows?

/cc @contao/developers

Zeromax commented 8 years ago

Yes. I do not know why this is the case on windows. It is only the symlink stuff which does only work, if you are an admin.

leofeyer commented 8 years ago

Nope, you are wrong. The tests on appveyor.com show that this is not a Windows issue but an XAMPP limitation (see my comments here and here).

aschempp commented 8 years ago

So should we update the note to tell about XAMPP on windows?

Zeromax commented 8 years ago

@leofeyer sorry I do not get what PHP with FCGI has to do with PHP with CLI. Except that both is PHP... Sure, it is possible that this is a XAMPP PHP limitation. But I don't think so.

Here I am talking about: php composer.phar create-project contao/standard-edition:4.0.2 <target> This is a CLI command wich never triggers any php_mod or fcgi mod. It triggers PHP direct. unbenannt

Or do I get something wrong in general?

Here is a cli output where I trigger the mklink on windows direct: Left Normal User | on the right Admin User unbenannt You see: The symlink is not created by a normal user. (I am on Windows 10)

aschempp commented 8 years ago

How do we continue with this @leofeyer @Zeromax ?

leofeyer commented 8 years ago

I don't know. Obviously it is an XAMPP limitation that can be solved in two ways:

  1. Run the Composer commands as administrator. Certainly an easy but also risky solution.
  2. Replace the XAMPP built-in mod_php with FastCGI. More complex but does not require admin privileges. And it feels more like a real solution instead of just a workaround.
aschempp commented 8 years ago

Ok, so I would suggest to change the sentence to something like

On Windows, depending on the setup (e.g. default XAMPP), you might need run this command as an administrator.

@lionel-m can you verify the french version?

lionel-m commented 8 years ago

On Windows, depending on the setup (e.g. default XAMPP), you might need run this command as an administrator.

Sous Windows, en fonction de la configuration (par ex. XAMPP par défaut), vous devrez peut-être exécuter cette commande en tant qu'administrateur.

aschempp commented 8 years ago

@Zeromax can you update the pull request?

aschempp commented 7 years ago

Merged in bba870a