Search found 34 matches

by deathcomp
Wed Oct 19, 2016 2:43 pm
Forum: Zend Server for IBM i
Topic: php vs php-cli on the command line
Replies: 2
Views: 2676

Re: php vs php-cli on the command line

Every time I have needed to call a php script from pase of q2pshell I always use php-cli that is located in /usr/local/zendsvr6/bin
by deathcomp
Wed Oct 19, 2016 2:40 pm
Forum: Zend Server for IBM i
Topic: shell_exec fails if run from Iseries Job Scheduler
Replies: 0
Views: 1682

shell_exec fails if run from Iseries Job Scheduler

So I have a simple php file that just does an ls -l and outputs the results to a file. fclose(STDOUT); $STDOUT = fopen('/scripts/test.log', 'a+'); echo "\n"; $result = shell_exec("ls -l"); echo $result; I have a CL program that calls this script: CALL PGM(QP2SHELL) + PARM('/usr/local/zendsvr6/bin/ph...
by deathcomp
Fri Jan 23, 2015 2:44 pm
Forum: Zend Server for IBM i
Topic: Calling php-cli from a CL program
Replies: 6
Views: 6185

Re: Calling php-cli from a CL program

I'm probably just missing it, but which part there is the parm that gets passed along to the php script?
by deathcomp
Thu Jan 22, 2015 8:39 pm
Forum: Zend Server for IBM i
Topic: Calling php-cli from a CL program
Replies: 6
Views: 6185

Calling php-cli from a CL program

We have several instances where we use the CALL PGM(QP2SHELL) command in CL to call a php script. For example we might do: CALL PGM(QP2SHELL) PARM('usr/local/zendsvr/bin/php-cli' '/scripts/myScript.php') This would then run that php script located in /scripts. Our problem is how to pass a parm to th...
by deathcomp
Tue Jul 08, 2014 7:04 pm
Forum: New Toolkit
Topic: Has anybody tried data queues?
Replies: 9
Views: 7687

Re: Has anybody tried data queues?

ok, I have that and it says it's designed to work with XMLSERVICE v1.7.6 or higher. So another novice question, how can I tell what version of XMLSERVICE I am running?
by deathcomp
Tue Jul 08, 2014 1:37 pm
Forum: New Toolkit
Topic: Has anybody tried data queues?
Replies: 9
Views: 7687

Re: Has anybody tried data queues?

There isn't a constant var called version in our ToolkitService.php. Here's the top section of that file before it gets into all the methods. include_once 'ToolkitServiceSet.php'; include_once 'ToolkitServiceXML.php'; include_once 'ToolkitServiceParameter.php'; class ToolkitService { // changed priv...
by deathcomp
Mon Jul 07, 2014 1:24 pm
Forum: New Toolkit
Topic: Has anybody tried data queues?
Replies: 9
Views: 7687

Re: Has anybody tried data queues?

For version 1.5.0 are you talking about the Toolkit? Where can I see the toolkit version?
by deathcomp
Thu Jul 03, 2014 4:05 pm
Forum: New Toolkit
Topic: Has anybody tried data queues?
Replies: 9
Views: 7687

Re: Has anybody tried data queues?

I have the same problem with send data queue putting in extra chars. Here is the command:
$DQ->SendDataQueue( 27, "t".$value);

I've attached a screenshot of it adding 2 blank chars before my "t".
by deathcomp
Tue May 21, 2013 3:11 pm
Forum: Zend Studio
Topic: Error while deploying cloud mobile project on zend server
Replies: 15
Views: 5298

Re: Error while deploying cloud mobile project on zend serve

There isn't a .log in the .metadata folder. Even immediately after trying to deploy. Master template: V22 Zend Application Fabric: ZendServer 6.0.0 PHP Version: 5.3.21 Operating System: Linux Host: schilli.my.phpcloud.com DB Host: schilli-db.my.phpcloud.com Webfront Revision: 4299 Disk quota: OK, 4%...
by deathcomp
Thu May 09, 2013 7:25 pm
Forum: Zend Studio
Topic: Error while deploying cloud mobile project on zend server
Replies: 15
Views: 5298

Re: Error while deploying cloud mobile project on zend serve

I have permission to write (and everything else) to the targets folder. Yes I am an admin on this pc.