September 22nd, 2000, 10:03 PM
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).
September 24th, 2000, 11:40 AM
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.