Giter VIP home page Giter VIP logo

phpctl's People

Contributors

bgastaldi avatar flavioheleno avatar junior-alves avatar leocavalcante avatar medeirosinacio avatar neuberoliveira avatar rafa-slv avatar sneycampos avatar sschonss avatar vcampitelli avatar yknsilva avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

phpctl's Issues

VALET conflicts, how uninstall?

O.S.: Mac Sonoma 14.2.1 (23C71)

when i run:
valet start
the output is:
Error finding executable PHP. Quitting for safety.
Provided output from find-usable-php.php:
sh: 32mopencodeco/phpctl:php82: not foundopen input file: Running

FrankenPHP not working with macOS and Laravel Valet

          **phpctl frankenphp**

this didn't works in macos + valet apparently.

**
Running opencodeco/phpctl:frankenphp
2024/02/01 21:51:40.853 INFO using provided configuration {"config_file": "/etc/caddy/Caddyfile", "config_adapter": "caddyfile"}
2024/02/01 21:51:40.855 WARN Caddyfile input is not formatted; run 'caddy fmt --overwrite' to fix inconsistencies {"adapter": "caddyfile", "file": "/etc/caddy/Caddyfile", "line": 16}
2024/02/01 21:51:40.856 INFO admin admin endpoint started {"address": "localhost:2019", "enforce_origin": false, "origins": ["//localhost:2019", "//[::1]:2019", "//127.0.0.1:2019"]}
2024/02/01 21:51:40.857 INFO http.auto_https server is listening only on the HTTPS port but has no TLS connection policies; adding one to enable TLS {"server_name": "srv0", "https_port": 443}
2024/02/01 21:51:40.857 INFO http.auto_https enabling automatic HTTP->HTTPS redirects {"server_name": "srv0"}
2024/02/01 21:51:40.857 INFO tls.cache.maintenance started background certificate maintenance {"cache": "0xc0002a0c00"}
2024/02/01 21:51:40.859 INFO FrankenPHP started ๐Ÿ˜ {"php_version": "8.3.1"}
2024/02/01 21:51:40.863 INFO tls cleaning storage unit {"storage": "FileStorage:/data/caddy"}
2024/02/01 21:51:40.863 INFO tls finished cleaning storage units
2024/02/01 21:51:40.876 WARN pki.ca.local installing root certificate (you might be prompted for password) {"path": "storage:pki/authorities/local/root.crt"}
2024/02/01 21:51:40.876 ERROR pki.ca.local failed to install root certificate {"error": "open /var/folders/zl/wshf2ff55gx4plj7m5ycw6q40000gn/T/truststore.1013322764.pem: no such file or directory", "certificate_file": "storage:pki/authorities/local/root.crt"}
2024/02/01 21:51:40.876 INFO http enabling HTTP/3 listener {"addr": ":443"}
2024/02/01 21:51:40.876 INFO failed to sufficiently increase receive buffer size (was: 208 kiB, wanted: 2048 kiB, got: 416 kiB). See https://github.com/quic-go/quic-go/wiki/UDP-Buffer-Sizes for details.
2024/02/01 21:51:40.877 INFO http.log server running {"name": "srv0", "protocols": ["h1", "h2", "h3"]}
2024/02/01 21:51:40.877 INFO http.log server running {"name": "remaining_auto_https_redirects", "protocols": ["h1", "h2", "h3"]}
2024/02/01 21:51:40.877 INFO http enabling automatic TLS certificate management {"domains": ["localhost"]}
2024/02/01 21:51:40.878 INFO autosaved config (load with --resume flag) {"file": "/config/caddy/autosave.json"}
2024/02/01 21:51:40.878 INFO serving initial configuration
2024/02/01 21:51:40.878 INFO tls.obtain acquiring lock {"identifier": "localhost"}
2024/02/01 21:51:40.880 INFO tls.obtain lock acquired {"identifier": "localhost"}
2024/02/01 21:51:40.880 INFO tls.obtain obtaining certificate {"identifier": "localhost"}
2024/02/01 21:51:40.882 INFO tls.obtain certificate obtained successfully {"identifier": "localhost"}
2024/02/01 21:51:40.882 INFO tls.obtain releasing lock {"identifier": "localhost"}
2024/02/01 21:51:40.883 WARN tls stapling OCSP {"error": "no OCSP stapling for [localhost]: no OCSP server specified in certificate", "identifiers": ["localhost"]}
**

Originally posted by @fhferreira in #9 (comment)

parallel: command not found

The addition of GNU/Parallel (01b9ce7) breaks the Makefile in systems that do not have it installed.

$ make build
/bin/sh: parallel: command not found
make: *** [build] Error 127

I suggest either adding a note to README.md or a fallback strategy.

Install Extension GD

In PHP, the GD (Graphics Draw) extension is a library that enables developers to create and manipulate images dynamically.

The GD extension in PHP is important for several reasons:

  • Dynamic Image Generation
  • Image Processing
  • Integration with Web Technologies (PDF Lib, etc)

No command is working

Installed as per the readme instructions, that is runnning the following command:

wget -q https://phpctl.dev/phpctl-installer.sh && \ bash phpctl-installer.sh && rm phpctl-installer.sh

If I run for example phpctl php -m
I get
docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "sh": executable file not found in $PATH: unknown.

Every command returns the same.

System specs:
image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.