PDA

View Full Version : php-domxml



tutt
03-11-2007, 06:44 PM
What is the easiest way to install php-domxml without breaking DirectAdmin?

smtalk
03-12-2007, 02:17 AM
Go to /usr/local/directadmin/customapache, edit configure.php (add domxml) and then do:

# ./build clean
# ./build php n

harro
03-20-2007, 03:17 AM
Just for the record... could you explain how to "add domxml" to configure.php(_ap2) ?


What I found on another thread is to add the following:


--with-dom=/usr/lib \
--with-dom-exslt=/usr/lib \
--with-dom-xslt=/usr/lib \

Is that correct (and complete)?

Thanks,

Harro

smtalk
03-20-2007, 05:50 AM
Yes, it's correct.

FinLy
05-01-2007, 04:56 AM
I got this error....
Any idea, please??
Thank you


/usr/local/directadmin/customapache/configure.php_ap2: line 30: --with-dom=/usr/lib: No such file or directory

*** There was an error while trying to configure php. Check the configure.php file

harro
05-01-2007, 05:02 AM
Hi FinLy,

it seems that maybe you have a different location where the DomXML libraries are stored - have a look around whether you have libraries elsewhere.

this: /usr/lib
is sometimes replaced by: /usr/local/lib or variants thereof.

Sorry I can't be more specific, but maybe this will point you in the right direction.

Harro

p.s. I removed the DomXML thingy in the end... couldn't get it working! hope you have more luck ;)

FinLy
05-01-2007, 05:32 AM
Hello Harro,

Thank you for your quick reply. But I still can't figure it out.
FYI, I did:
http://www.directadmin.com/forum/showthread.php?t=13953
but with php 4.4.6 and php 5.2.1

How can I install DomXML after I did the instruction in :
http://www.directadmin.com/forum/showthread.php?t=13953

Thank you very much

Best Regards,

FinLy