Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

php 8.2 #128

Open
johndo100 opened this issue Oct 21, 2023 · 6 comments
Open

php 8.2 #128

johndo100 opened this issue Oct 21, 2023 · 6 comments

Comments

@johndo100
Copy link

Hi,
I've tried install bolt on php8.2 with no success.
It seems bolt lock with old laminas and it doesn't support php8.2.
Please fix it, thank!
23-10-21--08-47-58_maim

@bobdenotter
Copy link
Member

If you try the 5.2 beta, it'll work better:

composer create-project bolt/project myprojectname "^2.5" --stability=beta

@michaellenaghan
Copy link

Thanks for that, I ran into the same problem.

@ThomasMeschke
Copy link

I tried this, and unfortunately I get the Error message "Could not find package bolt/project with version 2.5."
image

@stephanvierkant
Copy link

Same here:

cocur/slugify v4.3.0 requires php ^7.1 || ~8.0.0 || ~8.1.0 || ~8.2.0 -> your php version (8.3.10) does not satisfy that requirement.

Just started to try Bolt. Not a really good developer experience:

bin/console doctrine:fixtures:load --no-interaction
PHP Deprecated:  ini_set(): assert.warning INI setting is deprecated in /home/stephan/PhpstormProjects/prive/blog/vendor/symfony/error-handler/Debug.php on line 34

   > purging database
   > loading Bolt\DataFixtures\UserFixtures
   > loading Bolt\DataFixtures\TaxonomyFixtures
   > loading Bolt\DataFixtures\ImageFetchFixtures

In ErrorChunk.php line 65:
                                                                                                   
  SSL certificate problem: certificate has expired for "https://placeholder.boltcms.io/getfiles".  
                                                                                                   

In CurlResponse.php line 335:
                                                                                                   
  SSL certificate problem: certificate has expired for "https://placeholder.boltcms.io/getfiles".  
                                                                                                   

@chrisvoo
Copy link

chrisvoo commented Nov 28, 2024

And this is what happens when you use PHP 8.4

~/GitHub/chess-bolt:$ composer create-project bolt/project project
Creating a "bolt/project" project at "./project"
Installing bolt/project (2.3.20)
  - Downloading bolt/project (2.3.20)
  - Installing bolt/project (2.3.20): Extracting archive
Created project in /Users/christian.castelli/GitHub/chess-bolt/scacchistilatorre
Class Bolt\ComposerScripts\ProjectEventHandler is not autoloadable, can not call pre-install-cmd script
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Your lock file does not contain a compatible set of packages. Please run composer update.

  Problem 1
    - cocur/slugify is locked to version v4.3.0 and an update of this package was not requested.
    - cocur/slugify v4.3.0 requires php ^7.1 || ~8.0.0 || ~8.1.0 || ~8.2.0 -> your php version (8.4.1) does not satisfy that requirement.
  Problem 2
    - ezyang/htmlpurifier is locked to version v4.16.0 and an update of this package was not requested.
    - ezyang/htmlpurifier v4.16.0 requires php ~5.6.0 || ~7.0.0 || ~7.1.0 || ~7.2.0 || ~7.3.0 || ~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 -> your php version (8.4.1) does not satisfy that requirement.
  Problem 3
    - laminas/laminas-code is locked to version 4.7.1 and an update of this package was not requested.
    - laminas/laminas-code 4.7.1 requires php >=7.4, <8.2 -> your php version (8.4.1) does not satisfy that requirement.
  Problem 4
    - nette/utils is locked to version v3.2.9 and an update of this package was not requested.
    - nette/utils v3.2.9 requires php >=7.2 <8.3 -> your php version (8.4.1) does not satisfy that requirement.
  Problem 5
    - bolt/core is locked to version 5.1.20 and an update of this package was not requested.
    - bolt/core 5.1.20 requires cocur/slugify ^4.0 -> satisfiable by cocur/slugify[v4.3.0].
    - cocur/slugify v4.3.0 requires php ^7.1 || ~8.0.0 || ~8.1.0 || ~8.2.0 -> your php version (8.4.1) does not satisfy that requirement.

@ThomasMeschke
Copy link

I'd consider this project officially abandoned...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants