Which modules to include in PHP5?

started at 27 Jun 2006 by Richard
  • Richard
    27 Jun 2006
    I just wanted to ask you all which PHP5 modules you would call absolutely necessary and which ones would be nice to have.

    The reason for this is I want to provide simple compiling instructions for people needing a simple PHP which will work with most PHP based applications (like phpmyadmin, wordpress, phpbb and roundcube) and supply separate compilation instructions for people who need all the other goodies for special PHP applications.

    If you could specify the modules you would need and for which purpose or application and if it really necessary or just a nice to have.

    Please note that there are modules available as PEAR package or as PECL package which don't need to be compiled like for instance PDF support.
  • dw
    27 Jun 2006
    For me the basic set should be fine.
  • maarten.
    28 Jun 2006
    I don't really known if it is mentioned on the website, but I always install the package provided by Marc Liyanage. It works fine for me with Apache/1.3.33.

    It installs PHP without any hassle of compiling.

    -Maarten
  • Richard
    28 Jun 2006

    maarten. Escribió:

    I don't really known if it is mentioned on the website, but I always install the package provided by Marc Liyanage. It works fine for me with Apache/1.3.33.


    Marc's work is mentioned as well as the ready made packages from Server Logistics. You are able to use them instead of compiling them and everything I've written should still work although the files might be in different locations.

    Why I provide compilation instructions instead of binary packages has two reasons. First, do you trust the supplier of the binary package, secondly the maintained of the package can stop at any moment helping you out or take a long time to provide an updated binary if there is a security update. When you can compile yourself you are in control.
  • jstubbs
    30 Jun 2006
    I've used Marc's PHP package and it met our web developers needs for a couple of years. Till he needed the magickwand extension for ImageMagick. Couldn't figure out how to link it to Marc's package. The pear packge "imagick" was hopelessly outdated, so I went with the manual build. After struggling with build process (and "with a little help from my friends"), it now works fine. Quite a learning experience.

    The down side is that you have to dig deeper into the OS, but that's not a "bad" thing, if you have the time.

    Just my .02 USD.
  • Richard
    19 Jul 2006
    In the original setup I included the freetype2 library. But when doing some testing and compiling I found out that there's also a PEAR package: http://pear.php.net/package/Image_Text available with the same functionality so I'm leaving it out for the V2 version.
  • ruznanski
    30 Jan 2007
    How would one activate and/or install the GD graphics "engine" to php. Do I need to recompile?

    Thank you.
  • Richard
    30 Jan 2007
    Yes, haven't tried this myself but try the built-in GD. Add the option ‘–with-gd’ to the configure statement.
  • Uncue
    03 May 2007

    Richard, Thanks for all of this work. I'm moving from Ubuntu server on my mini and I need to install several options in php for my applications to work. Looking at the documentation at php.net and it doesn't help at all. Where can I find the documentation on all available modules that can be compiled into php? To install my modules and php in ubuntu, I use the following command:

    apt-get install autoconf automake1.4 autotools-dev libapache2-mod-php5 php5 php5-common php5-curl php5-dev php5-gd php-pear php5-ldap php5-mhash php5-mysql php5-mysqli php5-snmp php5-sqlite php5-xmlrpc php5-xsl php5-imap php5-mcrypt php5-pspell

    If you could just point me to some documentation, that would be great. It would probably reduce the questions of how do I install this and that module specifically.

    Again, thanks for you hard work!

  • Richard
    06 May 2007

    Sorry, I don't know how to install on Ubuntu and the documentation on the modules is a bit iffy. If you look at the functions of the module in the documentation it usually tells you how to include it.

Reply

You must log in to post.