Solved

How does one install xml support of php

Posted on 2008-10-28
6
358 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

 

Author Comment

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

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

Is Your Team Achieving Their Full Potential?

74% of employees feel they are not achieving their full potential. With Linux Academy, not only will you strengthen your team's core competencies but also their knowledge of of the newest IT topics.

With new material every week, we'll make sure that you stay ahead of the game.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
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 navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

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