[users@httpd] Trouble using JEE IDE with apache tomcat on Mac

2017-06-28 Thread Roparzh Hemon
On my Mac 10.11.3 I've installed the Eclipse JEE IDE (Version: Neon.3 Release (4.6.3)) I also installed apache-tomcat 9 on my Mac, using the following commands : sudo mkdir -p /usr/local sudo mv ~/Downloads/apache-tomcat-9.0.0.M21 /usr/local sudo rm-f /Library/Tomcat sudo ln -s

Re: [users@httpd] Trouble updating PHP version on MAMP on Mac

2017-06-02 Thread Roparzh Hemon
On Thu, Jun 1, 2017 at 9:39 PM, Dr James Smith wrote: > Looks like you are using php5_module with a PHP7 so file - you should be > using: > > LoadModule php7_module /libphp7.0.so > I corrected that, but phpInfo() still displays the old PHP version and php.ini. So there

Re: [users@httpd] Trouble updating PHP version on MAMP on Mac

2017-06-01 Thread Roparzh Hemon
=== > On Wednesday 31 May 2017 03:56:45 Roparzh Hemon wrote: >> I'm trying to update the PHP version used in the built-in MAMP on my >> Mac, as indicated at >> http://aerendir.me/2015/08/01/how-to-upgrade-php-built-in-your-mac-osx/. >> >> After obediently

[users@httpd] Trouble updating PHP version on MAMP on Mac

2017-05-31 Thread Roparzh Hemon
I'm trying to update the PHP version used in the built-in MAMP on my Mac, as indicated at http://aerendir.me/2015/08/01/how-to-upgrade-php-built-in-your-mac-osx/. After obediently completing all the steps, the "CLI" version is updated allright : the output of php- v in my terminal is PHP 7.1.4

[users@httpd] Apache says "It works" but also "Requested URL could not be found"

2016-11-18 Thread Roparzh Hemon
Apache says "It works" but also "Requested URL could not be found" This problem seems to have jumped out of nowhere when I returned from other projects. The project worked fine before. A random Google search suggests the problem might come from permissions, but file permissions seem OK (see

Re: [users@httpd] New virtual host not working [wd-vc]

2016-09-21 Thread Roparzh Hemon
rst. > > HTH, > Kurt Bremser > AMOS Austria > > Newton was wrong. There is no gravity. The Earth sucks. > > Von: Roparzh Hemon [roparzhhe...@gmail.com] > Gesendet: Mittwoch, 21. September 2016 08:40 > An: users@httpd.apache.org >

[users@httpd] New virtual host not working

2016-09-21 Thread Roparzh Hemon
I have several working virtual hosts on my Mac. Recently, I tried to create yet another one by copy-pasting what I did for the others, but to my surprise the new site doesn't work. What I did : In /private/etc/hosts, insert the line 127.0.0.1 localshow.com www.localshow.com In

Re: [users@httpd] How to debug the PHP component of Apache2

2016-04-11 Thread Roparzh Hemon
On Sun, Apr 10, 2016 at 8:24 PM, Alexandru Duzsardi wrote: > php and php module for apache When I look at the documentation at https://httpd.apache.org/docs/2.4/mod/#P, I see no module name with php in it. Is there some other place where I should look ?

[users@httpd] How to debug the PHP component of Apache2

2016-04-10 Thread Roparzh Hemon
My index.php file is compiled correctly when I use one of my PHP executables outside Apache, but fails when I ask Apache to serve it (and fails leaving a blank error log unfortunately). So I'm trying to understand how and where the two PHP compilations start behaving differently. With my

Re: [users@httpd] Trouble connecting virtual host to MySQL

2016-04-09 Thread Roparzh Hemon
On Sat, Apr 9, 2016 at 3:50 PM, Richard wrote: > > > You are (likely) getting to two different places with these requests. > That's not what is happening IMHO, see below. Let me repeat that the problem only appears when I use MySQL. > The url:

[users@httpd] Trouble connecting virtual host to MySQL

2016-04-09 Thread Roparzh Hemon
Some time ago, some people on this list helped me setting up virtual hosts on my Mac. Everything worked fine until I started adding MySQL stuff to my website ; then something strange started to happen : the MySQL is correctly found and displayed if I apply some curious workaround, but not if

Re: [users@httpd] Unable to set up virtual hosts on Mac

2016-03-22 Thread Roparzh Hemon
On Tue, Mar 22, 2016 at 9:56 AM, Yann Ylavic wrote: > It's usually not a good idea to have the HTTP server own (and be able > to write to) the files/directory it serves. > > So you should probably make httpd run as its own User/Group, and make > the DocumentRoot (and below)

Re: [users@httpd] Unable to set up virtual hosts on Mac

2016-03-22 Thread Roparzh Hemon
On Tue, Mar 22, 2016 at 9:15 AM, Yann Ylavic wrote: > Here you probably need something like: > > > Require all granted > DirectoryIndex index.html > > >> > Thanks for your help Yann! It works now.

Re: [users@httpd] Unable to set up virtual hosts on Mac

2016-03-22 Thread Roparzh Hemon
On Mon, Mar 21, 2016 at 5:57 PM, Richard wrote: > > You should look at your access and error logs to see what is being > served, and from where. Compare that against what you have as the > DocumentRoot value you set for your "hhhstrawhhhberry.com" virtual >

Re: [users@httpd] Unable to set up virtual hosts on Mac

2016-03-21 Thread Roparzh Hemon
> > Generally you should avoid using existing domain names, especially > ones you don't control, (e.g., strawberry.com) since that can have > confusing repercussions. > OK. I just changed the name (to www.hhhstrawhhhberry.com), leaving the rest unchanged, and things work a little better now

Re: [users@httpd] Unable to set up virtual hosts on Mac

2016-03-21 Thread Roparzh Hemon
ut SSL on platforms with no /dev/random equivalent # but a statically compiled-in mod_ssl. # SSLRandomSeed startup builtin SSLRandomSeed connect builtin Include /private/etc/apache2/other/*.conf # # uncomment out the below to deal with user agents that deliberately # violate o

[users@httpd] Unable to set up virtual hosts on Mac

2016-03-21 Thread Roparzh Hemon
I've tried to set up a virtual host on my Mac, following all the instructions at https://coolestguidesontheplanet.com/how-to-set-up-virtual-hosts-in-apache-on-mac-osx-10-11-el-capitan/. But when I type localhost/~myusernamehere/www.strawberry.com in my browser, I get a "404 Not Found : The

Re: [users@httpd] Apache won't start after install on Unix-like system

2016-03-19 Thread Roparzh Hemon
ith-homebrew-php55-dyld-library-not-loaded-usr-local > > - Y > > On Fri, Mar 18, 2016 at 11:43 AM, Roparzh Hemon <roparzhhe...@gmail.com> > wrote: >> >> I get the following error message : >> >> $ bin/apachectl -k start >> dyld: Library not loaded: /

Re: [users@httpd] Address already in use in Apache on Mac

2016-03-19 Thread Roparzh Hemon
om:8080 in my httpd.conf), it gets stuck (the loading takes forever, and the browser eventually gives up with a "too long to respond" message). On Sat, Mar 19, 2016 at 12:27 PM, Luca Toscano <toscano.l...@gmail.com> wrote: > Hello! > > 2016-03-19 11:23 GMT+01:00 Roparzh Hemon

[users@httpd] Apache won't start after install on Unix-like system

2016-03-19 Thread Roparzh Hemon
I get the following error message : $ bin/apachectl -k start dyld: Library not loaded: /lib/libaprutil-1.0.dylib Referenced from: /bin/httpd Reason: Incompatible library version: httpd requires version 6.0.0 or later, but libaprutil-1.0.dylib provides version 4.0.0 ../bin/apachectl: line 79:

Re: [users@httpd] Apache won't start after install on Unix-like system

2016-03-19 Thread Roparzh Hemon
e you can try the latest 2.2+ > version, e.g., 2.2.31 I think, which wouldn't require APR > > > -------- > On Fri, 3/18/16, Roparzh Hemon <roparzhhe...@gmail.com> wrote: > > Subject: [users@httpd] Apache won't start after install on

Re: [users@httpd] Address already in use in Apache on Mac

2016-03-19 Thread Roparzh Hemon
ilt-in defaults on my system). On Sat, Mar 19, 2016 at 11:12 AM, Lester Caine <les...@lsces.co.uk> wrote: > On 19/03/16 07:46, Roparzh Hemon wrote: >> $ sudo bin/apachectl -k restart >> Password: >> httpd not running, trying to start >> (48)Address already in use:

[users@httpd] Address already in use in Apache on Mac

2016-03-19 Thread Roparzh Hemon
Hello all, I get the following error message when I try to launch the Apache server : $ sudo ./bin/apachectl -k start Password: (48)Address already in use: AH00072: make_sock: could not bind to address [::]:80 (48)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80 no

Re: [users@httpd] Address already in use in Apache on Mac

2016-03-19 Thread Roparzh Hemon
y started... try -k restart or -k stop followed by -k > start > > > On 19/03/2016 07:21, Roparzh Hemon wrote: >> >> Hello all, I get the following error message when I try to launch the >> Apache server : >> >> $ sudo ./bin/apachectl -k start >> Password

Re: [users@httpd] Apache won't start after install on Unix-like system

2016-03-19 Thread Roparzh Hemon
something that > is in 2.4.x that you need, and if 2.2.31 does what you need then maybe the > quickest way to get things working is 2.2.31? Just a suggestion... > > > > On Fri, 3/18/16, Roparzh Hemon <roparzhhe...@gmail.com>

Re: [users@httpd] Apache won't start after install on Unix-like system

2016-03-19 Thread Roparzh Hemon
_preload_under) > you should be able to add the correct library (latest APR) and let httpd > run. > > Let me know! > > Luca > > > 2016-03-18 17:17 GMT+01:00 Roparzh Hemon <roparzhhe...@gmail.com>: >> >> Thanks for your feedback. The question in the