The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Apache/PHP upgrade

Discussion in 'EasyApache' started by cyberspirit, Nov 9, 2003.

  1. cyberspirit

    cyberspirit BANNED

    Joined:
    Jun 27, 2003
    Messages:
    293
    Likes Received:
    0
    Trophy Points:
    0
    Can someone explain the different options in the WHM rebuild Apache screen?
    It seems there are a lot of people who have had good or bad experiences with the different modules and it would be good to have an overview.

    I will make a list and perhaps the moderator can make this sticky for everyone to see - I will keep it updated if people comment on it.


    Expires Module
    This module provides for the generation of Expires HTTP headers according to user-specified criteria.
    http://httpd.apache.org/docs/mod/mod_expires.html

    Raise FD_SETSIZE to 16384 (System Wide) - DEFAULT
    Raises the number of open descriptors per process.
    http://httpd.apache.org/docs/misc/descriptors.html

    Prevent Users from reading other webroots - DEFAULT

    Frontpage Module - DEFAULT

    Gzip Module (experimental) (Version 1.3.26.1a)

    Raise HARD_SERVER_LIMIT - DEFAULT
    This compile-time constant defines the maximum possible number of server processes. It places a ceiling on the number of concurrent requests the server can handle.
    http://httpd.apache.org/dev/apidoc/apidoc_HARD_SERVER_LIMIT.html

    Perl Module (not required to run ..........)

    PHP Module - DEFAULT

    - Version 4.2.3

    - Version 4.3.2

    - Version 4.3.3 - DEFAULT

    - Version 4.3.4

    - Bc Math - DEFAULT
    For arbitrary precision mathematics PHP offers the Binary Calculator which supports numbers of any size and precision, represented as strings.
    http://www.phpbuilder.com/manual/ref.bc.php

    - Calendar Support - DEFAULT
    The calendar extension presents a series of functions to simplify converting between different calendar formats.
    http://www.phpbuilder.com/manual/ref.calendar.php

    - Curl (Version 7.10.5)
    PHP supports libcurl, a library created by Daniel Stenberg, that allows you to connect and communicate to many different types of servers with many different types of protocols. libcurl currently supports the http, https, ftp, gopher, telnet, dict, file, and ldap protocols. libcurl also supports HTTPS certificates, HTTP POST, HTTP PUT, FTP uploading (this can also be done with PHP's ftp extension), HTTP form based upload, proxies, cookies, and user+password authentication.
    http://www.phpbuilder.com/manual/ref.curl.php

    - Curl SSL Support (Version 2.8.16)
    see under Curl

    - Dom XSLT
    not sure if this is actually the Dom XML module?
    if so this is only experimental

    - Flash
    no real info found, can someone help?

    - FTP - DEFAULT
    The functions in this extension implement client access to file servers speaking the File Transfer Protocol (FTP) as defined in http://www.faqs.org/rfcs/rfc959.html.
    http://www.phpbuilder.com/manual/ref.ftp.php

    - GD (Version 2.0.15)
    This allows dynamic creation of graphics on the server side.
    GD is mainly used for creating images at runtime. You can construct graphs, charts, etc using the data available or create custom images based on requirement.
    http://www.phpfreaks.com/tutorials/105/0.php

    - GetText
    The gettext functions implement an NLS (Native Language Support) API which can be used to internationalize your PHP applications. Please see the gettext documentation for your system for a thorough explanation of these functions or view the docs at http://www.gnu.org/manual/gettext/index.html.
    http://us4.php.net/gettext

    - Imap Module
    These functions are not limited to the IMAP protocol, despite their name. The underlying c-client library also supports NNTP, POP3 and local mailbox access methods.
    http://us4.php.net/manual/en/ref.imap.php

    - Mb String
    There are many languages in which all characters can be expressed by single byte. Multi-byte character codes are used to express many characters for many languages. mbstring is developed to handle Japanese characters. However, many mbstring functions are able to handle character encoding other than Japanese.
    http://us4.php.net/manual/en/ref.mbstring.php

    - Mcrypt (Version 2.5.7)
    This is an interface to the mcrypt library, which supports a wide variety of block algorithms such as DES, TripleDES, Blowfish (default), 3-WAY, SAFER-SK64, SAFER-SK128, TWOFISH, TEA, RC2 and GOST in CBC, OFB, CFB and ECB cipher modes. Additionally, it supports RC6 and IDEA which are considered "non-free".
    http://us4.php.net/manual/en/ref.mcrypt.php

    - Mhash (Version 0.8.18)
    These functions are intended to work with mhash. Mhash can be used to create checksums, message digests, message authentication codes, and more.
    http://us4.php.net/manual/en/ref.mhash.php

    - Ming Support - EXPERIMENTAL
    Ming is an open-source (LGPL) library which allows you to create SWF ("Flash") format movies. Ming supports almost all of Flash 4's features, including: shapes, gradients, bitmaps (pngs and jpegs), morphs ("shape tweens"), text, buttons, actions, sprites ("movie clips"), streaming mp3, and color transforms --the only thing that's missing is sound events.
    http://us4.php.net/manual/en/ref.ming.php

    - Magic Quotes - DEFAULT
    PHP provides a configuration option "magic_quotes_gpc", which automatically adds slashes to any submitted HTML form data or cookies (gpc = GET/POST/COOKIE), before it gets passed onto your script.
    magic_quotes once seemed like a good idea but have turned out to be a menace, because if you take code where someone is using addslashes() and run it on a server where magic_quotes_gpc is on, this is what will be inserted into the database;
    This is Bob\'s first post! - we wanted just This is Bob's first post!
    Both magic_quotes_gpc then addslashes have had a go at placing a backslash before the apostrophe. But remember, they also escape any backslashes they find so before it got inserted into the database, $post actually looked like this;
    This is Bob\\\'s first post! - three backslashes!
    MySQL was kind enough to ignore two of the backslashes, inserting only the escaped characters (one backslash, one apostrophe). But this is not a good place to be - the string in MySQL now no longer matches the string returned to your script.

    - Mysql Module - DEFAULT
    These functions allow you to access MySQL database servers.
    http://us4.php.net/manual/en/ref.mysql.php

    - Openssl Support
    This module provides strong cryptography for the Apache 1.3 webserver via the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols by the help of the Open Source SSL/TLS toolkit OpenSSL, which is based on SSLeay from Eric A. Young and Tim J. Hudson.
    http://www.modssl.org/

    - PDFlib (requires licensed, installed version)
    PDFlib is a development tool for PDF-enabling your software, or generating PDF on your server. PDFlib saves you the intricate details of PDF generation by offering a simple-to-use API for programmatically creating PDF files from within your own server- or client-side software. PDFlib doesn't make use of third-party software for generating PDF, nor does it require any other tools.
    http://www.pdflib.com/products/pdflib/index.html

    - PEAR - DEFAULT
    PEAR is short for "PHP Extension and Application Repository" and is pronounced just like the fruit. The purpose of PEAR is to provide:
    A structured library of open-sourced code for PHP users
    A system for code distribution and package maintenance
    A standard style for code written in PHP
    The PHP Foundation Classes (PFC)
    The PHP Extension Community Library (PECL)
    http://pear.php.net/manual/en/introduction.php

    - Postgressql (Postgres must be installed)
    open source database
    http://www.postgresql.org/

    - Pspell Module
    Aspell is a Free and Open Source spell checker designed to eventually replace Ispell. It can either be used as a library or as an independent spell checker. Its main feature is that it does a much better job of coming up with possible suggestions than just about any other spell checker out there for the English language, including Ispell and Microsoft Word. It also has many other technical enhancements over Ispell such as using shared memory for dictionaries and intelligently handling personal dictionaries when more than one Aspell process is open at once.
    Aspell replaced pspell on Augest 23, 2002
    The author writes on that date: "The old Aspell/Pspell combination is now considered completely dead by me. Do not expect any support on them from me. Any bug reports, etc on the old Aspell/Pspell will be deleted."
    http://aspell.net/

    - Sablot XSLT [may cause problems with chili!asp]

    - SafeMode
    The PHP safe mode is an attempt to solve the shared-server security problem. It is architecturally incorrect to try to solve this problem at the PHP level, but since the alternatives at the web server and OS levels aren't very realistic, many people, especially ISP's, use safe mode for now.
    http://www.php.net/features.safe-mode

    - Sockets - DEFAULT

    - Use System Mysql

    - Track Vars - DEFAULT

    - Freetype Support

    - Versioning - DEFAULT

    - WDDX

    - XML RPC

    - Zlib - DEFAULT

    PHP suEXEC Support

    Rewrite Module - DEFAULT

    SSL Module (Version 2.8.16) - DEFAULT

    suEXEC Module - DEFAULT


    to be finished........
    please post input!
     
    #1 cyberspirit, Nov 9, 2003
    Last edited: Dec 2, 2003
  2. Water

    Water Active Member

    Joined:
    Jun 17, 2003
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    This is really nice, I've been looking for something just like this.

    Maybe you can add on it and explain if you install them all or sertain ones, if it will cause problems.

    Thanks.
     
  3. SuperBaby

    SuperBaby Well-Known Member

    Joined:
    Nov 27, 2003
    Messages:
    331
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Thailand
    cPanel Access Level:
    Website Owner
    Twitter:
    Just using Curl and GD as examples:

    By default those two are not checked. Let's say now I check them and do the update. If I come back some other days to install others, do I have to check Curl and GD again? I guess I have to.
     
  4. PbG

    PbG Well-Known Member

    Joined:
    Mar 11, 2003
    Messages:
    241
    Likes Received:
    0
    Trophy Points:
    16
    Here's some more info. The following warning suggests you should enable both the default Mysql and Use System Mysql:


    +--------------------------------------------------------------------+
    | *** WARNING *** |
    | |
    | You chose to compile PHP with the built-in MySQL support. If you |
    | are compiling a server module, and intend to use other server |
    | modules that also use MySQL (e.g, mod_auth_mysql, PHP 3.0, |
    | mod_perl) you must NOT rely on PHP's built-in MySQL support, and |
    | instead build it with your local MySQL support files, by adding |
    | --with-mysql=/path/to/mysql to your configure line. |
    +--------------------------------------------------------------------+

    If it is possible for you to run phpsuexec, we recommend you do this
    by choosing option 2, or using the advanced options.

    phpsuexec combinded with webroot protection will prevent people
    from reading other users webroots. If you are unable to use
    phpsuexec we recommend you enable PHP open_basedir security
    inside of Web Host Manager.

    The following does not work with phpsuexec: php commands in
    .htaccess, php http authentication.

    1) Beginner without/phpsuexec + webroot protection support (*** DEFAULT ***)
    2) Beginner with/phpsuexec support + web root protection
    3) Beginner with/php mcrypt support (if php will not compile, you must choose option 1)
    4) Beginner with/php gd+freetype support (if php will not compile, you must choose option 1)
    5) Beginner with/php gd+freetype+mcrypt support (if php will not compile, you must choose option 1)
    6) Advanced (Experts Only, At Your Own Risk)


    Note:

    I have also found that Flash will not compile on our FreeBSD box. However it does compile on our RH boxes. The following configurations compile without error in their respective OS's. I have not tested any options omitted:


    FreeBSD


    Raise FD_SETSIZE to 16384 (System Wide)
    Prevent Users from reading other webroots
    Frontpage Module
    Raise HARD_SERVER_LIMIT
    Php Module (Version 4.3.3)
    Version 4.3.3
    Bc Math
    Calendar Support
    Curl (Version 7.10.5)
    Curl SSL Support (Version 2.8.16)
    FTP
    GD (Version 2.0.15)
    GetText
    Imap Module
    Mb String
    Mcrypt (Version 2.5.7)
    Mhash (Version 0.8.18)
    Ming Support
    Magic Quotes
    Mysql Module
    Openssl Support
    Pear
    Sockets
    Use System Mysql
    Track Vars
    Freetype Support
    Versioning
    Zlib
    PHP suEXEC Support
    Rewrite Module
    SSL Module (Version 2.8.16)
    suEXEC Module


    RH 9


    Raise FD_SETSIZE to 16384 (System Wide)
    Prevent Users from reading other webroots
    Frontpage Module
    Raise HARD_SERVER_LIMIT
    Php Module (Version 4.3.3)
    Version 4.3.3
    Bc Math
    Calendar Support
    Curl (Version 7.10.5)
    Curl SSL Support(2.8.16)-OMITTED NOW TESTING
    Flash
    FTP
    GD (Version 2.0.15)
    GetText
    Imap Module
    Mb String
    Mcrypt (Version 2.5.7)
    Mhash (Version 0.8.18)
    Ming Support
    Magic Quotes
    Mysql Module
    Openssl Support
    Pear
    Sockets
    Use System Mysql
    Track Vars
    Freetype Support
    Versioning
    Zlib
    PHP suEXEC Support
    Rewrite Module
    SSL Module (Version 2.8.16)
    suEXEC Module
     
    #4 PbG, Apr 7, 2004
    Last edited: Apr 7, 2004
  5. sneader

    sneader Well-Known Member

    Joined:
    Aug 21, 2003
    Messages:
    1,126
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    La Crosse, WI
    cPanel Access Level:
    Root Administrator
    Did you get an answer on this? If you DO have to re-check them, then this means that WHM does not tell you what modules you have already installed.... So... newbie question... where can I go to find out what I have installed already?

    - Scott
     
  6. cyberspirit

    cyberspirit BANNED

    Joined:
    Jun 27, 2003
    Messages:
    293
    Likes Received:
    0
    Trophy Points:
    0
    Scott,
    If you create a phpinfo.php file you will actually see all the php option you compiled in. This is not perfect but helps a little bit.
    I just hope Nick can finally make this whole process easier.
    It would also be nice to shed some light into the sql issue someone else had mentioned here. So far everything works on our machines just with the php sql module.
     
  7. sneader

    sneader Well-Known Member

    Joined:
    Aug 21, 2003
    Messages:
    1,126
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    La Crosse, WI
    cPanel Access Level:
    Root Administrator
    Well, I ran phpinfo.php and it doesn't say anything about cURL. But I did some digging and found out that from a command line you can type:

    curl --version

    and it will tell you what version of curl you have. Of course, I figured it would error out, because I didn't have curl, but...

    root@www3 [~]# curl --version
    curl 7.9.8 (i386-redhat-linux-gnu) libcurl 7.9.8 (OpenSSL 0.9.7a) (ipv6 enabled)

    Heh, I have it already... it's even OpenSSL enabled, which is what I needed for my authorize.net script.

    So, slap me silly, I'm all set.

    - Scott
     
Loading...

Share This Page