You have to recompile PHP to add a module.
You can find out how PHP was configured by looking in phpinfo(). It
lists the configure command near the top.
By the way, I find it useful to type my configure command in a file
(called php-config) and then run "bash <php-config" (without the
quotes), so then it's much easier to upgrade (I don't have to remember
or look up my previous configure command).
Joshua Pritchard wrote:
I have recently moved up in the company I work for and as such I have
inhereted a box that wuns a small webserver.
As part of my updating of all the systems I want to start using php for
new Webcontent rather than Perl.
The box is Fedora Core 3, running Apache 2, php 4, and postgres 8 the
problem I have is that whoever installed the webserver and php on this
machine did not install the Postgres module for PHP im wondering if
there is an easy way to get the module included or if I will have to
reinstall the php. If I do have to reinstall the php how can I find out
what modules are currently installed ?
Thanks in advance
Joahua
"This communication, including any attachments, is confidential.
If you are not the intended recipient, you should not read
it - please contact me immediately, destroy it, and do not
copy or use any part of this communication or disclose
anything about it. Thank you. Please note that this
communication does not designate an information system for
the purposes of the Electronic Transactions Act 2002."
.