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! |
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.
|
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! |
It's usually as easy as:
Code:
pear install <package-name> |
All times are GMT -5. The time now is 02:03 AM. |