• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Question Install mcrypt with php 8

mduerre

New Pleskian
Server operating system version
Ubuntu 18.04.6 LTS
Plesk version and microupdate number
Plesk Obsidian 18.0.47 Update #3
Hello i want to install the Magento 2.1.0 on my Plesk Obsidian 18.0.47 Update #3
When i use the guide but change the path to the php 8.0 folder i get this:




/opt/plesk/php/8.0/bin/pecl channel-update pecl.php.net
PHP Warning: PHP Startup: Unable to load dynamic library 'mcrypt.so' (tried: /opt/plesk/php/8.0/lib/php/modules/mcrypt.so (/opt/plesk/php/8.0/lib/php/modules/mcrypt.so: cannot open shared object file: No such file or directory), /opt/plesk/php/8.0/lib/php/modules/mcrypt.so.so (/opt/plesk/php/8.0/lib/php/modules/mcrypt.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Updating channel "pecl.php.net"
Channel "pecl.php.net" is up to date



Thank you very much for your help in advance!

Your Matthias Dürre
 
magento 2.1.0 does not work with php8. Even support for php7.2 was only added in (iirc) 2.2.13.
Thank you!
So i can only set the php for the site to 7.1 and after update to 7.2?

...Thats wierd - magento seemed for me the userfriendliest shop App for plesk without hussle
Which should i use now instead?
 
magento 2.1.0 is ancient. Where did you find that?
According to System requirements | Adobe Commerce, for php8.1 you need at least magento 2.4.4, previous versions only support php7.4.
Thank you,

i found the old version in the Application corner of plesk for e-commerce:
The same spot from where you can install Typo3, nextcloud etc.

The guide shows the old version too with aleready no positive comments:
 

Attachments

  • Screenshot 2022-10-18 182038.png
    Screenshot 2022-10-18 182038.png
    92.3 KB · Views: 3
Have you seen this instruction on the forum?

 
Have you seen this instruction on the forum?

Thank you,
My hope was just to click and run the shop - in Linux matters i always run in issues that takes ages to solve.


I will make a test Webseite in Plesk to try the manual install.
There is no Version of Magento in the commands - will then the most current Verion installed?
 
There is no Version of Magento in the commands - will then the most current Verion installed?

With this,

composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition httpdocs

You will the latest version of Magento 2.

If you need a specific version to be installed. You can use,

Eg -

composer create-project --repository-url=[URL]https://repo.magento.com/[/URL] magento/project-community-edition=2.4.5 httpdocs
 
  • Like
Reactions: mow
Back
Top