Please login or register. August 23, 2017, 01:40:24 PM

Author Topic: Apache HTTPD packaged  (Read 5658 times)

0 Members and 1 Guest are viewing this topic.

Michael

  • Administrator
  • Hero Member
  • *****
  • Posts: 1041
  • Karma: +0/-0
Apache HTTPD packaged
« on: May 04, 2014, 12:24:17 PM »
I have packaged Apache HTTPD for AIX - versions 2.2.27 and version 2.4.9 can be found at http://dl.aixtools.net/httpd

Comments welcome!

timh1970

  • Jr. Member
  • **
  • Posts: 5
  • Karma: +0/-0
Re: Apache HTTPD packaged
« Reply #1 on: July 27, 2014, 01:42:25 PM »
I am trying to build a server with httpd, postgesql and php.  I have one already using the old Pware software, but the software is getting a bit old now and needs updating.

I have been testing software provided by Michael Perzl for a while but somehow always hit  a snag when trying to get the applications to talk to each other (especially php and pgsql)

Is your version of httpd compiled with pdo enabled so that I could build pdo_pgsql for php and get them talking to each other (the perzl one does not seem to be)?

timh1970

  • Jr. Member
  • **
  • Posts: 5
  • Karma: +0/-0
Re: Apache HTTPD packaged
« Reply #2 on: July 28, 2014, 09:51:37 PM »
After installing on a clean AIX7.1 TL3 installation when I try to load the php module I get:

"httpd: Syntax error on line 164 of /etc/httpd/httpd.conf: Cannot load libexec/libphp5.so into server: rtld: 0712-001 Symbol ap_log_error was referenced from module /opt/httpd/libexec/libphp5.so(), but a runtime definition of the symbol was not found."


Any ideas?

timh1970

  • Jr. Member
  • **
  • Posts: 5
  • Karma: +0/-0
Re: Apache HTTPD packaged
« Reply #3 on: July 28, 2014, 10:54:15 PM »
Just tried to install the 2.4.7 version and I cannot download apr

http://dl.aixtools.net/httpd/httpd-2.4.7/ASF.apr-vac.powerpc.1.5.0.I

just says access forbidden

Michael

  • Administrator
  • Hero Member
  • *****
  • Posts: 1041
  • Karma: +0/-0
Re: Apache HTTPD packaged
« Reply #4 on: July 31, 2014, 10:35:33 AM »
My apologies - read permission is corrected. Many thanks for the comment.

I need to repackage the latest version. What version of AIX are you focusing on. Sometimes it is easier to build for AIX 6.1 than for AIX 5.3 -- although I try and build for AIX 5.3 TL7 as base whenever possible.

However, the files you should be looking for are in the http://dl.aixtools.net/httpd directory. I moved the sub-directories for the old version (2.2.26 and 2.4.7) to a new "old" subdirectory.

Michael

  • Administrator
  • Hero Member
  • *****
  • Posts: 1041
  • Karma: +0/-0
Re: Apache HTTPD packaged
« Reply #5 on: July 31, 2014, 11:23:31 AM »
root@x093:[/data/prj/apache/httpd/httpd-2.4.9]./httpd -l
Compiled in modules:
  core.c
  mod_so.c
  http_core.c

root@x094:[/tmp]apachectl -M     
Loaded Modules:
 core_module (static)
 so_module (static)
 http_module (static)
 authn_file_module (shared)
 authn_core_module (shared)
 authz_host_module (shared)
 authz_groupfile_module (shared)
 authz_user_module (shared)
 authz_core_module (shared)
 access_compat_module (shared)
 auth_basic_module (shared)
 reqtimeout_module (shared)
 filter_module (shared)
 mime_module (shared)
 log_config_module (shared)
 env_module (shared)
 headers_module (shared)
 setenvif_module (shared)
 version_module (shared)
 mpm_worker_module (shared)
 unixd_module (shared)
 status_module (shared)
 autoindex_module (shared)
 dir_module (shared)
 alias_module (shared)

So, pdo may be missing.

re: installation: I am testing - initially on AIX 6.1.

root@x094:[/tmp]oslevel -s
6100-07-06-1241

root@x094:[/tmp]lslpp -L | grep ASF
  ASF.apr-vac.rte            1.5.1.0    C     F    apr-vac version 1.5.1 for
  ASF.apu-vac.rte            1.5.3.0    C     F    apu-vac version 1.5.3 for
  ASF.httpd.man.en_US        2.4.9.0    C     F    httpd 2.4.9 man pages Apache
  ASF.httpd.rte              2.4.9.0    C     F    httpd version 2.4.9 for

root@x094:[/tmp]lslpp -L | grep aixtools
  aixtools.attcp.man         0.6.1.0    C     F    man pages 2014.May.26 18.23
  aixtools.attcp.rte         0.6.1.0    C     F    attcp 2014.May.26 18.23 CUT
  aixtools.buildaix.man      1.0.7.0    C     F    man pages 2013.Dec.05 06.46
  aixtools.buildaix.rte      1.0.7.0    C     F    buildaix 2013.Dec.05 06.46 CUT
  aixtools.coreutils.rte    8.15.0.0    C     F    coreutils version 8.15.0 for
  aixtools.db.rte           6.0.20.0    C     F    db 6.0.20.0 2013.Jul.28 14.16
  aixtools.gettext.man      0.18.1.1    C     F    gettext man pages
  aixtools.gettext.rte      0.18.1.1    C     F    gettext version 0.18.1 for
  aixtools.gettext.share    0.18.1.1    C     F    gettext share and
  aixtools.m4.rte           1.4.16.0    C     F    m4 version 1.4.16 for powerpc
  aixtools.make.rte         3.82.0.0    C     F    make 3.82.0.0 2013.Aug.24
  aixtools.make.share       3.82.0.0    C     F    make share and documentation
  aixtools.pcre.rte         8.30.0.0    C     F    pcre version 8.30.0 for
  aixtools.wget.man.en_US   1.13.4.0    C     F    wget 1.13.4 man pages AIXTools
  aixtools.wget.rte         1.13.4.0    C     F    wget version 1.13.4 for
root@x094:[/tmp]

Of these, I think only the aixtools.pcre.rte is really needed. Need a fresh install to verify.



Michael

  • Administrator
  • Hero Member
  • *****
  • Posts: 1041
  • Karma: +0/-0
Re: Apache HTTPD packaged
« Reply #6 on: July 31, 2014, 08:47:54 PM »
fyi: today I compiled a version of php (5.2.17 - as I am still using php 5.2 with my old version of joomla) with pdo_mysql. I could not find anything about pdo and anything special needed to get httpd to understand pdo.

Will be working on this more tomorrow.

Please let me know how "urgent" this is.

timh1970

  • Jr. Member
  • **
  • Posts: 5
  • Karma: +0/-0
Re: Apache HTTPD packaged
« Reply #7 on: August 06, 2014, 03:43:33 PM »
I am looking to run joomla 3 with a postgreslq server.  There is no real rush as such as this is in the testing stages.  We have a joomla 2 server running at the moment but it is running on very old versions of httpd, php and mysql that date back to the days when Pware was last updated and are now starting to give us sleepless nights about security.

Perzl has later versions but his version of php does not have support for postgresql.  As I understand it there are a couple of modules that will allow php to connect with the postgresql database (one that is dedicated "php5-pgsql" and one that uses "pdo" and "pdo_pgsql").

We already use posgresql for everything else so it would be nice to use joomla on pgsql rather than have just one thing running on mysql as we do at present.

Thanks,

Tim

timh1970

  • Jr. Member
  • **
  • Posts: 5
  • Karma: +0/-0
Re: Apache HTTPD packaged
« Reply #8 on: August 06, 2014, 03:51:33 PM »
My apologies - read permission is corrected. Many thanks for the comment.

I need to repackage the latest version. What version of AIX are you focusing on. Sometimes it is easier to build for AIX 6.1 than for AIX 5.3 -- although I try and build for AIX 5.3 TL7 as base whenever possible.

However, the files you should be looking for are in the http://dl.aixtools.net/httpd directory. I moved the sub-directories for the old version (2.2.26 and 2.4.7) to a new "old" subdirectory.

I am running AIX7.1 TL3 and 6.1 TL6

Michael

  • Administrator
  • Hero Member
  • *****
  • Posts: 1041
  • Karma: +0/-0
Re: Apache HTTPD packaged
« Reply #9 on: August 08, 2014, 06:45:33 AM »
Thought I had already replied.

Right now I am working on finishing up some updates for the scripts I "maintain" in httpd (build/aix/*) - added some info to the Apache wiki here: https://wiki.apache.org/httpd/AIXPlatform

These served as the inspiration for the project: http://sourceforge.net/projects/buildaix/

results of the buildaix package are what I put here: http://dl.aixtools.net - which, when I have time and inspiration I write about here: http://www.aixtools.net

I shall look into getting a virtual machine (aka LPAR aka partition) loaded with AIX 6.1 TL6. However, since you mention concerns about security I do recommend an update to at least TL8 and it's latest SP.