1
使用MAC OS X Lion。最新版本XAMPP。無法在MAC OS X上運行symofny 2
我的問題:
Warning: require_once(/Users/test/workspace/Symfony/app/../vendor/symfony/src/Symfony/Component/Locale/Resources/stubs/functions.php) [function.require-once]: failed to open stream: No such file or directory in /Users/test/workspace/Symfony/app/autoload.php on line 25
Fatal error: require_once() [function.require]: Failed opening required '/Users/test/workspace/Symfony/app/../vendor/symfony/src/Symfony/Component/Locale/Resources/stubs/functions.php' (include_path='.:/Applications/XAMPP/xamppfiles/lib/php:/Applications/XAMPP/xamppfiles/lib/php/pear') in /Users/test/workspace/Symfony/app/autoload.php on line 25
配置:XAMPP:
<VirtualHost *:80>
ServerName sym.tolisto.de
ServerAdmin [email protected]
DocumentRoot /Users/test/workspace/Symfony/web
<Directory /Users/test/workspace/Symfony/web>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ /app.php [QSA,L]
</IfModule>
</Directory>
Symfony的1.4作品。但Symfony2不是爲什麼?
使用MAC OS X Lion。最新版本XAMPP。
有什麼建議嗎?
你開始以檢查「需要」的存在文件? – 2012-07-10 08:53:35