Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    Regular Coder
    Join Date
    Dec 2002
    Location
    the windy city
    Posts
    140
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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?

  • #2
    New Coder
    Join Date
    Jan 2003
    Location
    Tulsa, OK
    Posts
    69
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.

  • #3
    Regular Coder
    Join Date
    Dec 2002
    Location
    the windy city
    Posts
    140
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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?

  • #4
    Senior Coder
    Join Date
    Jun 2002
    Location
    frankfurt, german banana republic
    Posts
    1,848
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.

  • #5
    New Coder
    Join Date
    Jan 2003
    Location
    Tulsa, OK
    Posts
    69
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Exactly. Very well stated.

  • #6
    Regular Coder
    Join Date
    Dec 2002
    Location
    the windy city
    Posts
    140
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks a lot!


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •