Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to activate PHP extensions on Linux Centos

Posted on 2008-10-30
5
Medium Priority
?
1,769 Views
Last Modified: 2013-12-13
Hello,

iam using putty program to connect my ssh. I know some linux commands basic ones. ls,cd,exit exc... but now i have to make active some php extensions.

i know how to do in windows .windows/php.ini remove ; from extesinon name and restart apache server.

But i dont know how can i do in linux centos 5. Please Help. Thanks.
0
Comment
Question by:phparmy
  • 3
  • 2
5 Comments
 
LVL 29

Assisted Solution

by:fosiul01
fosiul01 earned 2000 total points
ID: 22839506
in centos, php.ini is locate in /etc/

or you can do : locate php.ini

then vi php.ini

then enable those extenstion

but if you try to enalbe mysql entenstion then you have to do some other things
let me know
0
 

Author Comment

by:phparmy
ID: 22839517
php_zip extension now i want. how can i restarn my apache in linux
0
 
LVL 29

Assisted Solution

by:fosiul01
fosiul01 earned 2000 total points
ID: 22839532
service httpd restart  


0
 

Author Comment

by:phparmy
ID: 22839667
under etc there are 4 php.ini file.
1.php.ini
2.php.ini.rmpne
3.php.ini.saved_by_
4.php.ini.saved_by_psa

PSA means PLESK CONTROL PANEL i think.

How can i edit. php.ini file and then save.
0
 
LVL 29

Accepted Solution

by:
fosiul01 earned 2000 total points
ID: 22839686
you need vim editor or nano

vi php.ini

then press  I to insert

finish your edit

then pres ESC
then :wq

it will save the changes and quit
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses four methods for overlaying images in a container on a web page
It’s a season to be thankful, and we’re thankful for users like you who engage on site, solve technology problems, and network with others in the industry. What tech are we most thankful for? Keep reading.
The viewer will learn how to dynamically set the form action using jQuery.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

886 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question