Forums LAPPStack

Latest LAPPStack uses OLD version of PHP

Subscribe to Latest LAPPStack uses OLD version of PHP 4 post(s), 3 voice(s)

 
Avatar IpSo 2 post(s)

I just downloaded this file:

http://bitnami.org/files/stacks/lappstack/bitnami-lappstack-0.9-beta-1-linux-installer.bin

According to the changelog, it should be PHP v5.2.6, but once I installed it and ran phpinfo() its v5.1.5.

As well it would be nice if PHP had more extensions compiled in (or better yet, dynamically loadable).

Common ones are I would like to see in all PHP related stacks:

ctype, date, dom, filter, hash, iconv, json, libxml, mbstring, pcre, PDO, pdo_sqlite,
pgsql, posix, Reflection, session, SimpleXML, soap, SPL, SQLite, standard, tokenizer, xml, xmlreader, xmlwriter, gettext, calendar, bcmath, mcrypt, zlib, zip, bz2, phar

Thanks for the great work!

 
Avatar diego Moderator 16 post(s)

Hi lpso,

I think you have merged two different installations of PHP because we pack LAPPStack with PHP-5.2.6. You can check it moving to your installation directory and inside PHP dir type:

./php --version

And you should get:
PHP 5.2.6 (cli) (built: Jul 15 2008 11:16:14) Copyright (c) 1997-2008 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies

I hope it helps

P.S. Regarding to your suggestions we will take them into account for a future release. Thanks for them.

 
Avatar IpSo 2 post(s)

This is what I see when I run phpinfo() from the LAPP Stack Apache:

PHP Version 5.1.5

System Linux ipso 2.6.25-desktop-1mnb #1 SMP Tue Apr 29 23:09:58 CEST 2008 x86_64
Build Date Aug 25 2006 03:23:50
Configure Command ’./configure’ ‘-prefix=/bitrock/lappstack/build/output/php’ ‘-with-apxs2=/bitrock/lappstack/build/output/apache2/bin/apxs’ ‘-with-iconv=/bitrock/lappstack/build/output/common’ ‘-with-libxml-dir=/bitrock/lappstack/build/output/common’ ‘-with-expat=/bitrock/lappstack/build/output/common’ ‘-enable-mbstring=all’ ‘-enable-soap’ ‘-enable-force-cgi-redirect’ ‘-with-xmlrpc’ ‘-enable-cgi’ ‘-with-imap=/bitrock/lappstack/build/src/imap-2004g’ ‘-with-pgsql=/bitrock/lappstack/build/output/postgresql’ ‘—with-pdo-pgsql=/bitrock/lappstack/build/output/postgresql’
Server API Apache 2.0 Handler
Virtual Directory Support disabled
Configuration File (php.ini) Path /home/ipso/lappstack-1.1/php/etc/php.ini

./php --version
/home/ipso/lappstack-1.1/php/bin/php.bin: error while loading shared libraries: libpq.so.4: cannot open shared object file: No such file or directory

If I run strings over the binary:

strings php.bin | grep -i "5\." 
35.2333
5.1.5
75.Q/Q
75.Q/Q
75.Q/Q
75.Q/Q
75.Q/Q
/bitrock/lappstack/build/src/php-5.1.5/ext/pdo_pgsql/pgsql_driver.c
/bitrock/lappstack/build/src/php-5.1.5/ext/pdo_pgsql/pgsql_statement.c
/bitrock/lappstack/build/src/php-5.1.5/ext/soap/soap.c
User-Agent: PHP-SOAP/5.1.5
/bitrock/lappstack/build/src/php-5.1.5/ext/sqlite/pdo_sqlite2.c
/bitrock/lappstack/build/src/php-5.1.5/ext/sqlite/libsqlite/src/encode.c
5.1.5
255.255.255.255
5.1.5
/bitrock/lappstack/build/src/php-5.1.5/ext/standard/assert.c
PHP 5.1 Quality Assurance Team
/bitrock/lappstack/build/src/php-5.1.5/main/main.c
X-Powered-By: PHP/5.1.5
5.1.5
/bitrock/lappstack/build/src/php-5.1.5/main/output.c
/bitrock/lappstack/build/src/php-5.1.5/Zend/zend_opcode.c
/bitrock/lappstack/build/src/php-5.1.5/Zend/zend_vm_execute.h
5.1.5
/etc/cram-md5.pwd
md5sum lappstack-1.1-linux-installer.bin
0f620c45bcd7e996ebc834399248f14c lappstack-1.1-linux-installer.bin

Unless the LAPP Stack 1.1 binary I downloaded isn’t really 1.1, it looks like its running PHP 5.1.5 to me.

 
Avatar antonio Administrator 487 post(s)

Hi,

I think you have downloaded the old LAPP Stack , which was available at http://www.bitrock.com. BitNami LAPPStack version is 0.9 if I’m not wrong.

Cheers

Forums LAPPStack