IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 19, 2026, 5:16:49 PM (2 months ago)
Author:
eugene
Message:

newer apache no longer allows us to modify the environment, need to pass things like NEB_SERVER via the command line

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-pstamp-20260421/ippMonitor/raw/getimage.php

    r41730 r43027  
    9696/* --site=$SITE */
    9797$output = array();
    98 exec ("ipp_filename.pl --site=$SITE --basename $basename --filerule $filerule --camera $camera --class_id $class_id 2> /tmp/errors", $output, $status);
     98
     99# apache no longer updates env, need to supply these on the command line
     100$myCommand = "perl -I$PERLLIB -I$PERLLIB/perl5 -I$PERLLIB/perl5/site_perl $BINDIR/ipp_filename.pl --site=$SITE --basename $basename --filerule $filerule --camera $camera --class_id $class_id --neb-server $NEB_SERVER";
     101exec ($myCommand, $output, $status);
     102
     103# exec ("ipp_filename.pl --site=$SITE --basename $basename --filerule $filerule --camera $camera --class_id $class_id 2> /tmp/errors", $output, $status);
    99104
    100105# use these to check the environment
Note: See TracChangeset for help on using the changeset viewer.