LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 08-01-2007, 12:34 PM   #1
Digitalfuzz
LQ Newbie
 
Registered: Aug 2007
Posts: 3

Rep: Reputation: 0
php-5.2.3 installation question


Hi all,

I am attempting an install of PHP-5.2.3 on a Fedora 7 Machine. This is part of my overall install of SNORT. After providing the following configure command:

./configure --prefix=/www/php --with-apxs2=/www/bin/apxs --with-config- filepath=/
www/php --enable-sockets --with-mysql=/usr/local/mysql --with-zlibdir=/
usr/local --with-gd

I am able to run the "make" command with no problems, However after the "make install" command, I get this error:

/snortinstall/php-5.2.3/sapi/cli/php: error while loading shared libraries: /usr/local/lib/libpng12.so.0: cannot restore segment prot after reloc: Permission denied
make[1]: *** [install-pear-installer] Error 127
make: *** [install-pear] Error 2

I am logged in as root.

Prior to this error, I had received an error concerning an "libpng" file. I downloaded the "libpng 1.2-19rc1 source file, configured and was able to get past that.

Does anyone have any ideas on how to get past this. I am new to all this so if you need more info, let me know and I'll post it.

Thanks so much
 
Old 08-01-2007, 01:18 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Hi,

And welcome to LQ.

I'm not too familiar w/ Fedora, but I read a lot about people
having trouble with SE Linux stopping many activities. Maybe
start looking in that direction?


Cheers,
Tink
 
Old 08-01-2007, 01:30 PM   #3
Digitalfuzz
LQ Newbie
 
Registered: Aug 2007
Posts: 3

Original Poster
Rep: Reputation: 0
That fixed it...

I turned off SELinux and that seemed to have solved the issue.


Thank you very much and thanks for the welcome to the board. I am sure I will be here a lot...
 
Old 08-01-2007, 02:07 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
You're most welcome; turning SE Linux off is a quick fix,
and allowed you to install your PHP. Realistically SE is
a sensible thing, though, and you may want to investigate
how to make your own packages work w/ SE rather than dis-
abling it all together :}


Cheers,
Tink
 
  


Reply



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
PHP installation ZAMO Linux - Software 11 07-06-2007 05:13 AM
PHP / VideoLAN / Fedora Core Question - how can I get the PHP "exec" function to work gtrawoger Linux - Software 3 12-21-2005 06:51 AM
How to add options in php.in after installation of PHP? touqeeransar Linux - Software 1 11-30-2005 04:52 AM
php-4.3.4 installation jules_fraser Linux - Software 0 12-14-2003 05:15 AM
PHP installation question FunkFlex Linux - Software 1 04-28-2003 07:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:19 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration