Can be downloaded of http://www.php.net/downloads.php being the version necessary to the date of this manual for comaptibility with GOsa, the 4.3.XX, since versions 5.0.XX are not supported yet. We will download and decompress in/usr/src.
In order to be able to compile the necessary modules, we need the developer libraries of servers section 5, in addition to same that openLDAP2.2.1 and the Apache3.3.1, we will need some library more:
A recommended configuration will be like this:
-prefix=/usr -with-apxs2=/usr/bin/apxs2 | |
-with-config-file-path=/etc/php4/apache2 |
-enable-memory-limit | # Compiled with memory limit |
-disable-debug | # To compile without debug symbols |
-disable-static | # Without static libraries |
-with-pic | # To use PIC and nonPIC objects |
-with-layout=GNU | |
-enable-sysvsem | # sysvmsg Support |
-enable-sysvshm | # sysvshm Support |
-enable-sysvmsg | # System V shared memory support |
-disable-rpath | # Disable to be able to pass routes to extra librerias to the binary |
-without-mm | # To disable memoty sessions support |
-enable-track-vars | |
-enable-trans-sid |
-enable-sockets | # sockets support |
-with-mime-magic=/usr/share/misc/file/magic.mime | |
-with-exec-dir=/usr/lib/php4/libexec |
-with-pear=/usr/share/php | # Where we are going to install PEAR |
-enable-ctype | # Control of characters functions support |
-with-iconv | iconv functions support |
-with-bz2 | BZ2 Compression support |
-with-regex=php | Type of library of regular expressions |
-enable-calendar | Calendar conversion functions |
-enable-bcmath | Mathematics of arbitrary precision support |
-with-db4 | DBA: Berkeley DB version 4 support |
-enable-exif | exif functions support, for JPG and TIFF metadata reading |
-enable-ftp | FTP functions support |
-with-gettext | Localization support |
-enable-mbstring | |
-with-pcre-regex=/usr | |
-enable-shmop | shared memory functions |
-disable-xml -with-expat-dir=/usr | use expat xml instead of which comes with php |
-with-xmlrpc | |
-with-zlib | |
-with-zlib-dir=/usr | |
-with-imap=shared,/usr | imap generic support |
-with-kerberos=/usr | Imap with Kerberos authentication |
-with-imap-ssl | Imap with SSL secure access |
-with-openssl=/usr | |
-with-zip=/usr | |
-enable-dbx | Layer of abstraction with databases |
-with-curl=shared,/usr | remote Handling of archives |
-with-dom=shared,/usr -with-dom-xslt=shared,/usr -with-dom-exslt=shared,/usr | With xmlrpc already integrated |
-with-gd=shared,/usr -enable-gd-native-ttf | Images handling support |
-with-jpeg-dir=shared,/usr | GD Support for JPEG |
-with-png-dir=shared,/usr | GD Support for png |
-with-ldap=shared,/usr | Support for ldap |
-with-mcal=shared,/usr | Support of calendars |
-with-mhash=shared,/usr | Module for several key generation algorithms |
-with-mysql=shared,/usr | Support of Mysql database |
Then do:
#make && make install