I had problems with my nginx for months. I read a ton of articles online but couldn't find a solution. Most of what I saw was for php7.0, and the...
For further actions, you may consider blocking this person and/or reporting abuse
Hi, I am following this article. But when I run "brew tap homebrew/dupes". I got this error: "Error: homebrew/dupes was deprecated. This tap is now empty as all its formulae were migrated". How can I fix this? I tried to search but I do not found any solution. I am using Homebrew 1.6.4. MacOS high sierra version 10.13.4 (17E202). Thanks.
Did you find a solution? You only needed to find the replacement for homebrew/dupes
When, I have created info.php file as you suggested and when I am hitting the URL (localhost:8080/info.php) the file is getting downloaded instead of displaying details.
Can you please help me out.
I want to setup a Laravel project and run through Nginx.
Thanks in advance.
Hi Sher,
I apologise for getting to this late. This usually happens when PHP is not properly configured. Nginx isn't passing the PHP script to FPM or FPM is not processing it at all (probably not set up properly), so it is sending the file because it does not know what to do.
Also, be sure your PHP installation is not using the
.sock
file but is processing viaport 9000
. Look at/etc/php/{PHP_VERSION}/fpm/pool.d/www.conf
and be sure what it is listening to sock file: prnt.sc/s2dr4p orport 9000
: prnt.sc/s2dvdv. It may also be in/etc/php/{PHP_VERSION}/php-fpm.d/www.conf
depending on your installation. Just find it.Let me know if you have found a solution for it.
about fastcgi_param , not sure about the default is not work. But this config will work
This was pretty much useless, it still didn't work for many reasons.
Thanks for trying
Now I have to cry
What result did you get at the end of the day?
I mean, I wrote this about 1 year ago, so a lot might have changed since then.
Nonetheless, share what didn't work let me see if I can help.
Hi Valentine!
Thanks for replying.
I might found a solutions that now works. It took me three days to reach there. Now the only thing I have left is to make a websocket proxy works properly with SSL.
You're right things seems to happens very rapidly. There are many non up to date articles out there that sometimes confusing a bit.
Your solution might work indeed if I had the pleasure to be use a new fresh sierra. But that was unfortunate not the case. I have been sort of messing up a few configurations, packages, not update, miss to set permissions, right user etc.
But now that is in right place/order.
The only thing I have left is to setup a properly websocket proxy to sort of prevent expose ports for the end-user. Here is what it looks like:
Thanks for helping , very kind of you!
(note: everything working and SSL cert and php, permissions, etc.
But now I also have a node-js-server that is up and running correctly. the DNS mydomain.com is a changed host DNS, so its not live or real!
It points to localhost/127.0.0.1 in the hostfile on my machine, but that should work too).
I'm crying nevertheless :'(
Dude...
Thanks.
This was a huge help even in 2023, thank you!!