Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-07-2004, 02:50 PM   #1
Registered: Oct 2003
Posts: 44

Rep: Reputation: 15
Problems compiling php with xml enabled

Hi there:
How to compile php with xml support.?
I tried compiling expat from /usr/src/php-devel and it actually added the to my usr/lib/php/extensions dir but its still not show in my phpinfo page.

I have tried several options with ./configure but not luck so far, any help or redirection to a in depth tutorial apreciated.

Old 05-07-2004, 06:13 PM   #2
Registered: Jul 2003
Posts: 12

Rep: Reputation: 0
Check out the SAMS teach yourself php in 24 hrs book, it has a chapter on instlation and compiling, and refers to apache, mysql and other great config options.
Old 05-07-2004, 07:39 PM   #3
Registered: Oct 2003
Posts: 44

Original Poster
Rep: Reputation: 15
Thanks sckain:

but I've been playing with php for about two years and with Linux for 2 months or so.

This is what I've done so far:
1-Got to the php-devel/extensions/xml
3-./configure --with-expat-dir=/usr/local
4-make make install

I can see and xmlrpc added to /usr/lib/php/extensions but they dont showup in the phpinfo.

I i tried the ./configure --with-xml it errors me something about some XML functions undeclared and make fails.

Later i did the same again but now with
./configure --with-path-to-phpconfig=/etc/php.ini and it says access denied to the file, i'm running as root of course , so where I'm lost.?

I'm missing something very trivial and obvious for the experienced.
I just need to know the correct steps/commands to get my xml enabled in my PHP.(4.3.3)

I already got runnig Mysql,Proftpd,phpmyadmin and so in my home LAN, xml



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error: Caching enabled and local cache: //var/cache/yum/base/primary.xml.gz does... dr_zayus69 Linux - Software 2 07-06-2005 05:32 AM
XML in PHP Vort3x Linux - Software 1 12-20-2004 10:12 PM
Php Vs. Xml zetsui Programming 4 02-18-2004 01:57 PM
Problems compiling php with imap, ssl... support tveiga Linux - Software 1 01-16-2004 10:06 PM
problems compiling ming for php suprabeener Linux - Newbie 4 10-31-2001 05:23 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:26 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration