PHP Module Compile Question

nhouse

Verified User
Joined
Nov 26, 2003
Messages
152
Location
Tennessee
Hello Everyone! Recently I have run into an issue while trying to use certain PHP scripts. Specifically when I try to use CAPTCHA images. Another error came up with trying to use a certain Flash image gallery which said I needed DOMXML support and didn't have it. So here is my question...

Can someone please advise me on a "How to" with regards to updating my PHP installation to make these items work. Also, how safe is it to do? I have never recompiled PHP, etc... so I am a bit nervous about it... but I would like to use the CAPTCHA feature for some things. By the way, I have read the Knowledgebase article here. It seems pretty straight forward... but I don't want to make any mess-ups based on my lack of experience with recompiling and so on. So please advise me on any zinggers that I should watch out for.

This is my configuaration: Apache 1.3.37, PHP 4.4.4 w/Zend Optimizer, DA 1.28.6, CentOS 4.3

I appreciate your input...
 
You don't say what OS you're using. This should work on any CentOS or Fedora install:
Code:
# yum install libgcrypt-devel libxslt-devel
Then add these lines to the bottom of the /usr/local/directadmin/customapache/configure.php file:

\ # put this at the end of the last line
--with-dom=/usr/lib \
--with-dom-exslt=/usr/lib \
--with-dom-xslt=/usr/lib
Then update customapache (details all over these forums).

The above works for us.

Jeff
 
Jeff... It is CentOS 4.3.

Are you referencing what is needed for the TrueType font module?
 
Nick, all I know is that I pulled up a mini-howto out of my personal collection; I create these mini-howtos every time I do a job for a client :) .

Do you need true type as well or do you have it?

Give it a try :) .

Jeff
 
Back
Top