Search found 393 matches

by erich_hieden
Fri Apr 25, 2014 8:44 am
Forum: Zend Server for IBM i
Topic: Sort order with Umlaute (öäü) How SRTSEQ=*LANGIDUNQ
Replies: 6
Views: 3641

Re: Sort order with Umlaute (öäü) How SRTSEQ=*LANGIDUNQ

I can't reproduce this behaviour on my machine. Although when I take a look at the QSQSRVR jobs in QSYSWRK Subsystem, i can see that they run with STRSEQ *HEX, which can be controlled via *SYSVAL QSRTSEQ. Please take a look at this setting and also QCCSID. What also could be of interest is the file ...
by erich_hieden
Wed Apr 23, 2014 10:16 am
Forum: Zend Server for IBM i
Topic: Sort order with Umlaute (öäü) How SRTSEQ=*LANGIDUNQ
Replies: 6
Views: 3641

Re: Sort order with Umlaute (öäü) How SRTSEQ=*LANGIDUNQ

Hello Kai

Which functions are you using to query the database? (ibm_db2 extension, Zend Framework, ...)
I tried to reproduce your problem but failed to do so using ibm db2 extension.

Please drop some lines of php-code.

Best
by erich_hieden
Mon Mar 31, 2014 8:31 am
Forum: Zend Server for IBM i
Topic: [n00b] Zend version?
Replies: 1
Views: 1246

Re: [n00b] Zend version?

Using 5250-Emulation, GO LICPGM -> Option 10
by erich_hieden
Wed Mar 12, 2014 1:36 pm
Forum: Zend Server for IBM i
Topic: Cannot specify PDF file with imagick
Replies: 1
Views: 1402

Re: Cannot specify PDF file with imagick

You are missing Ghostscript on your IBM i. How to install see here: http://forums.zend.com/viewtopic.php?f=68&t=111758

Best
by erich_hieden
Fri Jan 31, 2014 9:25 am
Forum: Zend Server for IBM i
Topic: Out of memory issues
Replies: 11
Views: 7791

Re: Out of memory issues

One potential problem is, as Alan already said, PHPs memory_limit. You can either set this variable in php.ini or pass it as a param when calling php-cli /usr/local/zendsvr/bin/php-cli -d memory_limit=512M The second potential problem is the environmental variable 'LDR_CNTRL=MAXDATA'. It controls ma...
by erich_hieden
Fri Jan 31, 2014 9:08 am
Forum: Zend Studio for IBM i
Topic: Smartest Setup for Development
Replies: 1
Views: 4634

Re: Smartest Setup for Development

I have done an article on YiPs showing the inclusion of Git in the PHP development on IBM i. That's the way we are doing our development (multiple developers, one even remote). Hope it helps.
by erich_hieden
Wed Dec 18, 2013 9:27 am
Forum: Zend Server for IBM i
Topic: parse PHP in HTML file
Replies: 5
Views: 4631

Re: parse PHP in HTML file

Hello You should have something like AddType application/x-httpd-php .php AddHandler fastcgi-script .php in your httpd.conf You could add .html to these lines, but I wouldn't recommend that. Each and every html-file would be passed on to the PHP-Parser and searched for php-tags which would result in...
by erich_hieden
Wed Nov 13, 2013 7:37 am
Forum: Zend Server for IBM i
Topic: Can someone straighten me out.. ZendCore 1.6
Replies: 1
Views: 1353

Re: Can someone straighten me out.. ZendCore 1.6

Everything with ZendCore or ZendPlatform is WAY outdated. ZendServer 6 is the current Version you might want to install. Though I can't tell you how to properly get rid of ZendCore 1.6, sorry.
by erich_hieden
Wed Oct 16, 2013 7:39 am
Forum: PHP Questions / Hints
Topic: How do I install GhostScript on IBMi?
Replies: 13
Views: 14178

Re: How do I install GhostScript on IBMi?

Here's wwwinstallgs.sh as requested. (No idea why I didn't try renaming it by myself. Thanks for the hint.) To use this GhostScript Installation for Imagick you need to run these two commands directly after wwwinstallgs.sh -all: ln -s /opt/freeware/bin/gs /QOpenSys/usr/bin/gs chown -h qsys /QOpenSys...
by erich_hieden
Mon Oct 07, 2013 7:40 am
Forum: PHP Questions / Hints
Topic: How do I install GhostScript on IBMi?
Replies: 13
Views: 14178

Re: How do I install GhostScript on IBMi?

You can easily create thumbnails out of PDF using PHP and Imagick (which needs Ghostscript to do this). The important part is to add the pagenumber in square brackets when reading the PDF. Basic example: $imagick = new Imagick(); $imagick->readImage("/tmp/example.pdf[0]"); //Read only first page -> ...