Coder Social home page Coder Social logo

philipnewcomer / localhost Goto Github PK

View Code? Open in Web Editor NEW
20.0 20.0 1.0 24.31 MB

A minimal macOS local development environment with automatic Nginx configuration, hosts file management, multiple PHP versions, and SSL support.

License: GNU General Public License v3.0

PHP 99.00% Shell 1.00%

localhost's People

Contributors

philipnewcomer avatar

Stargazers

 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

Forkers

fabolivark

localhost's Issues

PHP 7.3 install failure on M1 MacBook Air

This looks great! Excited to try it! Only problem is, Homebrew doesn't seem to want to install [email protected] on a brand new M1 MacBook Air. Here's what I get when running localhost install:

Installing PHP 7.3: failed

In CommandLine.php line 19:

  brew install [email protected] failed with exit code 1.

Trying to run brew install [email protected] gives me this:

Error: [email protected]: no bottle available!
You can try to install from source with:
  brew install --build-from-source [email protected]
Please note building from source is unsupported. You will encounter build
failures with some formulae. If you experience any issues please create pull
requests instead of asking for help on Homebrew's GitHub, Twitter or any other
official channels.

I could try to do a self-build where I've dropped PHP 7.3.x support, but I thought I'd hit you up first.

Generating SSL certificate: failed

Hi Philip, first I want to thank you for your great contributions. I have a problem with Localhost and I am writing to you because I don't know what to do anymore. When I run localhost start I get an error from openssl In CommandLine.php line 19:

  openssl x509 -req -sha256 -days 365 -CA "/Users/fabian.altahona/.localhost/localhost-ca.pem" -CAkey "/Users/fabian.altahona/.localhost/localhost-ca.key"
  -CAcreateserial -in "/Users/fabian.altahona/.localhost/localhost/localhost.csr" -out "/Users/fabian.altahona/.localhost/localhost.crt" -extensions v3_req -extfile
  "/Users/fabian.altahona/.localhost/openssl.conf" failed with exit code 1.

If I run this with sudo it creates it without problems but another problem is that the brew recipes can not be run with sudo and does not run mariadb the weirdest thing is that this happens to me recently before I installed it and it worked without any problem. I have MacOS Monterey Version 12.5 any idea how to fix it? I would be very grateful.

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.