I have a Direct Admin1.26.1 running on CentOS4.2.
I needed to re-compile php with pgsql so I just ran the configure command again as shown in phpinfo() but with --with-pgsql=/usr added.
After make installing it I found that it was all working as expected.
Question:
What happens when DirectAdmin is updated or, specifically, php is updated? How to I ensure that it is recompiled with pgsql again? Is there a config file somewhere in DirectAdmin that speciifies how php is configured? Right now the solution I have is a bit non-automatic as far as updates are concerned.
Thanks,
SimonB
OK, since yesterday I have discovered the configure.php and configure.php_ap2 files in the customapache directory. Can someone confirm that these files will not be over-written when an update to php is installed? Otherwise I think this is what I was looking for.
I needed to re-compile php with pgsql so I just ran the configure command again as shown in phpinfo() but with --with-pgsql=/usr added.
After make installing it I found that it was all working as expected.
Question:
What happens when DirectAdmin is updated or, specifically, php is updated? How to I ensure that it is recompiled with pgsql again? Is there a config file somewhere in DirectAdmin that speciifies how php is configured? Right now the solution I have is a bit non-automatic as far as updates are concerned.
Thanks,
SimonB
OK, since yesterday I have discovered the configure.php and configure.php_ap2 files in the customapache directory. Can someone confirm that these files will not be over-written when an update to php is installed? Otherwise I think this is what I was looking for.
Last edited: