问题
I wanna setup a TYPO3 6.2 Installation on MAMP PRO but when I start I get the error:
/typo3_src should be a link, but it does not exist Links cannot be fixed by this system
So what to do now? Structure is: Application/MAMP/htdocs/typo3/
Any suggestions?
回答1:
You have to create symlinks manually, checklist:
Open the
terminal
Move downloaded
typo3_src-6.2.4.zip
to host's rootmv ~/Downloads/typo3_src-6.2.4.zip /Application/MAMP/htdocs/typo3/
Go to destination folder:
cd /Application/MAMP/htdocs/typo3/
Still in this location unzip downloaded package (you can remove zip file after that)
unzip typo3_src-6.2.4.zip
Still in this location create a symlink to that extracted directory with name
typo3_src
:ln -s typo3_src-6.2.4 typo3_src
Still in this location create a symlink to
index.php
pointing file in created symlink:ln -s typo3_src/index.php index.php
Still in this location create a symlink to
typo3
folder pointing folder in created symlink:ln -s typo3_src/typo3 typo3
Still in this location copy file
_.htaccess
from source folder to host's root:cp typo3_src/_.htaccess ./
Still in this location copy file
composer.json
from source folder to host's root:cp typo3_src/composer.json ./
Still in this location create file
FIRST_INSTALL
touch FIRST_INSTALL
That's it! Open the host in the browser and start the configuration
After all the steps your file structure should look like (command ls -la
):
FIRST_INSTALL
_.htaccess
composer.json
index.php -> typo3_src/index.php
typo3 -> typo3_src/typo3
typo3_src -> typo3_src-6.2.4
typo3_src-6.2.4
NOTE: try to avoid using name typo3
as a folder name for host's root, it's better to use name according to project i.e.: /Application/MAMP/htdocs/my-project-1/
来源:https://stackoverflow.com/questions/24896319/typo3-6-2-typo3-src-should-be-a-link