Solved

How does one install xml support of php

Posted on 2008-10-28
6
348 Views
Last Modified: 2012-05-05
I installed php5, no problems, also mysql is working well, I also installed phpldapadmin and when I went to open it up in the browser (firefox) it told me to install php support for xml; how does one do this.?
0
Comment
Question by:solunatec
  • 3
  • 2
6 Comments
 
LVL 15

Expert Comment

by:MMDeveloper
ID: 22822492
login as root on the linux box and try installing pear's xml parser


pear install XML_Parser
0
 
LVL 15

Accepted Solution

by:
MMDeveloper earned 500 total points
ID: 22822562
afterthought, try making a phpinfo page

it's a php page with the following code:

<?php
phpinfo();
?>

and look at the compilation string, make sure that "--disable-xml" isn't in there, if it is, I'd recommend recompiling PHP without that switch. PHP5 has great XML support in my opinion.
0
 

Author Comment

by:solunatec
ID: 22822695
you'll have to baby spoon this to me...
I am on freebsd 6.1 ; I am in the ports section in the pear directory and I do not see anything for xml although there are about 100 packages...thanks..
0
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 

Author Comment

by:solunatec
ID: 22822702
actually I just saw your second comment i will go and see...
0
 
LVL 61

Expert Comment

by:gheist
ID: 22822770
FreeBSD 6.1 is outdated.

On normal FreeBSD system pkg_add -r php5-xml
0
 

Author Comment

by:solunatec
ID: 22831485
I reinstall php5 and made sure it installed lib_xml
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

I imagine that there are some, like me, who require a way of getting currency exchange rates for implementation in web project from time to time, so I thought I would share a solution that I have developed for this purpose. It turns out that Yaho…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now