How to restart setup without user/passwd prompt?

I have "bit the bullet" and hauled down and installed the tarball for zenphoto-zenphoto-1.4.8.tar.gz. Got a little way into setup, and crashed.

When attempting to restart, a login prompt panel is presented, and after provide user name and passwd, the following crash complaint:

Fatal error: Call to undefined function hash() in /usr/local/www/zenphoto/zp-core/lib-auth.php on line 1250

This source-code line reference is to the following block of code:
`
1249 static function pbkdf2($p, $s, $c = 1000, $kl = 32, $a = 'sha256') {
1250 $hl = strlen(hash($a, null, true)); # Hash length
1251 $kb = ceil($kl / $hl); # Key blocks to compute
1252 $dk = ''; # Derived key
1253 # Create key
1254 for ($block = 1; $block
So, what about this "undefined" hash() function, embedded in a string length call? Is this yet another missing piece of the PHP PIG, i.e., php56-5.6.10? So far, I've had to manually install additional modules, extensions, etc:


php56-gd
php56-session-5.6.10
...resulted in the installation of the following
libXpm: 3.5.11_3
xproto: 7.0.27
libXext: 1.3.3_1,1
xextproto: 7.3.0
libXau: 1.0.8_3
libX11: 1.6.2_3,1
libxcb: 1.11_1
libXdmcp: 1.1.2
libxml2: 2.9.2_2
libpthread-stubs: 0.3_6
kbproto: 1.0.6
libXt: 1.1.4_3,1
libSM: 1.2.2_3,1
libICE: 1.0.9_1,1
freetype2: 2.5.5
gdbm: 1.11_2
gmp: 5.1.3_2
libexecinfo: 1.1_3
png: 1.6.17
jpeg: 8_6
t1lib: 5.1.2_4,1
libXaw: 1.0.12_3,2
printproto: 1.0.5
libXp: 1.0.3,1
libXmu: 1.1.2_3,1
...and of course regarding other aplications,
had to install the following, too.

php56-pdo-5.6.10
php56-mysql-5.6.10
php56-pdo_mysql-5.6.10
php56-bz2-5.6.10

I'm really tired of this %@#$!

You know, I'm an old programmer (sixty-six years in six days). I write a lot of languages, but PHP has got to be the surliest piece of work to configure . . .little wonder more users don't try to install it.
Sign In or Register to comment.