Hello linux,

Wednesday, August 23, 2006, 10:56:46 AM, you wrote:

> Hello Linulizer yang baik... (keren juga nyebutnya)

> Bagaimana membuat libphp5.so setelah me-make-install?
> Karena pustaka ini tidak berhasil kutemukan maka yang jalan masih php4.

> Dari README.UNIX-BUILD-SYSTEM
>     For PHP 5:
>       LoadModule php5_module libexec/libphp5.so

> # cat /etc/apache2/mods-available/php4.load
> LoadModule php4_module /usr/lib/apache2/modules/libphp4.so

> Keterangan selengkapnya di bawah. Tolong yach...
>  

>         TiA

>         ~epsi - Jombloo is contagious
> ---------------------------------------

> # ./configure
> ...
> Thank you for using PHP.

> # make
> ...
> Build complete.
> (It is safe to ignore warnings about tempnam and tmpnam).

> # make install
> Installing PHP SAPI module:       cgi
> Installing PHP CGI into: /usr/local/bin/
> Installing build environment:     /usr/local/lib/php/build/
> Installing header files:          /usr/local/include/php/
> Installing helper programs:       /usr/local/bin/
>   program: phpize
>   program: php-config
> Installing man pages:             /usr/local/man/man1/
>   page: phpize.1
>   page: php-config.1
> Installing PEAR environment:      /usr/local/lib/php/
> [PEAR] Archive_Tar    - already installed: 1.3.1
> [PEAR] Console_Getopt - already installed: 1.2
> [PEAR] PEAR           - already installed: 1.4.9
> Wrote PEAR system config file at: /usr/local/etc/pear.conf
> You may want to add: /usr/local/lib/php to your php.ini include_path
> Installing PDO headers:          /usr/local/include/php/ext/pdo/

> [EMAIL PROTECTED]:~/php-5.1.5/sapi/apache# /usr/local/bin/phpize
> Configuring for:
> PHP Api Version:         20041225
> Zend Module Api No:      20050922
> Zend Extension Api No:   220051025
> Cannot find autoconf. Please check your autoconf installation and the 
> $PHP_AUTOCONF
> environment variable is set correctly and then rerun this script.

> [EMAIL PROTECTED]:~/php-5.1.5# php ./run-tests.php
> X-Powered-By: PHP/5.1.5
> Content-type: text/html

> ERROR: environment variable TEST_PHP_EXECUTABLE must be set to specify PHP
> executable!



> ---------------------------------------
> Berikut phpinfo() di php4 terpasang di Debian

> PHP Version 4.3.10-15

> '../configure' '--prefix=/usr' '--with-apxs2=/usr/bin/apxs2'
> '--with-config-file-path=/etc/php4/apache2' '--enable-memory-limit'
> '--disable-debug' '--with-regex=php' '--disable-rpath' '--disable-static'
> '--with-pic' '--with-layout=GNU' '--with-pear=/usr/share/php'
> '--enable-calendar' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg'
> '--enable-track-vars' '--enable-trans-sid' '--enable-bcmath' '--with-bz2'
> '--enable-ctype' '--with-db4' '--with-iconv' '--enable-exif' 
> '--enable-filepro'
> '--enable-ftp' '--with-gettext' '--enable-mbstring' '--with-pcre-regex=/usr'
> '--enable-shmop' '--enable-sockets' '--enable-wddx' '--disable-xml'
> '--with-expat-dir=/usr' '--with-xmlrpc' '--enable-yp' '--with-zlib'
> '--without-pgsql' '--with-kerberos=/usr' '--with-openssl=/usr' 
> '--with-zip=/usr'
> '--enable-dbx' '--with-mime-magic=/usr/share/misc/file/magic.mime'
> '--with-exec-dir=/usr/lib/php4/libexec' '--without-mm' '--without-mysql'
> '--without-sybase-ct'

> ---------coba-lagi-----------------------------
> # './configure' '--prefix=/usr'
> '--with-config-file-path=/etc/php4/apache2'
> '--enable-memory-limit' '--disable-debug' '--with-regex=php' '--disable-rpath'
> '--disable-static' '--with-pic' '--with-layout=GNU' 
> '--with-pear=/usr/share/php'
> '--enable-calendar' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg'
> '--enable-track-vars' '--enable-trans-sid' '--enable-bcmath' '--enable-ctype'
> '--with-iconv' '--enable-exif' '--enable-filepro' '--enable-ftp'
> '--with-gettext' '--enable-mbstring' '--enable-shmop' '--enable-sockets'
> '--enable-wddx' '--disable-xml' '--with-expat-dir=/usr' '--with-xmlrpc'
> '--enable-yp' '--with-zlib' '--without-pgsql' '--with-kerberos=/usr'
> '--with-openssl=/usr' '--with-zip=/usr' '--enable-dbx'
> '--with-mime-magic=/usr/share/misc/file/magic.mime'
> '--with-exec-dir=/usr/lib/php4/libexec' '--without-mm' '--without-mysql'
> '--without-sybase-ct'
> ...
> Thank you for using PHP.

> # make
> ...
> Build complete.
> (It is safe to ignore warnings about tempnam and tmpnam).

> # make install 
> Installing PHP SAPI module:       cgi 
> Installing PHP CGI into: /usr/bin/ 
> Installing build environment:     /usr/lib/php/build/ 
> Installing header files:          /usr/include/php/ 
> Installing helper programs:       /usr/bin/   program: phpize
>   program: php-config
> Installing man pages:             /usr/man/man1/
>   page: phpize.1
>   page: php-config.1
> Installing PEAR environment:      /usr/share/php/
> [PEAR] Archive_Tar: upgrade to a newer version (1.3.1 is not newer than 1.3.1)
> [PEAR] Console_Getopt - already installed: 1.2
> pear/PEAR can optionally use package "pear/XML_RPC" (version >= 1.4.0)
> [PEAR] PEAR: upgrade to a newer version (1.4.9 is not newer than 1.4.9)
> Installing PDO headers:          /usr/include/php/ext/pdo/


Coba pakai...
./configure --with-apxs2=/usr/sbin/apxs
make
make install


Nyoman.                     

Attachment: pgp1V3TfhwpCK.pgp
Description: PGP signature

Kirim email ke