LinuxQuestions.org
Visit Jeremy's Blog.
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 01-26-2003, 08:52 PM   #1
kelper
Member
 
Registered: Jan 2003
Posts: 77

Rep: Reputation: 15
Question Configure with php


Using redhat 7.3 when i install apache-1.3.27.tar.gz is ok
and i can start the service.I also install php-4.2.3.gz and the installation procedure is no error.
i restart the apache after install the php.
[/b]The problem is occur:[b]
Syntax error on line 205 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server: /usr/local/apache/libexec/libphp4.so: undefined symbol: __dn_expand
/usr/local/apache/bin/apachectl start: httpd could not be started

I have try to use
\--activate-module=src/modules/php4/libphp4.a
compile to apache

How to solve this problem??
 
Old 01-27-2003, 08:37 AM   #2
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu
Posts: 1,420

Rep: Reputation: 100Reputation: 100
maybe u simply have to copy libphp4.so to /usr/local/apache/libexec/libphp4.so
u find that somewhere in the php folder, might be /php/lib or so ...
good luck,
jens
 
Old 01-27-2003, 01:21 PM   #3
markus1982
Senior Member
 
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 46
The solution isn't as simple as j-ray says. You've a problem with __dn_expand, maybe it would help if you post your configure parameters here. Also why not use current PHP version (v4.3.0) ?
 
Old 01-27-2003, 06:47 PM   #4
kelper
Member
 
Registered: Jan 2003
Posts: 77

Original Poster
Rep: Reputation: 15
Talking

The configure parameter of php:

./configure --with-apxs=/usr/local/apache/bin/apxs \ --enable-tracks-vars \ --enable-ftp \ --with-apache=/usr/local/apache


THX





Quote:
Originally posted by markus1982
The solution isn't as simple as j-ray says. You've a problem with __dn_expand, maybe it would help if you post your configure parameters here. Also why not use current PHP version (v4.3.0) ?
 
  


Reply


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
configure php with apache varunbihani Linux - Software 1 01-13-2005 05:43 AM
I just don't get it - Re-configure PHP on new RH 8 install jkpalmer52 Linux - Newbie 0 11-12-2003 09:16 AM
php 4.3.2 configure error adrianmak Linux - Software 0 06-19-2003 08:23 PM
Configure zend with PHP help! please DigiCrime Linux - General 0 02-20-2003 12:52 AM
Configure PHP in RH 8 Ryanitus Linux - Newbie 2 01-03-2003 07:52 PM


All times are GMT -5. The time now is 08:18 PM.

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