Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Aug 2008
    Posts
    4

    Default whats the typicall php extensions used?

    Hello,

    can anyone tell me what extensions php would typically be setup with for a production webserver?

    thanks
    Phil

  2. #2
    Member
    Join Date
    Apr 2003
    Posts
    479

    Default

    cPanel's defaults are:

    .php5 .php4 .php .php3 .php2 .phtml

    .php is of course the most common
    .phtml isn't seen much anymore, but used to be used a bunch.
    .phpX where X is the major version number can be used to run the script with a particular version. For instance, you can run PHP 5 scripts by default and PHP 4 scripts for .php4 files. .php3 and .php2 are for historical purposes, since PHP v3 and PHP v2 are long gone now (hopefully)

    As a side note, some people add .html to their PHP extensions, so that all .html files are processed with PHP. This is usually done locally in a .htaccess file, not globally on the server.

  3. #3
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Jul 2005
    Location
    New Jersey, USA
    Posts
    397

    Default

    Do you mean file extensions like .php, .php5, etc.? or php modules like gd, curl, freetype, etc?

  4. #4
    Member
    Join Date
    Apr 2003
    Posts
    479

    Default

    haha I feel stupid ... thought it was an odd question.

    I think the question was probably about modules like gd, curl, freetype

  5. #5
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Mar 2003
    Location
    NC
    Posts
    725
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    The default it includes usually gets most stuff you need. If you run easyapache there is an option for a typical ecommerce server or something close to that, select that and most people are fine for php modules.

Similar Threads & Tags
Similar threads

  1. PHP-Extensions help please?
    By topgunmike in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 08-04-2008, 11:52 AM
  2. PHP extensions
    By optik001 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 04-24-2008, 12:28 PM
  3. php extensions
    By internetfab in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 10-12-2007, 08:50 AM
  4. PHP Extensions Directory - and editing php.ini
    By jl1 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 01-05-2005, 10:20 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube