LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 03-03-2007, 01:29 AM   #1
R960XT
LQ Newbie
 
Registered: Oct 2006
Distribution: Ubuntu 6.06 Dapper
Posts: 5

Rep: Reputation: 0
Problem integrating PHP to apache


i've been installing apache2 and php 5.2.1 on my ubuntu 6.06
and when i try to start apache, it cames with this message

Code:
deddy@Linux:~/Desktop/libxml2-2.6.27$ sudo /usr/local/apache2/bin/apachectl start
httpd: Syntax error on line 53 of /usr/local/apache2/conf/httpd.conf: Cannot load /usr/local/apache2/modules/libphp5.so into server: /usr/local/apache2/modules/libphp5.so: undefined symbol: php_libxml_node_decrement_resource
what's the problem ?
 
Old 03-03-2007, 01:50 AM   #2
tbutttbutt
Member
 
Registered: Jan 2006
Location: India
Distribution: Fedora 7, Linuxfromscratch 6.2
Posts: 66

Rep: Reputation: 15
Have you installed all the php files that Apache needs to run PHP? A file seems to be missing. Check all the PHP files on your CDs and install the ones you think need to be installed, perhaps the one that has 'xml' in the name.

One of them will have the missing definition for php_libxml_node_decrement_resource.
 
Old 03-04-2007, 07:27 AM   #3
R960XT
LQ Newbie
 
Registered: Oct 2006
Distribution: Ubuntu 6.06 Dapper
Posts: 5

Original Poster
Rep: Reputation: 0
i've checked the file
the file exsist in the directory /usr/local/apache2/modules/libphp5.so
i just don't know why it keep showing message like that.

i'm newbie on linux
 
Old 03-05-2007, 11:42 AM   #4
tbutttbutt
Member
 
Registered: Jan 2006
Location: India
Distribution: Fedora 7, Linuxfromscratch 6.2
Posts: 66

Rep: Reputation: 15
What file have you checked?

The 'directory' you mention is not a directory -- it is a file!

Check the files on the CDs of your distribution. The file will be one with something like php-xml in its name.

You have to first mount the CD with:

su
mkdir /mnt/cdrom
mount -t iso9660 /dev/cdrom /mnt/cdrom


'cd' into the RPMS directory on your CD and locate the file on the CD, then do:
rpm -ivh <file-name.rpm>
replace file-name.rpm with the actual name of the file.
This will install the file.

Then unmount the CD with:
umount /dev/cdrom

Check all your CDs. You will find the file on one of them. Then install it. That's all there is to it.
 
  


Reply

Tags
apache2, php5


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
Integrating Tomcat with Apache shimommm Linux - Newbie 0 06-01-2006 07:29 AM
URGENT!!! (apxs not found) Integrating Apache & Tomcat on RedHatLinux AS 4 amitkanodia Linux - General 5 12-01-2005 10:43 AM
Integrating PHP and MySQL Into Apache From Full Installation tsuehpsyde Fedora 11 05-05-2004 02:15 PM
Apache php index.php problem neurotic Linux - Software 3 11-18-2003 06:02 PM
integrating WEBDAV and LDAP apache modules jasongonella Linux - Networking 0 10-30-2001 04:51 AM


All times are GMT -5. The time now is 05:51 AM.

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