Installing PHP with GD

| | Comments (0) | TrackBacks (0)

Installing PHP with GD Support involves:

Installing Apache
Installing PHP with GD Support

Installing apache:


  • Download apache 1.3.x from http://httpd.apache.org/dist/
  • untar the distribution into /usr/local/src/apache-1.3.x/
  • cd /usr/local/src/apache-1.3.x/
  • run:
    ./configure --enable-module=so --enable-module=rewrite --enable-suexec --suexec-caller=nobody \
    --suexec-docroot=/usr/local/apache/htdocs --with-suexec-logfile=/usr/local/apache/logs/suexec_log
  • make
  • make install

Apache is now installed in /usr/local/apache

Installing PHP


  • Download the distribution from www.php.net
  • untar the distribution into /usr/local/src/php-4.3.x/
  • cd /usr/local/src/php-4.3.x/
  • run:
    ./configure --with-mysql=/usr/local/mysql --with-apxs=/usr/local/apache/bin/apxs --with-jpeg --with-zlib --with-png --with-gd
  • make
  • make install

php is now installed.

0 TrackBacks

Listed below are links to blogs that reference this entry: Installing PHP with GD.

TrackBack URL for this entry: http://www.megalinux.net/cgi-bin/mt/mt-tb.fcgi/20

Leave a comment

About this Entry

This page contains a single entry by Ram Prasad published on April 15, 2003 12:08 PM.

Piping incoming mails to a PHP program was the previous entry in this blog.

Finding Block Size of filesystem is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Powered by
Movable Type 4.01