-
G girish moved this topic from Support on
-
On restart and PHP -V I still get
7.4 not 8.0 despite /app/data/PHP_VERSION showing =8.0
I've tried restarting, creating a new LAMP, update checking, etc.
-
@ghodgeon I guess you are referring to the CLI? You have to use php8.0 explicitly for the CLI. The apache module should be using php 8.0 though. You can verify this using
phpinfo() -
@girish set 8.0 in the file with nano. Restarted the app and checked in the CLI which version was running. Says 7.4…
@ghodgeon that is expected. There are two separate binaries:
phpandphp8.0. The latter is php 8.0. What thePHP_VERSIONdoes is to switch the apache php version (not the cli php version). What do you see in the index.php (the default one?) ? Or you can try atest.phplike this and load the page via the browser and not the CLI:<html> <body> <h1>Cloudron LAMP App (PHP <?php echo PHP_VERSION ?>)</h1> </body> </html> -
@ghodgeon that is expected. There are two separate binaries:
phpandphp8.0. The latter is php 8.0. What thePHP_VERSIONdoes is to switch the apache php version (not the cli php version). What do you see in the index.php (the default one?) ? Or you can try atest.phplike this and load the page via the browser and not the CLI:<html> <body> <h1>Cloudron LAMP App (PHP <?php echo PHP_VERSION ?>)</h1> </body> </html> -
@girish set 8.0 in the file with nano. Restarted the app and checked in the CLI which version was running. Says 7.4…
@girish said in LAMP PHP Set to 8.0. Doesn't update:
@ghodgeon that is expected.
Oh?
I was hoping to install PimCore using composer
COMPOSER_MEMORY_LIMIT=-1 composer create-project pimcore/demo my-projectOnly, I get the error my PHP version is 7.4
Problem 1
- pimcore/pimcore[v10.0.0-BETA1, ..., 10.x-dev] require php ^8.0 -> your php version (7.4.23) does not satisfy that requirement.
-
@girish said in LAMP PHP Set to 8.0. Doesn't update:
@ghodgeon that is expected.
Oh?
I was hoping to install PimCore using composer
COMPOSER_MEMORY_LIMIT=-1 composer create-project pimcore/demo my-projectOnly, I get the error my PHP version is 7.4
Problem 1
- pimcore/pimcore[v10.0.0-BETA1, ..., 10.x-dev] require php ^8.0 -> your php version (7.4.23) does not satisfy that requirement.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login
