Which SVN binaries support Apache 2.4.2 HTTP server?
Because I got an error on loading modules for SVN modules such as mod_dav_svn.so and mod_authz_svn.so.
Currently I am using Apache 2.4.2 with SVN 1.7.6 modules.
I managed to get it working on Windows with the binaries from Apache Haus:
https://www.apachehaus.com/cgi-bin/download.plx#MODULES24
Anyway, the error could be because of a missing library in the Apache bin folder.
You may try:
yum install mod24_dav_svn
See forum post mod_dav_svn for apache 2.4.
Related
I want to load mod_ssl on centos7 apache 2.2.27. But I can't find where to download it...
I don't want to recompile or upgrade an apache. I just want to add mod_ssl.so in modules directory.
I tried to
yum install mod_ssl
but it only gives a mod_ssl.so only for apache 2.4.x emitting an error like this(https://github.com/bombadil/mod_proxy_msrpc/issues/9 ).
What can I do for this? Thank you in advance.
When I recently installed PHP56 via Homebrew, Apache would no longer start, with this error in the logs:
Cannot load /usr/local/opt/php56/libexec/apache2/libphp5.so into server: dlopen(/usr/local/opt/php56/libexec/apache2/libphp5.so, 10): image not found
Note: I'm running Apache 2.4 on Mac El-Capitan.
How can I resolve this error and get Apache running again?
I've seen this before. If you brew options php56, it says:
With the release of macOS Sierra the Apache module is now not built by default. If you want to build it on your system
you have to install php with the --with-apache option. See brew options php56 for more details.
Thus, try uninstalling (brew uninstall php56) then reinstalling php56 with the flag --with-apache for Apache v2.4.x (--with-apache22 for Apache 2.2). Generally, you can check your Apache version by typing in command line: httpd -v.
My version is 2.4.18, so I would brew install php56 --with-apache, which creates the proper file path /usr/local/opt/php56/libexec/apache2/libphp5.so.
Now, it is properly compiled with Apache Handler module.
IMPORTANT: installing php56 with this option appears to also install httpd24. From a brew program stance, this makes sense. However, this may break your server set up. If you don't want to use brew's Apache install, do a brew unlink httpd24 after this.
To see additional brew build options, try brew options php56.
I attempting to deploy a number of cookbooks to configure Apache2 and Passenger on Ubuntu 14.04. Below is the list of cookbooks I am installing in the order in which they appear in the run_list:
build-essential 2.1.3,
apt 2.6.1,
iptables 0.14.1,
logrotate 1.7.0,
apache2 2.0.0,
vim 1.1.2,
passenger_apache2 2.2.3
I am bootstrapping my vagrant vm from my development workstation and the cookbooks all appear to get installed with no errors, except when it gets to the passenger_apache2 cookbook. I can provide the entire extensive output, but I believe the following is the informative part of the output:
STDERR: [Wed Jan 21 14:05:17.027610 2015] [core:warn] [pid 26648] AH00111: Config variable ${APACHE_LOG_DIR} is not defined
node.vagrantup.com (2)No such file or directory: AH02297: Cannot access directory '/etc/apache2/${APACHE_LOG_DIR}/' for log file '${APACHE_LOG_DIR}/other_vhosts_access.log' defined at /etc/apache2/conf-enabled/other-vhosts-access-log.conf:2
node.vagrantup.com AH00014: Configuration check failed
I have seen only a couple of discussions indicating an issue with the $HOME environment variable not being set for the daemonized chef-client. However, I am unclear on how to remedy this situation. I would appreciate any insight the community can provide as I learn how to use Chef.
Thx
UPDATE: Viewing the passenger_apache2 cookbook README, apparently this cookbook is not yet supported on Ubuntu 14.04 due to the use of Apache 2.4 in that version of the OS. Further, I see I missed an error in the output which says:
WARNING: Apache doesn't seem to be compiled with the 'prefork', 'worker' or 'event' MPM
node.vagrantup.com Phusion Passenger has only been tested on Apache with the 'prefork', the
node.vagrantup.com 'worker' and the 'event' MPM. Your Apache installation is compiled with
node.vagrantup.com the '' MPM. We recommend you to abort this installer and to recompile
node.vagrantup.com Apache with either the 'prefork', the 'worker' or the 'event' MPM.
Curious to know if anyone is deploying passenger on Ubuntu 14.04 with Apache 2.4 using Chef Server. If so, how?
UPDATE 2: I can not get this working with the supposedly supported Ubuntu 12.04 either. Would really like to know if anybody has this cookbook working and if so, how.
I fixed this issue by taking the following actions:
Downloaded the latest Apache2 cookbook and uploaded it to my Chef server
Downloaded the latest Passenger_Apache2 cookbook.
Uploading the new Passenger_Apache2 cookbook failed with an error indicating that there was a dependency on Apache 1.0 that was unmet. I then modified the metadata.rb file of the Passenger_Apache2 cookbook and changed the following line:
depends 'apache2', '~> 1.0'
to:
depends 'apache2', '~> 3.0'
Now when I bootstrap my chef node, it installs passenger with no errors. Hope this helps others.
There are a lot of guides out there about setup php-fpm for Apache on CentOS 5x or 6x but none of them are working on Centos 7. I searched for days but can't find any solution.
yum install php-fpm
This command succesfully working.
But then i stuck with this line:
yum install mod_fastcgi
The error is "There is no package as mod_fastcgi"
Is there any mod_fastcgi module compatible with CentOS 7? If so, how can i complete php-fpm setup? Please guide me.
My server have some trouble about memory usage. So i have to optimize Apache. Here is my "top" result.
Deploy PHP with FastCGI
If you are using PHP code with your application, you will need to implement “PHP-FastCGI” in order to allow Nginx to properly handle and parse PHP code. You can install this via YUM from the EPEL repository that was previously installed:
yum install php-cli php spawn-fcgi
Does an rpm or deb package which contains an apache2 module that was compiled against Apache 2.4 likely work on a system that has Apache 2.2, or is this asking for trouble? I'm not worried about the config files, just the shared object mod_foo.so .