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

مشکل در کد #30

Closed
rezaexe opened this issue Dec 19, 2023 · 12 comments
Closed

مشکل در کد #30

rezaexe opened this issue Dec 19, 2023 · 12 comments

Comments

@rezaexe
Copy link

rezaexe commented Dec 19, 2023

سلام خسته نباشید من میخواستم این اسکریپت رو اجرا کنم و هاست لینوکسی دارم
کد ها رو در git bash میزنم خطا میده و کامپوز نصب نمیشه
میشه آموزش جامعی رو ارائه بئین؟

@rezaexe
Copy link
Author

rezaexe commented Dec 19, 2023

این هم بعد از اجرا کردن کد composer install
$ composer install
You are running Composer with SSL/TLS protection disabled.
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
- dpsoft/mellat is locked to version v1.1 and an update of this package was not requested.
- dpsoft/mellat v1.1 requires ext-soap * -> it is missing from your system. Install or enable PHP's soap extension.
Problem 2
- dpsoft/parsian-payment is locked to version v1.0.0 and an update of this package was not requested.
- dpsoft/parsian-payment v1.0.0 requires ext-soap * -> it is missing from your system. Install or enable PHP's soap extension.
Problem 3
- intervention/image is locked to version 2.7.2 and an update of this package was not requested.
- intervention/image 2.7.2 requires ext-fileinfo * -> it is missing from your system. Install or enable PHP's fileinfo extension.
Problem 4
- league/flysystem-local is locked to version 3.21.0 and an update of this package was not requested.
- league/flysystem-local 3.21.0 requires ext-fileinfo * -> it is missing from your system. Install or enable PHP's fileinfo extension.
Problem 5
- league/mime-type-detection is locked to version 1.14.0 and an update of this package was not requested.
- league/mime-type-detection 1.14.0 requires ext-fileinfo * -> it is missing from your system. Install or enable PHP's fileinfo extension.
Problem 6
- mpdf/mpdf is locked to version v8.2.2 and an update of this package was not requested.
- mpdf/mpdf v8.2.2 requires ext-gd * -> it is missing from your system. Install or enable PHP's gd extension.
Problem 7
- spatie/image is locked to version 2.2.7 and an update of this package was not requested.
- spatie/image 2.2.7 requires ext-exif * -> it is missing from your system. Install or enable PHP's exif extension.
Problem 8
- spatie/image-optimizer is locked to version 1.7.2 and an update of this package was not requested.
- spatie/image-optimizer 1.7.2 requires ext-fileinfo * -> it is missing from your system. Install or enable PHP's fileinfo extension.
Problem 9
- spatie/laravel-medialibrary is locked to version 10.15.0 and an update of this package was not requested.
- spatie/laravel-medialibrary 10.15.0 requires ext-exif * -> it is missing from your system. Install or enable PHP's exif extension.
Problem 10
- symfony/event-dispatcher is locked to version v7.0.0 and an update of this package was not requested.
- symfony/event-dispatcher v7.0.0 requires php >=8.2 -> your php version (8.1.12) does not satisfy that requirement.
Problem 11
- symfony/string is locked to version v7.0.0 and an update of this package was not requested.
- symfony/string v7.0.0 requires php >=8.2 -> your php version (8.1.12) does not satisfy that requirement.
Problem 12
- teamtnt/tntsearch is locked to version v3.2.0 and an update of this package was not requested.
- teamtnt/tntsearch v3.2.0 requires ext-pdo_sqlite * -> it is missing from your system. Install or enable PHP's pdo_sqlite extension.
Problem 13
- symfony/yaml is locked to version v7.0.0 and an update of this package was not requested.
- symfony/yaml v7.0.0 requires php >=8.2 -> your php version (8.1.12) does not satisfy that requirement.
Problem 14
- league/flysystem-local 3.21.0 requires ext-fileinfo * -> it is missing from your system. Install or enable PHP's fileinfo extension.
- league/flysystem 3.21.0 requires league/flysystem-local ^3.0.0 -> satisfiable by league/flysystem-local[3.21.0].
- league/flysystem is locked to version 3.21.0 and an update of this package was not requested.

To enable extensions, verify that they are enabled in your .ini files:
- C:\php\php.ini
You can also run php --ini in a terminal to see which files are used by PHP in CLI mode.
Alternatively, you can run Composer with --ignore-platform-req=ext-soap --ignore-platform-req=ext-fileinfo --ignore-platform-req=ext-gd --ignore-platform-req=ext-exif --ignore-platform-req=ext-pdo_sqlite to temporarily ignore these required extensions.

@SadeghPM
Copy link
Member

Composer update
بزنید

@rezaexe
Copy link
Author

rezaexe commented Dec 20, 2023

سلام مجدد
بهد از زدن composer update پیغام زیر نشون میده
$ Composer update
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

Problem 1
- Root composer.json requires dpsoft/mellat ^1.1 -> satisfiable by dpsoft/mellat[v1.1].
- dpsoft/mellat v1.1 requires ext-soap * -> it is missing from your system. Install or enable PHP's soap extension.
Problem 2
- Root composer.json requires dpsoft/parsian-payment ^1.0 -> satisfiable by dpsoft/parsian-payment[v1.0.0].
- dpsoft/parsian-payment v1.0.0 requires ext-soap * -> it is missing from your system. Install or enable PHP's soap extension.
Problem 3
- spatie/laravel-medialibrary[10.0.0, ..., v10.x-dev] require ext-exif * -> it is missing from your system. Install or enable PHP's exif extension.
- xmen/starter-kit v3.1.0 requires spatie/laravel-medialibrary ^10 -> satisfiable by spatie/laravel-medialibrary[10.0.0, ..., v10.x-dev].
- Root composer.json requires xmen/starter-kit ^v3.1.0 -> satisfiable by xmen/starter-kit[v3.1.0].

To enable extensions, verify that they are enabled in your .ini files:
- C:\php\php.ini
You can also run php --ini in a terminal to see which files are used by PHP in CLI mode.
Alternatively, you can run Composer with --ignore-platform-req=ext-soap --ignore-platform-req=ext-exif to temporarily ignore these required extensions.

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

@SadeghPM
Copy link
Member

SadeghPM commented Dec 20, 2023 via email

@rezaexe
Copy link
Author

rezaexe commented Dec 20, 2023

پیام واضح هست. شما باید یکسری افزونه php نصب داشته باشید. اگر میخواهید بدون این پیشنیازها نصب کنید این دستور رو بزنید: composer update --ignore-platform-req=ext-soap --ignore-platform-req=ext-exif

On Wed, Dec 20, 2023, 3:45 PM reza @.> wrote: سلام مجدد بهد از زدن composer update پیغام زیر نشون میده $ Composer update Loading composer repositories with package information Updating dependencies Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires dpsoft/mellat ^1.1 -> satisfiable by dpsoft/mellat[v1.1]. - dpsoft/mellat v1.1 requires ext-soap * -> it is missing from your system. Install or enable PHP's soap extension. Problem 2 - Root composer.json requires dpsoft/parsian-payment ^1.0 -> satisfiable by dpsoft/parsian-payment[v1.0.0]. - dpsoft/parsian-payment v1.0.0 requires ext-soap * -> it is missing from your system. Install or enable PHP's soap extension. Problem 3 - spatie/laravel-medialibrary[10.0.0, ..., v10.x-dev] require ext-exif * -> it is missing from your system. Install or enable PHP's exif extension. - xmen/starter-kit v3.1.0 requires spatie/laravel-medialibrary ^10 -> satisfiable by spatie/laravel-medialibrary[10.0.0, ..., v10.x-dev]. - Root composer.json requires xmen/starter-kit ^v3.1.0 -> satisfiable by xmen/starter-kit[v3.1.0]. To enable extensions, verify that they are enabled in your .ini files: - C:\php\php.ini You can also run php --ini in a terminal to see which files are used by PHP in CLI mode. Alternatively, you can run Composer with --ignore-platform-req=ext-soap --ignore-platform-req=ext-exif to temporarily ignore these required extensions. Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions. — Reply to this email directly, view it on GitHub <#30 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACG6FKFMRFYADHIL64MNQVLYKLJFNAVCNFSM6AAAAABA3K25TGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRUGM3TKMJYGE . You are receiving this because you commented.Message ID: @.>

ببخشید اذیتتون میکنم بعد اجرا کردن دستور فوق پیغام زیر اومده
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

Problem 1
- spatie/laravel-medialibrary[10.0.0, ..., v10.x-dev] require ext-fileinfo * -> it is missing from your system. Install or enable PHP's fileinfo extension.
- xmen/starter-kit v3.1.0 requires spatie/laravel-medialibrary ^10 -> satisfiable by spatie/laravel-medialibrary[10.0.0, ..., v10.x-dev].
- Root composer.json requires xmen/starter-kit ^v3.1.0 -> satisfiable by xmen/starter-kit[v3.1.0].

To enable extensions, verify that they are enabled in your .ini files:
- C:\php\php.ini
You can also run php --ini in a terminal to see which files are used by PHP in CLI mode.
Alternatively, you can run Composer with --ignore-platform-req=ext-fileinfo to temporarily ignore these required extensions.

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

و اینکه دو تا دستور 4 خط اخر رو هم اجرا کردم باز نشد
به نظرتون چیکار کنم؟

@SadeghPM
Copy link
Member

SadeghPM commented Dec 20, 2023 via email

@rezaexe
Copy link
Author

rezaexe commented Dec 21, 2023

سلام خدمت شما
کد هارو اجرا کردم و دیتابیس رو داخل لوکال درست کرد و همه چی اوکی هستش ولی اینو میخوام روی هاست لینوکس بالا بیار هیچ عکس العملی نداره حتی .nev رو هم تنظیم کردم کانکت کردم به دیتابی هاست
برای استفاده در هاست لینوکس تنظیمات خاصی لازم است؟

@SadeghPM
Copy link
Member

SadeghPM commented Dec 21, 2023 via email

@rezaexe
Copy link
Author

rezaexe commented Dec 21, 2023

هاست سی پنل دارم کجا باید کد بزنم؟

@SadeghPM
Copy link
Member

SadeghPM commented Dec 21, 2023 via email

@rezaexe
Copy link
Author

rezaexe commented Dec 21, 2023

اسکریپت فروشگاهی مناسب cpanel دارین؟

@SadeghPM
Copy link
Member

SadeghPM commented Dec 21, 2023 via email

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

2 participants