Kompilace php 3.09

Robert Vojta penguin na devil.mendelu.cz
Středa Červenec 21 11:02:38 CEST 1999


# apxs je pomerne krucialni zalezitost, pokud chcete vyrabet DSO
# je docela chyba, jestli o tom neni v instalacni dokumentaci k PHP
# zminka (jako ze asi neni)

  No ona tam je a jmenuje se primo INSTALL.DSO a je to primo jednoduse
popsano:

   Step1: 

   cd apache-1.3.x
   ./configure --prefix=/some/path --enable-shared=max
   make
   make install

   Step 2: Build PHP

   cd php-3.0.x
   ./configure  --with-apxs=/some/path/bin/apxs \
                --with-config-file-path=/some/path
   make
   make install


   Step 3: Edit /some/path/conf/httpd.conf and make sure you have a
line similar to:

  AddType application/x-httpd-php3 .php3

  If this is a brand new setup, you should of course also set the
  other Apache site-specific things in your httpd.conf.

  You should also copy php3.ini-dist to /some/path/php3.ini and have a
  look at it.


Zdravim,
  Robert Vojta

--

                    Robert Vojta penguin-at-mendelu-cz
                  Ustav informatiky - PEF - MZLU v Brne
                     tel. 05-45132938  ICQ# 27487409


Další informace o konferenci Linux