Hallo Thomas,
soweit so gut. Jetzt klappt's von der Kommandozeile aus.
PHP hab ich jetzt auch neu kompiliert, mit folgenden Optionen:
./configure' '--with-apxs2=/usr/local/apache2/2.0.40/bin/apxs' '--with-ibm-db2=/usr/IBMdb2/V7.1/' '--with-config-file-path=/etc' '--with-mysql=/usr/local/mysql/current/' '--with-pgsql=/usr/local/pgsql/current/' '--with-ldap' '--enable-ftp' '--enable-versioning' '--enable-track-vars=yes' '--enable-url-includes' '--enable-trans-sid' '--enable-sysvshm=yes' '--enable-sysvsem=yes
PHP läuft auch, aber wenn ich meine Testskripte für die AS/400 aufrufe, bekomme ich folgende Fehlermeldungen ausgegeben:

Warning: SQL error: [IBM][CLI Driver] SQL5048N The release level of the database client is not supported by the release level of the database server. , SQL state S1000 in SQLConnect in /home/www/as400test.php on line 5

Auf der Linuxkiste läuft der db2Client 7.1, auf dem Server OS/400 5.1.1.
Kannst du mir damit bitte noch mal helfen?
Danke + Gruß
Kay