Monthly Archives: April 2017

Whats going to change when I update PHP on IBM i. PHPinfo is a clue

e Here’s a great little script to see whats going to change when you update PHP on IBM i.  It compares the phpinfo from your production site to your new instance of PHP.  This way you can scroll down and take note of specific differences to PHP.  This isn’t all the changes so there’s more to check but can get you pretty far.

 

https://github.com/brettalton/phpinfo-compare

There is an issue with library lists if your using the PDO_IBM driver.

https://bugs.php.net/bug.php?id=73785

Disable Z-Ray on PHP on IBM i
Edit the file /usr/local/zendphp7/etc/conf.d/zray.ini and change zray.enable=1 to zray.enable=0

; Enable Z-Ray
; zray.enable=1
zray.enable=0

Advertisements

Quickly install ZS9.1 PHP 7.1.3 on your IBM i

I created this simple short shell script to download the current version of Zend Server for IBM i.  Unzip the downloaded zip file and then securely copy the save file to the savf ZENDPHP7 in the QGPL library.  Then we send a remote system command to submit a job to batch to silently restore the savf file.  You’ll have to wait for the batch job to run but afterward it finishes ZS9.1 will be installed in /usr/local/zendphp7

#get the shell script from the gist
wget https://gist.githubusercontent.com/phpdave/9f4090af8b90fa6c3916554b970a63b3/raw/1987d10ad25c885b7a4ebd26523cecce9dba50b1/InstallZS91onIBMi.sh
#modify the user name and IBM i name
vim InstallZS91onIBMi.sh
#Add execute permission to the owner of the file
chmod o+x InstallZS91onIBMi.sh
#run the shell script
./InstallZS91onIBMi.sh

InstallZS91onIBMi.sh Source