Getting error when running PHP configure #147
Unanswered
christiandk00
asked this question in
Q&A
Replies: 2 comments 1 reply
-
Checked source code of the PHP file. Looks like requires PHP 8 for the match function. I will keep this if other people have the same error. |
Beta Was this translation helpful? Give feedback.
1 reply
-
I tried the docker command because of #176 docker run -it --rm --name configurescript -v ${PWD}:/usr/src/myapp -w /usr/src/myapp php:8-cli php configure.php
Unable to find image 'php:8-cli' locally
8-cli: Pulling from library/php
a2abf6c4d29d: Pull complete
c5608244554d: Pull complete
2d07066487a0: Pull complete
1b6dfaf1958c: Pull complete
40f5e6ee20ce: Pull complete
718b027f9905: Pull complete
3bf01f3e893c: Pull complete
af85a153f85f: Pull complete
e052a88c20f6: Pull complete
Digest: sha256:444ba13f11741642a2692430f6678d47fb028442160ec9a5cfa9da7d3c0a9e07
Status: Downloaded newer image for php:8-cli
sh: 1: git: not found
Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /usr/src/myapp/configure.php on line 29 So the configure script needs GIT and trim() does not accept null as first parameter. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I get an error when i run "php ./configure.php". I have not done anything else than press "use template" and then clone it to my local machine. Using PHP 7.4.
Parse error: syntax error, unexpected '=>' (T_DOUBLE_ARROW) in /Users/xxxx/xxx/laravel-xxx/configure.php on line 120
Beta Was this translation helpful? Give feedback.
All reactions