Welcome to PCCS-Linux.COM Hello, and welcome to the PCCS-Linux Home Page.
Your last visit was !!!
Your Browser is running on Other
 
apache php pdf
Found searching the web...
URL: didn't record )+:


Installing Apache with PHP and PDF Library support.

Obtain the latest sources for the following components:

1) zlib.tar.gz (http://www.pccs-linux.com/2002)
2) libpng-1.0.9.tar.gz (http://www.pccs-linux.com/spacer.gif)
3) jpegsrc.v6b.tar.gz (http://www.pccs-linux.com/spacer.gif)
4) libjpeg-devel-6b-10.i386.rpm (http://www.pccs-linux.com/spacer.gif)
5) tiff-v3.5.6-beta.tar.gz (http://www.pccs-linux.com/spacer.gif)
6) pdflib-3.03.tar.gz (http://www.pccs-linux.com/spacer.gif)
7) php-4.0.4pl1.tar.gz (http://www.pccs-linux.com/spacer.gif)
8) apache_1.3.17.tar.gz (http://www.pccs-linux.com/spacer.gif)

Install them:

1) Install zlib
- tar -zxf zlib.tar.gz
- cd zlib-1.1.3
- ./configure
- make test
- make install

2) Install libpng
- tar -zxf libpng-1.0.9.tar.gz
- cd libpng-1.0.9
- cp scripts/makefile-linux ./Makefile
- make
- make install

3) Install libjpeg
- tar -zxf jpegsrc.v6b.tar.gz
- cd jpeg-6b
- ./configure
- make
- make test
- make install
- make install-lib
- make install-headers

4) Install libtiff
- tar -zxf tiff-v3.5.6-beta.tar.gz
- cd tiff-v3.5.6-beta
- ./configure (Press enter/return to use default paths)
- make
- make install
- echo "/usr/local/lib" >> /etc/ld.so.conf
- /sbin/ldconfig




5) Install pdflib
- tar -zxf pdflib-3.03.tar.gz
- cd pdflib-3.03
- ./configure -enable-shared-pdflib
- make
- make test
- make install

6) Install php
- tar -zxf apache_1.3.17.tar.gz
- cd apache_1.3.17
- ./configure
- cd ..
- tar -zxf php-4.0.4pl1.tar.gz
- cd php-4.0.4pl1
- ./configure --with-apache=../apache_1.3.17 --enable-track-vars --with-jpeg-dir=/usr/local --with-tiff-dir=../tiff-v3.5.6-beta --with-png-dir=../libpng-1.0.9 --with-zlib-dir=../zlib-1.1.3 --with-pdflib --with-pgsql --enable-static-pdflib --enable-ftp
- make
- make install
- cp php.ini-dist /usr/local/lib/php.ini

7) Install apache
- cd apache_1.3.17
- ./configure -prefix=/home/www -activate-module=src/modules/php4/libphp4.a (Configure apache to be installed in /home/www and activate php support)
- make
- make install
- edit /home/www/conf/httpd.conf
a. Change ServerName to an appropriate server name
b. Uncomment the following lines to tell Apache to parse files with php/phps extension through php:
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

- /home/www/bin/apachectl start (Will start Apache if all is ok)



Page hits 68 on :11:48



This web site is prepared and maintained by Chauncey Thorn.
The information contained in this site was valid at the time of posting.
Chauncey Thorn, assumes no liability for damages incurred directly or indirectly as a result of errors, omissions or discrepancies.

Remember most of the content here are my notes...

All logos and trademarks in this site are property of their respective owner. All the rest © by PCCS-Linux.COM

PCCS-Linux.COM ::ource Advocate Articles catalogue
2000 2002