Is it posiible to install nginx 1.20.x with passenger? I have tried to use libnginx-mod-http-passenger but I can't find it for nginx 1.20.x only for 1.18 and 1.14.
Related
I've upgraded macOS version to 11 Big Sur and unable to use brew's apache instead of build in version.
What I did:
sudo apachectl stop
sudo launchctl unload -w /System/Library/LaunchDaemons/org.apache.httpd.plist 2>/dev/null
brew intall httpd
When I'm trying to start the installed httpd it says that apache is started
==> Successfully started httpd (label: homebrew.mxcl.httpd)
but when I run brew services command I see that httpd is not started (and http://localhost:8080 is not working).
sergeylyskov#MacBook-Pro-Sergey ~ % brew services
Name Status User Plist
httpd error sergeylyskov /Users/sergeylyskov/Library/LaunchAgents/homebrew.mxcl.httpd.plist
php#7.3 stopped
php#7.4 stopped
postgresql#12 stopped
P.S. I want to use brew's version because seems like build in apache is not properly work with php modules (it don't show xdebug and imagick extensions in phpinfo())
Any advice?
I tried uninstalling and then reinstalling httpd, but that didn't work initially. When you uninstall, brew does NOT remove the /usr/local/etc/httpd config directory (which is sensible because you might have a lot of things configured in there and not backed up). However, these configuration files might well be outdated (or customized) in a way that makes them incompatible with the latest version of httpd, causing it to fail. So I did the following:
brew services stop httpd
brew uninstall httpd
mv /usr/local/etc/httpd /usr/local/etc/httpd-old
brew install httpd
brew services start httpd
This got it running again with fresh config files; I can now copy over any specific configuration details from httpd-old into the new httpd dir.
Also note: by default, httpd serves from /usr/local/var/www. This dir is not affected by the uninstall-reinstall process, so only your config files need re-doing.
Here is a challenge.
If apache server is deleted from mac, how will you reinstall it ?
You can try to install Apache web server with Homebrew, by executing the following command:
brew install httpd
Could somebody please tell me how to install and configure LAMP on ubuntu 12.04 ? Is there a package similar to WAMP Server that is all-in-one ? I have tried to install from command line ,PHP,MySQL work but apache gives me this after sudo service apache2 restart
* Restarting web server apache2
no listening sockets available, shutting down
Unable to open logs
Action 'start' failed.
And I think probably I did something wrong when installing !
Thank you !
From this tutorial,
Run this commands in Ubuntu Terminal-
sudo apt-get install apache2
sudo apt-get install mysql-server
sudo apt-get install php5 libapache2-mod-php5
sudo /etc/init.d/apache2 restart
For Checking-
php -r 'echo "\n\nYour PHP installation is working fine.\n\n\n";'
If u get-
Your PHP installation is working fine.
Then you are done.
You can follow tutorial from below link to setup LAMP on your Ubuntu 12,
http://technarco.com/ubuntu-linux/how-install-lamp-ubuntu-12
Enjoy, :)
To resolve this error, you need to stop other process using this port.
In some of cases it is nginx. you can stop it
sudo /etc/init.d/nginx stop
you can install lamp server using Tasksel (Tasksel is a Debian/Ubuntu tool that installs multiple related packages as a co-ordinated “task” onto your system. This program is used during the installation process, but users can also use tasksel at any time)
check this post http://wiki.workassis.com/ubuntu-install-lamp-using-tasksel/
I am trying to install the apache module for passenger using the instructions provided at http://modrails.com/install.html
passenger-install-apache2-module
I installed apache using macports:
sudo port install apache2
When I run passenger-install-apache2-module it fails, I also tried installing apache from source. Downloaded it from http://httpd.apache.org/ then ran the commands below:
./configure --enable-so
make
make install
I am using Mac OS X 10.6.8
Please help. My objective is to get started with ruby. Thanks.
Turns out that I had to define the apache path variable in .bash_profile
i want to install phusion passenger together with ruby enterprise edition on x86_64 SMP ubuntu 10.04. the recommended option seems to be
apache2-mpm-worker
but when i run passenger-install-apache2-module
the installation routine of phusion passenger complains
To install Apache 2 development
headers: Please run apt-get install
apache2-prefork-dev as root.
why do we need prefork-dev here, if we clearly want to run passenger with mpm-worker apache2?
any suggestions? is there a worker-dev package?
The worker dev package on Debian & Ubuntu is "apache2-threaded-dev".
Apt-file shows that this installs /usr/bin/apxs2 among other things, so I think this is what you're looking for. By the way, I found this package by using "apt-cache search apache mpm dev".
http://groups.google.com/group/phusion-passenger/msg/b7b2dd8a6561ae36