Coder Social home page Coder Social logo

Comments (5)

zackkrida avatar zackkrida commented on August 23, 2024

More info:

sudo lsof -i :80
COMMAND     PID USER   FD   TYPE             DEVICE SIZE/OFF NODE NAME
com.apple   680  ttg  186u  IPv4 0xdbf876422e24fb85      0t0  TCP localhost:51727->localhost:http (ESTABLISHED)
com.apple   680  ttg  187u  IPv4 0xdbf876422e24fb85      0t0  TCP localhost:51727->localhost:http (ESTABLISHED)
caddy     13663 root    4u  IPv6 0xdbf876423c62d255      0t0  TCP *:http (LISTEN)
caddy     13663 root    9u  IPv6 0xdbf876423c62ccf5      0t0  TCP localhost:http->localhost:51727 (ESTABLISHED)

from valet.

KorvinSzanto avatar KorvinSzanto commented on August 23, 2024

Can you double check that php-fpm is running and make sure that it's running on port 9000? I don't think my changes to the fpm socket have landed in a release yet.

from valet.

zackkrida avatar zackkrida commented on August 23, 2024

This resource has proven helpful, I'm trying brew install php70 --build-from-source now.

Just tested php-fpm:

➜  ~ ps aux | grep fpm
ttg             16905   0.0  0.0  2434840    784 s000  S+    3:44PM   0:00.00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn fpm
➜  ~ cat /usr/local/opt/php70/var/log/php-fpm.log
[28-Sep-2016 14:57:40] ERROR: failed to open configuration file '/usr/local/etc/php/7.0/php-fpm.conf': No such file or directory (2)
[28-Sep-2016 14:57:40] ERROR: failed to load configuration file '/usr/local/etc/php/7.0/php-fpm.conf'
[28-Sep-2016 14:57:40] ERROR: FPM initialization failed
[28-Sep-2016 15:24:45] ERROR: failed to open configuration file '/usr/local/etc/php/7.0/php-fpm.conf': No such file or directory (2)
[28-Sep-2016 15:24:45] ERROR: failed to load configuration file '/usr/local/etc/php/7.0/php-fpm.conf'
[28-Sep-2016 15:24:45] ERROR: FPM initialization failed
[28-Sep-2016 15:26:25] ERROR: failed to open configuration file '/usr/local/etc/php/7.0/php-fpm.conf': No such file or directory (2)
[28-Sep-2016 15:26:25] ERROR: failed to load configuration file '/usr/local/etc/php/7.0/php-fpm.conf'
[28-Sep-2016 15:26:25] ERROR: FPM initialization failed
[28-Sep-2016 15:29:58] ERROR: failed to open configuration file '/usr/local/etc/php/7.0/php-fpm.conf': No such file or directory (2)
[28-Sep-2016 15:29:58] ERROR: failed to load configuration file '/usr/local/etc/php/7.0/php-fpm.conf'
[28-Sep-2016 15:29:58] ERROR: FPM initialization failed

from valet.

adamwathan avatar adamwathan commented on August 23, 2024

Hey @zackcote sounds like PHP is not installing correctly.

Is that error from after building from source or before?

One other thing to try is installing Xcode CLI tools if you haven't already on your fresh install; it's usually required by Homebrew but I've heard of situations where people have gotten into a state where it's not yet installed.

Just run:

xcode-select --install

...then try installing PHP 7 again:

brew uninstall php70
brew install php70 --build-from-source

from valet.

zackkrida avatar zackkrida commented on August 23, 2024

That output was prior to building from source, it's working now! Thanks.

from valet.

Related Issues (20)

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.