LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-22-2008, 05:23 AM   #1
dipuasks
Member
 
Registered: Oct 2005
Location: India
Distribution: Redhat 7-9,Fedora Core 3 - 9, RHEL 4 -5, CentOS 4 - 5, Ubuntu 7.10 - 12.10, Mandirva 2008 -2009
Posts: 133

Rep: Reputation: 16
Exclamation Installing PHP extensions


Hi,

I have installed installed Apache 2.2.9 + php 5.2.6 on a CentOS 4 server. Now I want to install some php extensions. I don't know how to do that for linux. I know about php.ini and extension_dir, but where to find the .dll & .so files? I see an ext directory with the downloaded php-5.2.6.tar.gz, inside that I see all extension directories but those are source codes. How to get them installed in php? I don't want to recompile.

Please help. I googled a lot but helpless.



--Dipu
--------------
ou know, windows didn't get that bad over night! It took fifteen years of careful development!
 
Old 08-22-2008, 09:47 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Perhaps you're referring to PHP additional modules? Linux doesn't use dll files, that's Windows. If you are looking for extensions or modules, those are usually installed with PEAR.
 
Old 08-22-2008, 10:03 AM   #3
dipuasks
Member
 
Registered: Oct 2005
Location: India
Distribution: Redhat 7-9,Fedora Core 3 - 9, RHEL 4 -5, CentOS 4 - 5, Ubuntu 7.10 - 12.10, Mandirva 2008 -2009
Posts: 133

Original Poster
Rep: Reputation: 16
Yeah I heard that word "PEAR" while googling but no ideas how to go with that. Can you please guide me installing(step by step) one extension say "mcrypt", so that I can do the rest?

--Dipu
--------------
You know, windows didn't get that bad over night! It took fifteen years of careful development!
 
Old 08-22-2008, 10:39 AM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
It's usually as easy as:

Code:
pear install <package-name>
That's if pear is already installed. Check out http://pear.php.net for more info. Good online manual on how to install and use here: http://pear.php.net/manual/en/
 
  


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
installing curl extensions for php methodtwo Linux - Software 1 07-03-2008 11:08 AM
php-devel & PHP extensions EHCanadian Mandriva 0 06-23-2005 06:06 PM
Php extensions won't load myranalis Linux - General 0 05-07-2004 02:11 AM
MYSQL Extensions For PHP? hbidad Linux - Software 0 02-09-2003 02:57 PM
php AND extensions kaiozero Linux - Software 1 05-30-2002 05:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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

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