# PHP5, Apache 1.3, DSO

- Thread: https://externals.io/message/1083
- Original archive: https://news-web.php.net/php.internals/1083
- Started by Adam Dickmeiss on 2003-04-28T20:28:38+00:00
- Messages: 4
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #1083 — Adam Dickmeiss — 2003-04-28T20:28:38+00:00

URL: https://externals.io/message/1083#1083

Just a quick question,

with Apache 1.3.27, I can no longer use --with-apxs in head PHP5 . Should I
file a bug report is there an obvious answer?

-- Adam

-- 
Adam Dickmeiss  mailto:adam@indexdata.dk  http://www.indexdata.dk
Index Data      T: +45 33410100           Mob.: 212 212 66

---

## #1084 — Derick Rethans — 2003-04-28T20:29:08+00:00

URL: https://externals.io/message/1083#1084 · In reply to: #1083

> Just a quick question,
> 
> with Apache 1.3.27, I can no longer use --with-apxs in head PHP5 . Should I
> file a bug report is there an obvious answer?

It helps if you tell what is the error...

Derick

-- 
                                        "my other box is your windows PC"
-------------------------------------------------------------------------
 Derick Rethans                                 http://derickrethans.nl/ 
 PHP Magazine - PHP Magazine for Professionals       http://php-mag.net/

---

## #1085 — Adam Dickmeiss — 2003-04-28T20:59:07+00:00

URL: https://externals.io/message/1083#1085 · In reply to: #1084

> 
> 
> > […]
> 
> It helps if you tell what is the error...
I take it it's not known, so I'd go for reporting the bug. However,
bugs.php.net is not reachable:(
So here goes:

I have:
 Apache 1.3.27  (--enable-module=so ) 
 autoconf 2.57 automake 1.7.3 libtool 1.5

Running it:

adam@gamma:~/proj/php5$ ./buildconf 
using default Zend directory
buildconf: checking installation...
buildconf: autoconf version 2.57 (ok)
buildconf: Your version of autoconf likely contains buggy cache code.
           Running cvsclean for you.
           To avoid this, install autoconf-2.13 and automake-1.5.
buildconf: automake version 1.7.3 (ok)
buildconf: libtool version 1.5 (ok)
rebuilding configure
rebuilding acconfig.h
rebuilding main/php_config.h.in
WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
WARNING: and `config.h.top', to define templates for `config.h.in'
WARNING: is deprecated and discouraged.

WARNING: Using the third argument of `AC_DEFINE' and
WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without
WARNING: `acconfig.h':

WARNING:   AC_DEFINE([NEED_MAIN], 1,
WARNING:             [Define if a function `main' is needed.])

WARNING: More sophisticated templates can also be produced, see the
WARNING: documentation.

adam@gamma:~/proj/php5$ cat config.nice 
#! /bin/sh
#
# Created by configure

'./configure' \
'--prefix=/home/adam/proj/php' \
'--with-apxs=/home/adam/proj/apache/bin/apxs' \
"$@"
adam@gamma:~/proj/php5$ ./config.nice 
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
[snip]
checking for AOLserver support... no
checking for Apache 1.x module support via DSO through APXS... yes
checking for member fd in BUFF *... yes
checking for mod_charset compatibility option... no
checking for Apache 2.0 module support via DSO through APXS... no
checking for Apache 2.0 handler-module support via DSO through APXS...  no
checking for Apache 1.x (hooks) module support via DSO through APXS...  no
checking for Apache 1.x (hooks) module support... no
[snip]
checking for thttpd... no
checking for TUX... no
checking for webjames... no
checking for chosen SAPI module... apache
[snip]
adam@gamma:~/proj/php5$ make
/bin/sh /home/adam/proj/php5/libtool --silent --preserve-dup-deps
--mode=compile gcc  -Iext/ctype/ -I/home/adam/proj/php5/ext/ctype/
-DPHP_ATOM_INC -I/home/adam/proj/php5/include
-I/home/adam/proj/php5/main -I/home/adam/proj/php5
-I/home/adam/proj/php5/Zend -I/home/adam/proj/php5/ext/xml/expat
-I/home/adam/proj/php5/TSRM  -g -O2  -prefer-pic -c
/home/adam/proj/php5/ext/ctype/ctype.c -o ext/ctype/ctype.lo 
[snip , no errors]
adam@gamma:~/proj/php5$ make install
Installing PHP CLI binary:        /home/adam/proj/php/bin/
Installing PHP CLI man page:      /home/adam/proj/php/man/man1/
Installing PHP SAPI module
[activating module `php5' in /home/adam/proj/apache/conf/httpd.conf]
cp libs/libphp5.so /home/adam/proj/apache/libexec/libphp5.so
cp: cannot stat `libs/libphp5.so': No such file or directory
apxs:Break: Command failed with rc=1
make: *** [install-sapi] Error 1


adam@gamma:~/proj/php5$ find . -name 'libphp5.*'
./libs/libphp5.la
./sapi/apache/libphp5.module.in
./.libs/libphp5.lai
./.libs/libphp5.la
./libphp5.la

-- Adam
 
> Derick
> 
> -- 
>                                         "my other box is your windows PC"
> -------------------------------------------------------------------------
>  Derick Rethans                                 http://derickrethans.nl/ 
>  PHP Magazine - PHP Magazine for Professionals       http://php-mag.net/
> -------------------------------------------------------------------------

-- 
Adam Dickmeiss  mailto:adam@indexdata.dk  http://www.indexdata.dk
Index Data      T: +45 33410100           Mob.: 212 212 66

---

## #1086 — Derick Rethans — 2003-04-28T21:00:59+00:00

URL: https://externals.io/message/1083#1086 · In reply to: #1085

> 
> > […]
> I take it it's not known, so I'd go for reporting the bug. However,
> bugs.php.net is not reachable:(

It is, I just started apache again.

> So here goes:
> 
> I have:
>  Apache 1.3.27  (--enable-module=so ) 
>  autoconf 2.57 automake 1.7.3 libtool 1.5

Bad!
Get:
autoconf 2.13, automake 1.5 and libtool 1.4.3, the rest is not (yet) 
supported.

Derick

-- 
                                        "my other box is your windows PC"
-------------------------------------------------------------------------
 Derick Rethans                                 http://derickrethans.nl/ 
 PHP Magazine - PHP Magazine for Professionals       http://php-mag.net/
