Results 1 to 6 of 6

Thread: The PHP symlink method is unavailable or does not work correctly.

  1. #1
    New user
    Join Date
    01-06-19.
    Posts
    4

    Default The PHP symlink method is unavailable or does not work correctly.

    Hi, newbie alert.
    Stuck at the first hurdle.
    I have installed fresh XAMPP on windows 10 Pro and downloaded the install script.
    on running http://localhost/contao-manager.phar.php
    I get the following error on the second page:

    The PHP symlink method is unavailable or does not work correctly.
    Unable to create symbolic link due to error code 1314: 'A required privilege is not held by the client'. Do you have the required Administrator-rights?


    Any help on how to proceed from here ?

    Regards,
    Mucho

  2. #2
    Community-Moderator xchs's Avatar
    Join Date
    06-19-09.
    Posts
    1,100

    Default

    You must run XAMPP with administrator rights or give your user the right to create a symlink (via gpedit.msc or Polsedit).

    How did you set the DocumentRoot? Does localhost directly point to the web/ subfolder?
    Last edited by xchs; 01/06/2019 at 22:54.
    Contao Community Moderator
    → Support options

  3. #3
    New user
    Join Date
    01-06-19.
    Posts
    4

    Default

    thanks xchs,

    I ran XAMPP 'as administrator' and was able to progress to the install phase.

    However, still no joy.

    A few screens down the line and the installer is stuck here:

    Installing Contao Application
    Installing Composer dependencies …
    C:^\XAMPP^\php^\php.exe "-q" "C:/xampp/htdocs/contao/web/contao-manager.phar.php" "composer" "install" "--prefer-dist" "--no-dev" "--no-progress" "--no-suggest" "--no-ansi" "--no-interaction" "--optimize-autoloader" 2>&1


    regards,
    Mucho

  4. #4
    New user
    Join Date
    01-06-19.
    Posts
    4

    Default

    Quote Originally Posted by xchs View Post
    How did you set the DocumentRoot? Does localhost directly point to the web/ subfolder?
    Yes docroot points directly to web folder (is this the right way?)

    DocumentRoot "C:/xampp/htdocs/contao/web"
    <Directory "C:/xampp/htdocs/contao/web">

  5. #5
    New user
    Join Date
    01-06-19.
    Posts
    4

    Rotes Gesicht

    Quote Originally Posted by mucho View Post
    thanks xchs,

    I ran XAMPP 'as administrator' and was able to progress to the install phase.

    However, still no joy.

    A few screens down the line and the installer is stuck here:

    Installing Contao Application
    Installing Composer dependencies …
    C:^\XAMPP^\php^\php.exe "-q" "C:/xampp/htdocs/contao/web/contao-manager.phar.php" "composer" "install" "--prefer-dist" "--no-dev" "--no-progress" "--no-suggest" "--no-ansi" "--no-interaction" "--optimize-autoloader" 2>&1


    regards,
    Mucho
    My Bad, it eventually did complete the installation. I was just a tad impatient.

  6. #6
    Community-Moderator xchs's Avatar
    Join Date
    06-19-09.
    Posts
    1,100

    Default

    Quote Originally Posted by mucho View Post
    Yes docroot points directly to web folder (is this the right way?)
    Yep.

    You can also configure different VirtualHosts to run multiple web applications at the same time.


    Quote Originally Posted by mucho View Post
    My Bad, it eventually did complete the installation. I was just a tad impatient.
    Yes, the installation and resolving of the dependencies can take a few minutes.
    Contao Community Moderator
    → Support options

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •