1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2000
    Rep Power
    I'm installing PHP after Apache (because the server that I got already had Apache installed but they neglected to install php) so I've been reading and figured out that you need to install PHP as a DSO module, correct? Well - no site seems to be informative enough to tell me how - so here I am I've been trying - here are my 2 builds for both Apache and PHP

    ./configure --with-gd=/install/gd/ --with-mysql=/usr/local/mysql/ --with-system-regex --with-apache=/usr/local/apache --with-config-file-path=/usr/local/lib/ --enable-track-vars


    ./configure --prefix=/usr/local/apache/ --sysconfdir=/usr/local/apache/compile --activate-module=src/modules/php4/libphp4.a --enable-module=status

    I'm not sure if I'm doing something majorly wrong or what. httpd.conf is edited correctly and php.ini is installed correctly (I am 99% positive).

    I guess what I'm looking for is if the above is approximately correct in trying to install php as a DSO module or if not, how do I install it?

    Thanks a lot in advance

    Note: This was posted in the Apache forum too (figured it applies to both).
  2. #2
  3. Full Access
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Jun 2000
    London, UK
    Rep Power
    As far as my limited knowledge of Apache goes, I think to have DSO enabled you have to recompile Apache with that option on? Then you just compile PHP into it as a DSO.


Similar Threads

  1. Apache 2 and PHP 4
    By stanley1610 in forum Apache Development
    Replies: 2
    Last Post: February 12th, 2004, 08:20 PM
  2. php for apache
    By wannabe in forum Beginner Programming
    Replies: 3
    Last Post: February 6th, 2004, 02:28 PM
  3. PHP -> system commands
    By Tantalus in forum PHP Development
    Replies: 1
    Last Post: January 28th, 2004, 10:51 AM
  4. Can PHP interpret Apache Directory Protection?
    By xpatriot in forum PHP Development
    Replies: 1
    Last Post: January 25th, 2004, 01:51 PM
  5. UnixODBC + PHP + Apache + Empress
    By coder4hire in forum Database Management
    Replies: 0
    Last Post: January 15th, 2004, 01:41 PM

IMN logo majestic logo threadwatch logo seochat tools logo