Hello
I am new to Magento, and I have a problem with installing it on Arch Linux.
I am following the steps in the below link,
https://ipv6.rs/tutorial/Arch_Linux/Mag … en_Source/
In the Step 3: Install Magento / install the software, I got this error Class"Magento\Framework\App\ResourceConnection\Proxy" does not exist when I run the following command ,
$ bin/magento setup:install \ --base-url=http://palm-sw.com/ \ --db-host=localhost \ --db-name=magento2 \--db-user=magentouser \--db-password=magento@password \--admin-firstname=Admin \--admin-lastname=User \--admin-email=admin@palm-sw.com \--admin-user=admin \--admin-password=Admin123! \--language=en_US \--currency=USD \--timezone=America/Chicago \--use-rewrites=1
Your support is highly appreciated.
Regards,
Hossam
Solved! Go to Solution.
Hi @hossammaghbcbe ,
ext-sodium and ext-xsl both are required extensions based on your php version and system requirements.
Using sudo with Composer is not recommended as a best practice.
Instead, ensure your local directory has the correct permissions. For example:
sudo chmod -R 777 /srv/http/magento2
Once permissions are set, you can safely run the Composer command without sudo:
composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition /srv/http/magento2
This approach helps avoid permission issues and potential security risks associated with running Composer as root.
Hi @hossammaghbcbe ,
Could you please confirm which magento version you are trying to install?
Also, refer below link for system requirements
Example: php version compatibility issues
Try composer install before setup:install command and check vendor folder exists with proper permission or not.
Problem Solved? Accept as Solution!
Hope it helps!
Thanks
- I am installing Magento2.
- For system requirements,
I had a problem with these two packages (ext-sodium and ext-xsl) while using the following command to download Magento. So I bypass the tow packages. Also, I use the sudo with the command due to an authentication issue.
Finally, could you please clarify this point? "Try composer install before setup:install command and check vendor folder exists with proper permission or not. "
Thank you for your time. appreciated
The command to download Magento.
sudo composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition /srv/http/magento2
Hi @hossammaghbcbe ,
ext-sodium and ext-xsl both are required extensions based on your php version and system requirements.
Using sudo with Composer is not recommended as a best practice.
Instead, ensure your local directory has the correct permissions. For example:
sudo chmod -R 777 /srv/http/magento2
Once permissions are set, you can safely run the Composer command without sudo:
composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition /srv/http/magento2
This approach helps avoid permission issues and potential security risks associated with running Composer as root.