Go Back   CodingForums.com > :: Server side development > PHP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 01-21-2003, 10:18 PM   PM User | #1
DoubleV
Regular Coder

 
Join Date: Dec 2002
Location: the windy city
Posts: 140
Thanks: 0
Thanked 0 Times in 0 Posts
DoubleV is an unknown quantity at this point
installing php - which extensions?

my host has its own set of instructions on how to install php.
1. Run the following command: % vinstall php4-dso
2. When you run the vinstall command, you will be given the option to select which extensions you want to use. In order to not waste memory on your Virtual Private Server, we recomend that you only select extensions you will actually be using. If you find you need to add or remove extensions at a later time, you can manually edit the php.ini file, or use the vinstall command to change the active extensions.

so the question is, which extensions should i install? which are rare and i am unlikely to use?
and if i'll need to modify php.ini file later, how will i do that?
DoubleV is offline   Reply With Quote
Old 01-22-2003, 04:48 PM   PM User | #2
bored
New Coder

 
Join Date: Jan 2003
Location: Tulsa, OK
Posts: 69
Thanks: 0
Thanked 0 Times in 0 Posts
bored is an unknown quantity at this point
I wouldn't install any of them unless you are scripting and need the functions availible.

Like it said, you can edit the php.ini, and it's really not that hard.
bored is offline   Reply With Quote
Old 01-22-2003, 05:00 PM   PM User | #3
DoubleV
Regular Coder

 
Join Date: Dec 2002
Location: the windy city
Posts: 140
Thanks: 0
Thanked 0 Times in 0 Posts
DoubleV is an unknown quantity at this point
Quote:
Originally posted by bored
I wouldn't install any of them unless you are scripting and need the functions availible.
i've never installed or used php before, so could you explain more?
if i do not install any, will i still be able to do basic php stuff? are they kind of like "add-ons" for very specific functionality that we might or might not need? or do they also contain the very basic stuff without which i would not be able to do anything?
DoubleV is offline   Reply With Quote
Old 01-22-2003, 08:00 PM   PM User | #4
mordred
Senior Coder


 
Join Date: Jun 2002
Location: frankfurt, german banana republic
Posts: 1,848
Thanks: 0
Thanked 0 Times in 0 Posts
mordred is an unknown quantity at this point
Generally, the extensions are for those rare and funky stuff. Those extensions which use has become so widespread have been put into the main php trunk and are available by default - like the MySQL, sessions or (in newer PHP distro's) GD image library.

If you just plan to learn the basics of PHP and want to see your scripts interact with a database, just don't worry about the extensions right at the moment. There's plenty of stuff to learn with the core PHP features. As bored said, your host seems cooperative enough that it should be possible for you to install extensions on an as-needed basis.
mordred is offline   Reply With Quote
Old 01-22-2003, 08:32 PM   PM User | #5
bored
New Coder

 
Join Date: Jan 2003
Location: Tulsa, OK
Posts: 69
Thanks: 0
Thanked 0 Times in 0 Posts
bored is an unknown quantity at this point
Exactly. Very well stated.
bored is offline   Reply With Quote
Old 01-22-2003, 09:05 PM   PM User | #6
DoubleV
Regular Coder

 
Join Date: Dec 2002
Location: the windy city
Posts: 140
Thanks: 0
Thanked 0 Times in 0 Posts
DoubleV is an unknown quantity at this point
Thanks a lot!
DoubleV is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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 On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 06:03 PM.


Advertisement
Log in to turn off these ads.