September 22nd, 2000, 09:43 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
September 23rd, 2000, 05:17 AM
You wanted to install PHP using DSO method but you were neither using DSO method nor static method.
Your PHP: --with-apache=/usr/local/apache
You need to point it to apache source, not apache PREFIX install directory.
If you don't have permission to recompile apache on your server, then your only option is to install using DSO method so long as apxs is available.
Maybe you should start here -> http://www.devshed.com/Talk/Forums/F...ML/000020.html and at step 10, it should be cp php.ini-dist /usr/local/etc/php.ini instead
September 23rd, 2000, 10:06 AM
Well - the problem with that is that Apache was not installed with apxs. So I'm at a loss there. I do have permissions to recompile Apache under the server. I've been in contact with the people that setup Apache and they said that it was set up for DSO module installation, but there is no apxs directory (which is where I'm having the major conflicts with every install guide I come upon). So, I guess my question now is how do I compile apache with apxs support?
September 24th, 2000, 03:44 AM