Comments (17)
What is your php version
from unifiedtransform.
There are two php images no idea about php so pasting them both here, one is unifiedtransform-php
PHP 7.4.33 CLI NTS
Second one is phpmyadmin
PHP 8.1.17 CLI NTS
More info :
-> I am on Windows and Linux, and I am getting the same errors on both machines.
-> Copied the .env.example to .env
-> Ran docker-compose up -d
-> Ran docker-compose run --rm composer install
Got the above errors.
from unifiedtransform.
Ill check the docker compose file for php version
But consider setting it up without docker for testingvas im busy at the moment
from unifiedtransform.
Ill check the docker compose file for php version
But consider setting it up without docker for testingvas im busy at the moment
from unifiedtransform.
Did you run composer install in or out of the docker container
from unifiedtransform.
I have run both of them out of the container(idk if im right) on cmd/terminal on windows/linux just like i ran docker-compose up d
. Sorry i'm newbie :)
To be precise, i opened the normal cmd terminal and ran the 2 codes, one after the other docker-compose up d ; docker-compose run --rm composer install
from unifiedtransform.
Try running your composer install inside the container itself
from unifiedtransform.
How can i do that ? :(.
Version 2 works well , but I need version 1 and I couldn't make it run. Even tried with docker-install.sh file.
from unifiedtransform.
Try setting up a UnifiedTransform project on Windows 10 without Docker:
https://mykeels.medium.com/unifiedtransform-getting-started-in-2021-286842edacad
I am using this method and it is running fine.
from unifiedtransform.
Try setting up a UnifiedTransform project on Windows 10 without Docker:
https://mykeels.medium.com/unifiedtransform-getting-started-in-2021-286842edacad
I am using this method and it is running fine.
I mentioned that but i got no response on that from op
from unifiedtransform.
How can i do that ? :(.
Version 2 works well , but I need version 1 and I couldn't make it run. Even tried with docker-install.sh file.
That exception looks like a php exception
You are most probably running the commands outside the container
Since this project doesn't use sail, i cannot tell which of the services the prohect is mounted on without looking at the dicker compose file
Could you take a picture of your docker desktop?
from unifiedtransform.
Tried to start composer and artisan but they are exiting and stopping.
from unifiedtransform.
Click on the php service, then switch over to the terminal
Run pwd command and post the results
Also try running compoaer install from there
from unifiedtransform.
Output of php is var/www/html
it do have the contents of the website when did ls
. But when tried to run composer install
its showing command not found.
After installing it in docker with
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php composer-setup.php --install-dir=/usr/local/bin --version=1.9.1 --filename=composer && php -r "unlink('composer-setup.php');" || php -r "unlink('composer-setup.php');"
/var/www/html # composer install
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Your requirements could not be resolved to an installable set of packages.
Problem 1
- laravel/dusk v6.4.1 requires ext-zip * -> the requested PHP extension zip is missing from your system.
- laravel/dusk v6.4.1 requires ext-zip * -> the requested PHP extension zip is missing from your system.
- Installation request for laravel/dusk v6.4.1 -> satisfiable by laravel/dusk[v6.4.1].
To enable extensions, verify that they are enabled in your .ini files:
So i checked the php.ini file it doesnt have complete config except few lines like memory_limit and other, copied the php.ini-development to php.ini and uncommented the extensions. But it is now showing the extensions not found errors.
Can you check if docker installing file is correct in project.
from unifiedtransform.
Good, we are making progress
As a root user, or if sudo doesn't throw an error, run
(Sudo) apt-get install php-7.4-common
Also, run it with zip instead of common at the end
from unifiedtransform.
(Sudo) apt-get install php-7.4-common
Should i run it in my docker php terminal?
/var/www/html # apt-get install php-7.4-common
/bin/sh: apt-get: not found
/var/www/html #
i'm on alpine linux according to os-release. Is it what we needed?
/usr/local/lib/php/extensions/no-debug-non-zts-20190902 # cat /etc/os-release
NAME="Alpine Linux"
ID=alpine
VERSION_ID=3.16.3
PRETTY_NAME="Alpine Linux v3.16"
HOME_URL="https://alpinelinux.org/"
BUG_REPORT_URL="https://gitlab.alpinelinux.org/alpine/aports/-/issues"
from unifiedtransform.
You need to find how to install the zip extension of php in that distro
A bit of googling would help
from unifiedtransform.
Related Issues (20)
- payment menu HOT 1
- mysql: [Warning] World-writable config file '/etc/mysql/my.cnf' is ignored. HOT 1
- I can't delete any information HOT 4
- Error - ROUTINE HOT 2
- Documents HOT 2
- Hosting on 00web HOT 1
- Does UT only work with docker? Where is the tutorial without docker? HOT 17
- Add Teacher & Add Student Feature Not Showing HOT 1
- How to translate Brazilian Portuguese HOT 4
- reset password not working
- How to login as a teacher and student?
- Issue with purify folder.
- You bish
- Meeting Request HOT 1
- Polite Inquiry
- Missing directory vendor
- Base table or view not found: 1146 Table 'unified.role_has_permissions' doesn't exist
- 🚨Potential Stored Cross-Site Scripting HOT 2
- suggestions
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unifiedtransform.