ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

php<->CL/QSH very slow

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • php<->CL/QSH very slow

    Hello,

    i try to call a php-script on our 520.
    Code:
    CHGVAR     VAR(&CMM) +                                   
                 VALUE('/usr/local/Zend/Core/bin/php +       
                 /www/zendcore/htdocs/test.php')
    QSH        CMD(&CMD)
    i try to send an email in the php script and i was wondering why it takes about 5-8 seconds to send the mail.
    So i tried to find out where the script is slow.
    For testing i have made en empty php-script.
    if i test this the script runs 3-4 seconds.

    -> the time must be lost in the communication between CL/QSH and PHP.

    Is there another faster way to call the php scripts ?
    Are there params that can speed up the communication ?

    Thanks so far
    jo
Working...
X