Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

tlug: PHP module in Apache1.3.0



Hi all;

I was configuring Apache 1.3.0 with PHP3 module support.

In configuring, I'm using the following options:

>./configure --prefix=/path/to/apache
--activate-module=src/modules/php3/libphp3.a

...but the libphp3.a file doesn't exist.  In the src/modules/php3
directory the only files I have are:

-rw-r--r--  1 root  wheel      252 Jul 27 15:53 Makefile.libdir
-rw-r--r--  1 root  wheel     2246 Jul 27 15:53 Makefile.tmpl
-rw-r--r--  1 root  wheel  2451012 Jul 27 15:53 libmodphp3-so.a
-rw-r--r--  1 root  wheel      202 Jul 27 15:53 libphp3.module
-rw-r--r--  1 root  wheel    18480 Jul 27 15:53 mod_php3.c
-rw-r--r--  1 root  wheel     3588 Jul 27 15:53 mod_php3.h
-rw-r--r--  1 root  wheel       29 Jul 27 15:53 php_version.h

I tried using the libmodphp3-so.a file, but only got errors.

This was my installation routine:

  2. How you can install Apache with a dynamically linked PHP:

    $ gunzip <apache_1.3.X.tar.gz | tar xvf -
    $ gunzip <php-3.0.tar.gz | tar xvf -
    $ cd apache-1.3.X
    $ ./configure --prefix=/path/to/apache
    $ cd ../php-3.0
    $ ./configure --with-shared-apache=../apache-1.3.X
    $ make
    $ make install

    [optionally you now have the chance to prepare or add more
     third-party modules to the Apache source tree]

    $ cd ../apache-1.3.X
    $ ./configure --prefix=/path/to/apache \
                  --activate-module=src/modules/php3/libphp3.a \
                  --enable-shared=php3
    $ make
    $ make install


Any hints?

Sean.
sean@example.com

--------------------------------------------------------------
Next Meeting: 8 August, Tokyo Station Yaesu central gate 12:30
featuring Linux on multiple platforms:
i386, Sparc, PA-Risc, Amiga, SGI, Alpha, PalmPilot, ...
Next Nomikai: September, 19:30 Tengu TokyoEkiMae 03-3275-3691
--------------------------------------------------------------
Sponsor: PHT, makers of TurboLinux http://www.pht.co.jp

Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links