Ded Serius

 

Ded Serius - Installation Instructions for Apache / FrontPage / PHP 4.3.8 / MySQL 4.0.2 Ded Serius
Michel Verdier

Create Your Badge
 
 
 
 

Y2KMatrix

 
 

Today's Fortune

 
 

Halloween Document

 
 

RedHat 7.1 MILO Alpha

 
 

Archive AWT Java Tutorial

 
 

Apache/FrontPage/PHP
Linux Instructions

 
 

Quick n Dirty Samba

 
 

HTML 3.2 Tutorial

 
 

KDE Screenshots
(UNIX Desktops)

 
 

Slackware

 
 

Resume

 
 

Music

 
 
 
 

Installation Instructions for Apache / FrontPage / PHP 4.2.8 / MySQL4.

This is the Apache Front Page 2000 Patched Server on Slackware Linux

On this web-site I'll attempt to detail the steps necessary to install the Apache 1.3.6/PHP-3.0.14/MySQL 3.22.25/FP2000 server on a Slackware 7.0, with kernel 2.2.13.

Incidentally, I attempted this process with Apache 1.3.9, however I received some hunk failed messages while patching the Apache Source with the Front Page patch, and, once I was able to get it running, I received constant segmentation faults while attempting to retrieve content from the web server.  I was able to get this solution to work on a Red Hat 5.2 box a couple years ago, however, I prefer running Slackware, despite the the perception that it's difficult to administer. Trust me it is not. Especially since Patrick Volkerding and crew at Slackware incorporated glibc. I have not had problems compiling anything written for Red Hat Since then.

This update is long overdue and as we all know, the popularity of Apache Server just keeps getting better. I've been pretty remiss in maintaining this site and have decided to remedy that past sin over the next few hours while I upgrade a couple of my servers to deploy some secure web apps. This site takes a couple dozen hits a day, so, if it looks strange, forgive me. I don't have a problem modifying web content on a production server. Incidentally, my editor of choice is still vi >:) Most of the following still applies, but, the mod_ssl stuff will be forthcoming.

The commands necessary, in sequence, will be in dark blue.  You should be able to copy and paste these commands into a terminal session.  Of course, the standard disclaimers apply:  if you toast your web-server, database server, the desk your computer sits on, or your pet poodle, I'm not responsible.  Still....  hope this helps someone, 'cause it was pretty tricky to set up......


    Before even starting this project ensure you get a good back up of your existing DocumentRoot, and configuration files for your Apache Server
  1. ****Back Up httpd.conf, srm.conf, access.conf****
    • Typically, this will be in the /usr/local/apache/conf directory
    • (as root)

      tar czvf /backup destination/apache.conf.tgz /usr/local/apache/conf

  2. Install MySQL 3.22.25:
    • Obtain MySQL from TCX;
    • (as root)

      cd /usr/src
      tar xzvf  /path to/mysql-3.22.25.tar.gz
      cd mysql-3.22.25
      ./configure
      make
      make install

    *Note that the following only apply if you've already got a running MySQL server with data you don't particularly care to part with*

    mysqladmin -p shutdown
    mysqladmin -p start

    • Install the MySQL perl modules also available from TCX
  3. data-dumper-2_09_tar.gz
    • (as root)

      cd /usr/src
      tar xzvf /path to/data-dumper-2_09_tar.gz
      cd Data-Dumper-2.09
      perl Makefile.PL
      make
      make test
      make install   

  4. data-showtable-3_3_tar.gz
    • (as root)

      cd /usr/src
      tar xzvf data-showtable-3_3_tar.gz
      cd Data-ShowTable-3.3
      perl Makefile.PL
      make
      make test
      make install

  5. dbi-1_11_tar.gz
    • (as root)

      cd /usr/src
      tar xzvf dbi-1_11_tar.gz
      cd DBI-1.11
      perl Makefile.PL
      make
      make test //(proxy will get skipped)
      make install

  6. msql-mysql-modules-1_2200_tar.gz
    • (as root)

      cd /usr/src
      tar xzvf msql-mysql-modules-1_2200_tar.gz
      cd Msql-Mysql-modules-1.2200
      perl Makefile.PL -static
      touch README
      make
      make install

  7.  Install FrontPage2000 Server extensions
    • Obtain FrontPage2000 from Ready to Run Software
    • (as root)

      cd /usr/local
      tar xzvf /path to Front Page 2000/fp40.linux.tar.gz
      cd frontpage
      ln -s version4.0 currentversion
      cd currentversion/bin
      fpsrvadm.exe -o install

  8. Download and configure but DON'T INSTALL Apache 1.3.6
    • Obtain apache_1.3.6.tar.gz
    • (as root)

      cd /usr/src
      tar xzvf /path to Apache/apache_1.3.6.tar.gz
      cd apache_1.3.6
      ./configure --enable-module=expires \
      --enable-module=headers \
      --enable-module=log_agent \
      --enable-module=log_referer \
      --enable-module=usertrack

  9. Download, configure and install GD 1.3
    • Obtain GD-1.3
    • Incidentally, Tom Boutelle, the maintainer of the library no longer supports gif, so, if you want to be able to use the PHP Image functions, you'll need to follow the link above to get to linuxberg, and do a search for gd, where you'll be able to download this version.  I found that every version after 1.3 will break anything that uses ImageGif calls in the gd library.  If you need a gzipped tarball of it, let me know, and, I'll give you a copy of mine .
    • (as root)

      cd /usr/
      tar xzvf /path to/gd1.3.tar.gz
      cd gd1.3
      make
      cd ..
      cp libgd* /lib
      Add /usr/gd1.3 to your PATH statement with export PATH=$PATH:/usr/gd1.3 {You'll probably want this line in your /etc/profile}
      ldconfig -v

  10. Download, configure, and install PHP 3.0.12
    • Obtain php-3.0.12
    • (as root)

      cd /usr/src
      tar xzvf /path to/php-3.0.12.tar.gz
      cd php-3.0.12
      ./configure --with-apache=/usr/src/apache_1.3.6 --with-mysql=/usr/local --with-gd=/usr/gd1.3
      make
      make install

  11. Final stage
    • Return to the apache directory, apply the frontpage page patch, and complete the Apache build http://missinglink.darkorb.net/pub/frontpage/
    • (as root)

      cd /usr/src/apache_1.3.6
      patch -p0 < /usr/local/frontpage/version4.0/apache-fp/fp-patch-apache_1.3.6
      ./configure --enable-module=expires \
      --enable-module=headers \
      --enable-module=log_agent \
      --enable-module=log_referer \
      --enable-module=usertrack \
      --activate-module=src/modules/php3/libphp3.a \
      --add-module=src/modules/extra/mod_frontpage.c
      make
      make install
      /usr/local/apache/sbin/apachectl stop
      /usr/local/apache/sbin/apachectl start

In addition you may want to include the php3_asp_tags On directive in your httpd.conf file.

Let me know if this worked for you.  -- van


The Apache documentation has been included with this distribution.

    77,783 hits since September 13, 2000.

    Mail me, with your comments.
    I updated this page on Sunday August 01, 2010 7:13:32 PM Van

    If you just came here for the MIDIs:

    Taxi SourceForge Logo
    Apache 1.3b6

    Powered by MySQL 3.21.33
    Privacy Statement

    Mail comments to Van
    Slackware Linux 8.x

    Powered by PHP3
    ©Copyright 2010 Ded Serius Music

    Tailored after the Layout of PHP3.NET