× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Chris, thank you. that was the answer to the problem. I updated the
libz.a symbolic link to point to the actual location of the libz.a file.
Then restarted the ZENDPHP7 server. Now admin server starts and the zip
functions work. That only took a week of time.


fix to php7 install problem. Message in php.log says libz.a could not be
loaded.

-- list what the libz.a symbolic link points to:
ls -l /usr/lib/libz.a
/usr/lib/libz.a -> ../../QIBM/ProdData/SC1/zlib/zlib-1.1.4/lib/libz.a

-- but libz.a does not exist at that location.
ls -l
/QOpenSys/QIBM/ProdData/SC1/zlib/zlib-1.1.4/lib/libz.a

ls: 0653-341 The file
/QOpenSys/QIBM/ProdData/SC1/zlib/zlib-1.1.4/lib/libz.a does not exist.

-- run find to find the libz.a file

find /QOpenSys -name libz.a
/QOpenSys/QIBM/ProdData/SC1/zlib/lib/libz.a
/QOpenSys/usr/lib/libz.a

-- copy the libz.a symbolic link to libz.a.old

cd /usr/lib
cp -P cp -P libz.a libz.a.old

ls -l
libz.a*

libz.a -> ../../QIBM/ProdData/SC1/zlib/zlib-1.1.4/lib/libz.a
libz.a.old -> ../../QIBM/ProdData/SC1/zlib/zlib-1.1.4/lib/libz.a

-- change the libz.a symbolic link to point to actual location of libz.a

ln -sf /QOpenSys/QIBM/ProdData/SC1/zlib/lib/libz.a /usr/lib/libz.a

ls -l
libz.a*

libz.a -> /QOpenSys/QIBM/ProdData/SC1/zlib/lib/libz.a
libz.a.old -> ../../QIBM/ProdData/SC1/zlib/zlib-1.1.4/lib/libz.a

endtcpsvr server(*http) httpsvr(zendphp7)
endsbs sbs(zendphp7)

strtcpsvr server(*http) httpsvr(zendphp7)
strsbs sbsd(zendphp7/zendphp7)

now the admin server can be accessed:
http://172.16.1.254:10091/ZendServer/





On Fri, Feb 16, 2018 at 9:52 AM, Hiebert, Chris <
chris.hiebert@xxxxxxxxxxxxxx> wrote:

The symbolic links points to the libz.a, but did you verify that the
libz.a file exists at the intended location?
Run this and see what you get:
ls -l /QOpenSys/ QIBM/ProdData/SC1/zlib/zlib-1.1.4/lib/libz.a



On our V7R3 box we have a newer version of zlib.

ls -la /usr/lib
lrwxrwxrwx 1 qsys 0 34 Aug 14 2006 /usr/lib ->
/QOpenSys/usr/lib
$
ls -la /usr/lib/libz.a
lrwxrwxrwx 1 qsys 0 78 Aug 16 2017 /usr/lib/libz.a
-> ../../QIBM/ProdData/SC1/zlib/lib/libz.a
$
ls -la /QOpenSys/QIBM/ProdData/SC1/zlib/lib/libz.a
-rwx---r-- 1 qsys 0 296843 Aug 27 2015
/QOpenSys/QIBM/ProdData/SC1/zlib/lib/libz.a
$


Chris Hiebert
Senior Programmer/Analyst
Disclaimer: Any views or opinions presented are solely those of the author
and do not necessarily represent those of the company.


-----Original Message-----
From: WEB400 [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Steve
Richter
Sent: Thursday, February 15, 2018 3:06 PM
To: Web Enabling the IBM i (AS/400 and iSeries) <web400@xxxxxxxxxxxx>
Subject: Re: [WEB400] error starting PHP 7

following this document:
https://urldefense.proofpoint.com/v2/url?u=https-3A__zend18.
zendesk.com_hc_en-2Dus_articles_203010976-2DIBM-2Di-
2Dissues-2Dwith-2D5733SC1-2Dlibssl-2Da-2Dlibz-2Da-
2Dlibcrypto-2Da-2Dor-2Dothers&d=DwICAg&c=2S-2xx8Cum_thMfWs-
kOOHQTwolPvSZ4PFLhr1wDDGs&r=GYVfe7k5MogwSsRr94zbPeTDRJYpFK
3WOG9BKFEwK1s&m=JBAJOjjzpQk-y5VOfUMV45dL-pn5TdTc_86s3OQNpuc&s=
Ix2k3KRyPTrHjHBs8eTNkl8yyA1Wgjrl1qxK9ETJpYU&e=

we have 5733SC1 installed. for V7R2. and all the files described in the
document are found on the system:

ls -l
/usr/lib

lrwxrwxrwx 1 qsys 0 34 Aug 29 2009 /usr/lib ->
/QOpenSys/usr/lib
$

ls -l
/usr/lib/libz.a

lrwxrwxrwx 1 qsys 0 100 Nov 05 2013 /usr/lib/libz.a
-> ../../QIBM/ProdData/SC1/zlib/zlib-1.1.4/lib/libz.a
$

ls -l
/usr/lib/libssl.a

lrwxrwxrwx 1 qsys 0 118 Nov 05 2013 /usr/lib/libssl.a
-> ../../QIBM/ProdData/SC1/OpenSSL/openssl-0.9.7d/lib
/libssl.a

$

ls -l
/usr/lib/libcrypto.a

lrwxrwxrwx 1 qsys 0 124 Nov 05 2013
/usr/lib/libcrypto.a -> ../../QIBM/ProdData/SC1/OpenSSL/openssl-0.9.7d/
lib/libcrypto.a




On Thu, Feb 15, 2018 at 2:29 PM, Steve Richter <stephenrichter@xxxxxxxxx>
wrote:

/usr/local/zendphp7/var/log/php.log

php.log says

[13-Feb-2018 23:33:01 UTC] PHP Warning: PHP Startup: Unable to load
dynamic library '/usr/local/zendphp7/lib/php_extensions/zip.so'
0509-150 Dependent module libz.a(libz.so.1) could not be
loaded.
0509-022 Cannot load module libz.a(libz.so.1).

0509-026 System error: A file or directory in the path name does not
exist.
0509-022 Cannot load module /usr/local/zendphp7/lib/php_
extensions/zip.so.

0509-150 Dependent module /usr/local/zendphp7/lib/php_
extensions/zip.so
could not be loaded. in Unknown on line 0

but the zip.so file is in the IFS:
Object . . . . . . : /usr/local/zendphp7/lib/php_extensions/zip.so


On Thu, Feb 15, 2018 at 1:53 PM, Hiebert, Chris <
chris.hiebert@xxxxxxxxxxxxxx> wrote:

What dependency is being reported in your php log?

It might not "libz.a".


Chris Hiebert
Senior Programmer/Analyst
Disclaimer: Any views or opinions presented are solely those of the
author and do not necessarily represent those of the company.


-----Original Message-----
From: WEB400 [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Steve
Richter
Sent: Wednesday, February 14, 2018 10:20 AM
To: Web Enabling the AS400 / iSeries <web400@xxxxxxxxxxxx>
Subject: [WEB400] error starting PHP 7

new install of PHP7 on ibm i. install completed, but getting error
when I
browse to the Zend PHP 7 admin server:
https://urldefense.proofpoint.com/v2/url?u=http-3A__172.16.1
.254-3A10091_ZendServer_-23-21_&d=DwICAg&c=2S-2xx8Cum_thMfWs
-kOOHQTwolPvSZ4PFLhr1wDDGs&r=GYVfe7k5MogwSsRr94zbPeTDRJYpFK3
WOG9BKFEwK1s&m=TeARWF4n7naWlB7mnEn-XcSPzQnkBNZYCthf7nCV2PQ&
s=mC16CC7UjjuN-4qwKbzn_PCsBAV3ogoEvq35HIQBAY8&e=
{"message":"Zend Server failed during initialization: Dependency
failure:
Zend Utils extension must be loaded","prevs":["Dependency failure: Zend
Utils extension must be loaded"]}

which is identical to this post:
https://urldefense.proofpoint.com/v2/url?u=http-3A__forums.z
end.com_viewtopic.php-3Ff-3D77-26t-3D132448&d=DwICAg&c=2S-
2xx8Cum_thMfWs-kOOHQTwolPvSZ4PFLhr1wDDGs&r=GYVfe7k5MogwSsRr9
4zbPeTDRJYpFK3WOG9BKFEwK1s&m=TeARWF4n7naWlB7mnEn-XcSPzQnkBNZ
YCthf7nCV2PQ&s=Fbgt18ALCEWuEfbYm3UrQTT02teOs6VrgjmksGLgP-0&e=

but I do not follow when he says "...So I went into /usr/local/lib and
renamed libz.a to libz.a.old ...." Not finding that file to rename.

but in general, how to get support for zend php? I call the rogue zend
contact number and only get voice mail.

thanks,
--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.m
idrange.com_mailman_listinfo_web400&d=DwICAg&c=2S-2xx8Cum_th
MfWs-kOOHQTwolPvSZ4PFLhr1wDDGs&r=GYVfe7k5MogwSsRr94zbPeTDRJY
pFK3WOG9BKFEwK1s&m=TeARWF4n7naWlB7mnEn-XcSPzQnkBNZYCthf7nCV2
PQ&s=05S3wDCeFo99sMvbv3Cnsw8NdBkFI0jdcwWOMimThoU&e=
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://urldefense.proofpoint.com/v2/url?u=https-3A__archive
.midrange.com_web400&d=DwICAg&c=2S-2xx8Cum_thMfWs-kOOHQTwolP
vSZ4PFLhr1wDDGs&r=GYVfe7k5MogwSsRr94zbPeTDRJYpFK3WOG9BKFEwK1
s&m=TeARWF4n7naWlB7mnEn-XcSPzQnkBNZYCthf7nCV2PQ&s=KN5DahMonw
tFvH_BNv9v6bHjR5-FwWm8swcoeGVv6Uc&e=.

--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.
midrange.com_mailman_listinfo_web400&d=DwICAg&c=2S-2xx8Cum_thMfWs-
kOOHQTwolPvSZ4PFLhr1wDDGs&r=GYVfe7k5MogwSsRr94zbPeTDRJYpFK
3WOG9BKFEwK1s&m=JBAJOjjzpQk-y5VOfUMV45dL-pn5TdTc_
86s3OQNpuc&s=ZqQ0p82bkuH6QS0_jCF0170rHivCznTJKtZ74vmEQmM&e=
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://urldefense.proofpoint.com/v2/url?u=https-3A__
archive.midrange.com_web400&d=DwICAg&c=2S-2xx8Cum_thMfWs-
kOOHQTwolPvSZ4PFLhr1wDDGs&r=GYVfe7k5MogwSsRr94zbPeTDRJYpFK
3WOG9BKFEwK1s&m=JBAJOjjzpQk-y5VOfUMV45dL-pn5TdTc_86s3OQNpuc&s=y3_cMbh--
rIsXgKn0preH8EdoltA4__TTc12mW2bZFQ&e=.



--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.
midrange.com_mailman_listinfo_web400&d=DwICAg&c=2S-2xx8Cum_thMfWs-
kOOHQTwolPvSZ4PFLhr1wDDGs&r=GYVfe7k5MogwSsRr94zbPeTDRJYpFK
3WOG9BKFEwK1s&m=JBAJOjjzpQk-y5VOfUMV45dL-pn5TdTc_
86s3OQNpuc&s=ZqQ0p82bkuH6QS0_jCF0170rHivCznTJKtZ74vmEQmM&e=
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://urldefense.proofpoint.com/v2/url?u=https-3A__
archive.midrange.com_web400&d=DwICAg&c=2S-2xx8Cum_thMfWs-
kOOHQTwolPvSZ4PFLhr1wDDGs&r=GYVfe7k5MogwSsRr94zbPeTDRJYpFK
3WOG9BKFEwK1s&m=JBAJOjjzpQk-y5VOfUMV45dL-pn5TdTc_86s3OQNpuc&s=y3_cMbh--
rIsXgKn0preH8EdoltA4__TTc12mW2bZFQ&e=.

--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/web400.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.