Replies: 2 comments
-
OK, I found that my problem is in downgrading PHP 8 to BoltCMS's required PHP 7. |
Beta Was this translation helpful? Give feedback.
0 replies
-
You can also use the bolt 5 beta, which does work on PHP 8: https://github.com/bolt/project/releases/tag/2.1.0-beta.13 composer create-project bolt/project myprojectname "^2.0" --stability=beta |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'd like to set up Bolt CMS in a htdocs directory, to best simulate a shared server.
I use Laravel Valet, which makes it easy to create virtual hosts on a development box running nginx.
I also plan on using Bolt to serve GraphQL.
The standard install, with
bin/console server:start
worked well. However, I could not serve just the /public/ directory.Next, I tried
composer create-project bolt/project bolt --prefer-dist
but I could get nothing to serve.In all cases, I am getting an error
syntax error, unexpected token "match"
ParseError invendor/willdurand/negotiation/src/Negotiation/Negotiator.php (line 41)
DebugClassLoader->loadClass('Negotiation\Negotiator')
in /Users/bruceingalls/Sites/bolt/vendor/symfony/config/Resource/ClassExistenceResource.php class_exists (line 81)
Note that I did do a
composer dump-autoload
Beta Was this translation helpful? Give feedback.
All reactions