There is no need to remove an existing installation, just to install the source code from your Slackware installation CDs (if you have not already done so), then recomplie with all of the options that you see in phpinfo() plus the --with-pgsql.i am developing a web based application on slack and slack has php already installed on it.. but not with postgres support.. so i downloaded the php4 package and configured with
./configure --with-pgsql
make make install
option (because this is what most of the documentation suggested)..
but postgres is still not working with php and i checked in phpinfo() but i could not find --with-pgsql there.. this means that php did not get configured with pgsql..
now is that because php was already installed on the system and i needed to
remove the old distribution and install php --with-pgsql again?? i think there
should be a way out..
what is the methodology to make php postgres compatible in my case??
pls help!!
regards vishesh
I'm not familiar with Slackware, but if the PHP supplied with it was not compiled with the --with-pgsql option then they may be a good reason for it. Is Postgres supplied? Do you have it installed?
If all you have is the --with-pgsql on your configure line, then the resulting compilation may not be in the directories the webserver expects, so you may have two copies of PHP but only the original is configured to work with the webserver.
HTH Chris