<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: PHP newbe (again) in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/php-newbe-again/m-p/3680676#M8552</link>
    <description>&amp;gt;Is this normal in php_info ?&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt;SERVER["GATEWAY_API"] PHPWASD AXP-1.3.2, 70200000, 18-AUG-2005 06:08:27.56&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt;_SERVER["GATEWAY_PHP"] PHPSHR V1.3, PHPSHR, 16-SEP-2005 10:05:38.84&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt;PHPWASD was released before the version of &amp;gt;PHPSHR was made ...&lt;BR /&gt;&lt;BR /&gt;In this case it is not significant.  When CSWS PHP V1.3 was released I verified that the PHPWASD that had been built against CSWS PHP V1.2-1 linked and behaved correctly with V1.3.  It did.  I posted a message on info-WASD to that effect.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://wasd.vsm.com.au/cgi-bin/yahmail/info-WASD-2005/WASD_2005/530?cmc=538&amp;amp;anc=3&amp;amp;pfr=&amp;amp;psu=&amp;amp;win=10" target="_blank"&gt;http://wasd.vsm.com.au/cgi-bin/yahmail/info-WASD-2005/WASD_2005/530?cmc=538&amp;amp;anc=3&amp;amp;pfr=&amp;amp;psu=&amp;amp;win=10&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://wasd.vsm.com.au/cgi-bin/yahmail/info-WASD-2005/WASD_2005/531?cmc=538&amp;amp;anc=3&amp;amp;pfr=&amp;amp;psu=&amp;amp;win=10" target="_blank"&gt;http://wasd.vsm.com.au/cgi-bin/yahmail/info-WASD-2005/WASD_2005/531?cmc=538&amp;amp;anc=3&amp;amp;pfr=&amp;amp;psu=&amp;amp;win=10&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;(the correction was needed because at this time of the day down here (0230) the brain begins to a bit gluggy - as indeed it is probably right now :-)&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 29 Nov 2005 11:06:54 GMT</pubDate>
    <dc:creator>Mark Daniel_2</dc:creator>
    <dc:date>2005-11-29T11:06:54Z</dc:date>
    <item>
      <title>PHP newbe (again)</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/php-newbe-again/m-p/3680670#M8546</link>
      <description>A year ago I tried to use PHP. &lt;BR /&gt;Now I upgraded to the new CSWS_PHP and relinked with Mark's install.com (VMS 7.3 WASD 9.0, yes PHP 1.3 is not supported on 7.3).&lt;BR /&gt;&lt;BR /&gt;I reactivated the extentions I need in php.ini.&lt;BR /&gt;I set the extensions_dir to HT_ROOT:[PHP.AXP.EXTENSION].&lt;BR /&gt;&lt;BR /&gt;But when I execute in the scripts directory :&lt;BR /&gt;&lt;BR /&gt;1) php_calendar&lt;BR /&gt;Warning: dl(): Unable to load dynamic library 'HT_ROOT:[PHP.AXP.EXTENSIONS]/php_calendar' - no such file or directory in HT_ROOT:[PHP.AXP.SCRIPTS]PHP_CALENDAR.PHP on line 7&lt;BR /&gt;&lt;BR /&gt;2) php_openvms&lt;BR /&gt;&lt;BR /&gt;Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in HT_ROOT:[PHP.AXP.SCRIPTS]PHP_OPENVMS.PHP on line 145&lt;BR /&gt;&lt;BR /&gt;Did I forget something ? is 2) a Bug ?&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Tue, 29 Nov 2005 06:41:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/php-newbe-again/m-p/3680670#M8546</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2005-11-29T06:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: PHP newbe (again)</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/php-newbe-again/m-p/3680671#M8547</link>
      <description>I started php.exe and this programs displays the warning of 1) too (warning ? This should be an error). For all extentions that are enabled.&lt;BR /&gt;&lt;BR /&gt;I did a set watch file/class=all and I don't see any accesses to the exe files. After php.ini I only see C.dir and messages.dir that are accessed.&lt;BR /&gt;&lt;BR /&gt;wIM</description>
      <pubDate>Tue, 29 Nov 2005 08:51:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/php-newbe-again/m-p/3680671#M8547</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2005-11-29T08:51:30Z</dc:date>
    </item>
    <item>
      <title>Re: PHP newbe (again)</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/php-newbe-again/m-p/3680672#M8548</link>
      <description>1) The setup for enabling PHP scripts recommended by [SRC.PHP]READMORE.HTML does not seem to have been followed; hence the&lt;BR /&gt;&lt;BR /&gt;HT_ROOT:[PHP.AXP.SCRIPTS]PHP_CALENDAR.PHP&lt;BR /&gt;&lt;BR /&gt;rather than the&lt;BR /&gt;&lt;BR /&gt;CGI-BIN:[000000]PHP_CALENDAR.PHP&lt;BR /&gt;&lt;BR /&gt;I would have expected, with the unloadable extension specified as&lt;BR /&gt;&lt;BR /&gt;'/php_root/extensions/php_calendar' - no such file or directory&lt;BR /&gt;&lt;BR /&gt;I'm not sure of the mapping rule you are trying to use to activate this script.  The&lt;BR /&gt;&lt;BR /&gt;'HT_ROOT:[PHP.AXP.EXTENSIONS]/php_calendar' -&lt;BR /&gt;no such file or directory&lt;BR /&gt;&lt;BR /&gt;also looks bizarre (combination of U**x and VMS file specification syntax).&lt;BR /&gt;&lt;BR /&gt;Have you executed HT_ROOT:[SRC.PHP]PHP_STARTUP to define required WASD PHP logicals?&lt;BR /&gt;&lt;BR /&gt;The extensions are located in PHP_ROOT:[EXTENSIONS] and PHP_CALENDAR.EXE should be there too.&lt;BR /&gt;&lt;BR /&gt;Suggest you check and follow the setup recommendation in the READMORE.HTML.  It can be a little complex as a result of differing capabilities of WASD version, PHPWASD version, CSWS PHP version, VMS version, and combinations thereof.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://wasd.vsm.com.au/ht_root/src/php/readmore.html" target="_blank"&gt;http://wasd.vsm.com.au/ht_root/src/php/readmore.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;It *may* have something to do with trying to run it under VMS V7.3, don't know and can't check easily.&lt;BR /&gt;&lt;BR /&gt;It may also be some sort of unforeseen interaction with an installed and running CSWS on the same system, though I have done this and not had any such issue.&lt;BR /&gt;&lt;BR /&gt;(As always with WASD-specific questions you *may* get prompter or more informed responses via the info-WASD mailing list.)&lt;BR /&gt;&lt;BR /&gt;2) This one needs to be prefixed with "I'm no PHP expert but ..."&lt;BR /&gt;&lt;BR /&gt;These days PHP.INI has this by default (I think)&lt;BR /&gt;&lt;BR /&gt;allow_call_time_pass_reference = Off&lt;BR /&gt;&lt;BR /&gt;This message goes away if it is made 'on' (apparently not recommended programming practice these days).  It is now recommended PHP parctice to always pass by value and let the called function decide whether it needs to make a reference out of the argument.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://php.planetmirror.com/manual/en/print/language.references.php" target="_blank"&gt;http://php.planetmirror.com/manual/en/print/language.references.php&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;This (looks to me like it) would require a modification to the OPENVMS PHP extension code&lt;BR /&gt;&lt;BR /&gt;[.ALPHA-CSWS_PHP-V0103.ext.openvms]OPENVMS.C&lt;BR /&gt;&lt;BR /&gt;in the above source which reads&lt;BR /&gt;&lt;BR /&gt;/*&lt;BR /&gt;** Return the Csid value just in case it's a context value&lt;BR /&gt;*/&lt;BR /&gt;if (SyiCsidPtr != NULL) &lt;BR /&gt;    {&lt;BR /&gt;    zval_dtor (SyiCsidPtr);&lt;BR /&gt;    ZVAL_LONG (SyiCsidPtr, SyiCsidVal);&lt;BR /&gt;    }&lt;BR /&gt;&lt;BR /&gt;To me the C code is always treating the argument as a 'pointer'.&lt;BR /&gt;&lt;BR /&gt;Just changing the script (to remove the offending '&amp;amp;' at the indicated lines) would (probably) not work the way that might be expected because the above code will try to move the SyiCsidVal to the 'location' represented by the value (not address) passed in SyiCsidPtr.&lt;BR /&gt;&lt;BR /&gt;(I'm quite happy to be edjumacted by someone who knows what they're talking about here :-)</description>
      <pubDate>Tue, 29 Nov 2005 09:16:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/php-newbe-again/m-p/3680672#M8548</guid>
      <dc:creator>Mark Daniel_2</dc:creator>
      <dc:date>2005-11-29T09:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: PHP newbe (again)</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/php-newbe-again/m-p/3680673#M8549</link>
      <description>Mark,&lt;BR /&gt;&lt;BR /&gt;I tried it with specification of extensions_dir as HT_ROOT:[PHP.AXP.EXTENSION] as well as with the default value. Same reaction (slightly different messages).&lt;BR /&gt;&lt;BR /&gt;Had to search for it but the php_startup is executed in startup_local. Seems ok to me, the logicals are there.&lt;BR /&gt;&lt;BR /&gt;All php_xxx.exe are present on their correct place.&lt;BR /&gt;&lt;BR /&gt;For those that didn't understand the end (as I did) : &lt;A href="http://www.urbandictionary.com/define.php?term=Edjumacated" target="_blank"&gt;http://www.urbandictionary.com/define.php?term=Edjumacated&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Tue, 29 Nov 2005 10:37:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/php-newbe-again/m-p/3680673#M8549</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2005-11-29T10:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: PHP newbe (again)</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/php-newbe-again/m-p/3680674#M8550</link>
      <description>Is this normal in php_info ?&lt;BR /&gt;&lt;BR /&gt;SERVER["GATEWAY_API"] PHPWASD AXP-1.3.2, 70200000, 18-AUG-2005 06:08:27.56 &lt;BR /&gt;&lt;BR /&gt;_SERVER["GATEWAY_PHP"] PHPSHR V1.3, PHPSHR, 16-SEP-2005 10:05:38.84 &lt;BR /&gt;&lt;BR /&gt;PHPWASD was released before the version of PHPSHR was made ...&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Tue, 29 Nov 2005 10:51:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/php-newbe-again/m-p/3680674#M8550</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2005-11-29T10:51:36Z</dc:date>
    </item>
    <item>
      <title>Re: PHP newbe (again)</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/php-newbe-again/m-p/3680675#M8551</link>
      <description>Here's my development systems relevant logical names&lt;BR /&gt;&lt;BR /&gt;(LNM$SYSTEM_TABLE)&lt;BR /&gt;&lt;BR /&gt;  "PHPSHR" = "php_root:[bin]phpshr.exe"&lt;BR /&gt;  "PHPWASDSHR" = "php_root:[bin]phpshr.exe"&lt;BR /&gt;  "PHP_ROOT" = "$1$DKA0:[HT_ROOT.php.AXP.]"&lt;BR /&gt;&lt;BR /&gt;My PHP_ROOT looks like&lt;BR /&gt;&lt;BR /&gt;Directory PHP_ROOT:[000000]&lt;BR /&gt;&lt;BR /&gt;BIN.DIR;1             0.50KB  21-NOV-2005 02:29:34.24&lt;BR /&gt;EXTENSIONS.DIR;1         1KB  21-NOV-2005 02:29:34.32&lt;BR /&gt;PHP.INI;15              21KB  30-NOV-2005 00:15:53.52&lt;BR /&gt;SCRIPTS.DIR;1         0.50KB  21-NOV-2005 02:29:34.39&lt;BR /&gt;&lt;BR /&gt;Selected portions of the WATCH report when executing&lt;BR /&gt;&lt;BR /&gt;/cgi-bin/php_calendar.php&lt;BR /&gt;&lt;BR /&gt;from the READMORE.HTML scripts section.&lt;BR /&gt;&lt;BR /&gt;050 /cgi-bin/php_calendar.php  Y-  MAP       /cgi-bin/*.php*  /php-bin/*.php*&lt;BR /&gt;051 /php-bin/php_calendar.php  Y-  EXEC      /php-bin/*  (@cgi-bin:[000000]phpwasd.com)/cgi-bin/*&lt;BR /&gt;|02:42:26.59 MAPURL   1095 0001 MAPPING    RESULT|&lt;BR /&gt;     Mapped: &lt;BR /&gt; Translated: &lt;BR /&gt;     Script: /php-bin/php_calendar.php&lt;BR /&gt;Script-File: CGI-BIN:[000000]PHP_CALENDAR.PHP&lt;BR /&gt;   Run-Time: @cgi-bin:[000000]phpwasd.com&lt;BR /&gt;|02:45:35.58 CACHE    0569 0001 RESPONSE   CACHE search path 0A3A7CB2A62E1A6C2AE7C8A984B31B55|&lt;BR /&gt;|02:45:35.58 DCL      1310 0001 RESPONSE   SCRIPT as HTTP$NOBODY RTE /php-bin/php_calendar.php CGI-BIN:[000000]PHP_CALENDAR.PHP (@cgi-bin:[000000]phpwasd.com)|&lt;BR /&gt;|02:45:35.58 DCL      1734 0001 DCL        RTE idle pid:0000114B of HTTP$NOBODY (/php-bin/php_calendar.php)|&lt;BR /&gt;&lt;BR /&gt;(I hate this ITRC interface with passion!)&lt;BR /&gt;&lt;BR /&gt;You can see my mapping rules in the above report&lt;BR /&gt;&lt;BR /&gt;map /cgi-bin/*.php* /php-bin/*.php*&lt;BR /&gt;exec /php-bin/* (@cgi-bin:[000000]phpwasd.com)/cgi-bin/*&lt;BR /&gt;&lt;BR /&gt;On my 8.2 development system I could make them&lt;BR /&gt;&lt;BR /&gt;map /cgi-bin/*.php* /php-bin/*.php*&lt;BR /&gt;exec /php-bin/* (cgi-bin:[000000]phpwasd.exe)/cgi-bin/*&lt;BR /&gt;&lt;BR /&gt;just depends.  Of course my development configuration systems tends to end up all over the place as I try all sorts of different things for occasions such as these.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 29 Nov 2005 10:59:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/php-newbe-again/m-p/3680675#M8551</guid>
      <dc:creator>Mark Daniel_2</dc:creator>
      <dc:date>2005-11-29T10:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: PHP newbe (again)</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/php-newbe-again/m-p/3680676#M8552</link>
      <description>&amp;gt;Is this normal in php_info ?&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt;SERVER["GATEWAY_API"] PHPWASD AXP-1.3.2, 70200000, 18-AUG-2005 06:08:27.56&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt;_SERVER["GATEWAY_PHP"] PHPSHR V1.3, PHPSHR, 16-SEP-2005 10:05:38.84&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt;PHPWASD was released before the version of &amp;gt;PHPSHR was made ...&lt;BR /&gt;&lt;BR /&gt;In this case it is not significant.  When CSWS PHP V1.3 was released I verified that the PHPWASD that had been built against CSWS PHP V1.2-1 linked and behaved correctly with V1.3.  It did.  I posted a message on info-WASD to that effect.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://wasd.vsm.com.au/cgi-bin/yahmail/info-WASD-2005/WASD_2005/530?cmc=538&amp;amp;anc=3&amp;amp;pfr=&amp;amp;psu=&amp;amp;win=10" target="_blank"&gt;http://wasd.vsm.com.au/cgi-bin/yahmail/info-WASD-2005/WASD_2005/530?cmc=538&amp;amp;anc=3&amp;amp;pfr=&amp;amp;psu=&amp;amp;win=10&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://wasd.vsm.com.au/cgi-bin/yahmail/info-WASD-2005/WASD_2005/531?cmc=538&amp;amp;anc=3&amp;amp;pfr=&amp;amp;psu=&amp;amp;win=10" target="_blank"&gt;http://wasd.vsm.com.au/cgi-bin/yahmail/info-WASD-2005/WASD_2005/531?cmc=538&amp;amp;anc=3&amp;amp;pfr=&amp;amp;psu=&amp;amp;win=10&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;(the correction was needed because at this time of the day down here (0230) the brain begins to a bit gluggy - as indeed it is probably right now :-)&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 29 Nov 2005 11:06:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/php-newbe-again/m-p/3680676#M8552</guid>
      <dc:creator>Mark Daniel_2</dc:creator>
      <dc:date>2005-11-29T11:06:54Z</dc:date>
    </item>
    <item>
      <title>Re: PHP newbe (again)</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/php-newbe-again/m-p/3680677#M8553</link>
      <description>Got it.&lt;BR /&gt;&lt;BR /&gt;In php.ini it is written that the extension_dir must be commented out for WASD. I removed the comment (;) in the old version and it worked. Now you have leave it in comment, so using the default setting (which is not the value in comment).&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Tue, 29 Nov 2005 11:28:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/php-newbe-again/m-p/3680677#M8553</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2005-11-29T11:28:17Z</dc:date>
    </item>
    <item>
      <title>Re: PHP newbe (again)</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/php-newbe-again/m-p/3680678#M8554</link>
      <description>BTW : I even defined php_extension_dir: as a system wide logical. Didn't work.&lt;BR /&gt;&lt;BR /&gt;Thx for the assistance Mark. Must be very late over there (or early).&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Tue, 29 Nov 2005 11:33:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/php-newbe-again/m-p/3680678#M8554</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2005-11-29T11:33:07Z</dc:date>
    </item>
    <item>
      <title>Re: PHP newbe (again)</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/php-newbe-again/m-p/3680679#M8555</link>
      <description>Glad you got it working.&lt;BR /&gt;&lt;BR /&gt;In my [SRC.PHP] that the PHPWASD kit is generated from the example PHP.INI has&lt;BR /&gt;&lt;BR /&gt;; (WASD: for use with CSWS PHPSHR this needs to be commented out)&lt;BR /&gt;;extension_dir = php_extension_dir:&lt;BR /&gt;&lt;BR /&gt;So the PHPWASD kit somes with this already commented out, which may explain why it works out-of-the-box.&lt;BR /&gt;&lt;BR /&gt;What did you have against this configuration option?&lt;BR /&gt;&lt;BR /&gt;My guess is that an early VMS Engineering release or in-house development version used a separate logical name, PHP_EXTENSION_DIR, to locate the extension images.  My next guess is that now it uses PHP_ROOT:[EXTENSIONS] unless otherwise specified.&lt;BR /&gt;&lt;BR /&gt;FWIW, the contents of PHP.INI seem to be a little neglected.  For instance, although in the release notes as supported (and in fact only partly supported) is GD, but there was no&lt;BR /&gt;&lt;BR /&gt;;extension=php_gd.exe&lt;BR /&gt;&lt;BR /&gt;in the PHP.INI in the CSWS PHP V1.3 kit (and precious little else).&lt;BR /&gt;</description>
      <pubDate>Tue, 29 Nov 2005 11:43:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/php-newbe-again/m-p/3680679#M8555</guid>
      <dc:creator>Mark Daniel_2</dc:creator>
      <dc:date>2005-11-29T11:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: PHP newbe (again)</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/php-newbe-again/m-p/3680680#M8556</link>
      <description>&amp;gt;BTW : I even defined php_extension_dir: as a &amp;gt;system wide logical. Didn't work.&lt;BR /&gt;&lt;BR /&gt;No.  As mentioned in the earlier post I think that is a hangover from some earlier CSWS PHP development.&lt;BR /&gt;&lt;BR /&gt;It will allow you to configuration non-default location by specifying it in U*x style syntax, for example&lt;BR /&gt;&lt;BR /&gt;extension_dir = /ht_root/php/axp/extensions&lt;BR /&gt;&lt;BR /&gt;If you do it like this&lt;BR /&gt;&lt;BR /&gt;extension_dir = ht_root:[php.axp.extensions]&lt;BR /&gt;&lt;BR /&gt;then you get the sort of error you initially reported.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Thx for the assistance Mark. Must be very late &amp;gt;over there (or early).&lt;BR /&gt;&lt;BR /&gt;Getting close to my bed (again) time.</description>
      <pubDate>Tue, 29 Nov 2005 11:56:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/php-newbe-again/m-p/3680680#M8556</guid>
      <dc:creator>Mark Daniel_2</dc:creator>
      <dc:date>2005-11-29T11:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: PHP newbe (again)</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/php-newbe-again/m-p/3680681#M8557</link>
      <description>Mark,&lt;BR /&gt;&lt;BR /&gt;Nothing against the option but I think I must have read to fast and removed the comment in the previous version just as with some of the other options where it was needed.&lt;BR /&gt;&lt;BR /&gt;My task is still not finished because PHPNUKE is the next one behaving strangely.&lt;BR /&gt;Keeps me busy.&lt;BR /&gt;&lt;BR /&gt;Sleep well&lt;BR /&gt;&lt;BR /&gt;Wim (sleeping within 3 hours too)</description>
      <pubDate>Tue, 29 Nov 2005 13:42:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/php-newbe-again/m-p/3680681#M8557</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2005-11-29T13:42:51Z</dc:date>
    </item>
    <item>
      <title>Re: PHP newbe (again)</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/php-newbe-again/m-p/3680682#M8558</link>
      <description>Further remarks.&lt;BR /&gt;&lt;BR /&gt;1. After upgrade of PHP a deassign of PHP_ROOT must be done because startup will not change it, only create.&lt;BR /&gt;&lt;BR /&gt;2. the executable PHP.exe is still not able to find the extensions and displays the messages of 1).&lt;BR /&gt;&lt;BR /&gt;3. For phpnuke (and others) make sure to have error_reporting on E_ALL (not E_ALL ^ E_NOTICE). Otherwise they don't digest the use of undeclared variables.&lt;BR /&gt;&lt;BR /&gt;Wim&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 30 Nov 2005 07:40:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/php-newbe-again/m-p/3680682#M8558</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2005-11-30T07:40:06Z</dc:date>
    </item>
    <item>
      <title>Re: PHP newbe (again)</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/php-newbe-again/m-p/3680683#M8559</link>
      <description>&amp;gt;1. After upgrade of PHP a deassign of PHP_ROOT&lt;BR /&gt;&amp;gt;must be done because startup will not change&lt;BR /&gt;&amp;gt;it, only create.&lt;BR /&gt;&lt;BR /&gt;Thanks, missed that one.&lt;BR /&gt;&lt;BR /&gt;The introduction of the IA64 CSWS PHP kit required that a decision taken back with  WASD PHP v1.1 had to be revised.  WASD endeavours to allow fully integrated installations for mixed architecure clusters.  I had to move the CSWS PHP components to an architecture-specific location, from  [PHP] TO [PHP.AXP] and [PHP.IA64].&lt;BR /&gt;&lt;BR /&gt;(Normally PHP_STARTUP.COM which defines the PHP_ROOT logical does not touch an existing logical name to allow a local site to place that area independently of the WASD kit.)&lt;BR /&gt;&lt;BR /&gt;&amp;gt;2. the executable PHP.exe is still not able to&lt;BR /&gt;&amp;gt;find the extensions and displays the messages&lt;BR /&gt;&amp;gt;of 1).&lt;BR /&gt;&lt;BR /&gt;I thought that one had been solved.&lt;BR /&gt;&lt;BR /&gt;PHP.INI extension_dir commented-out, or set to a U**x syntax equivalent of the location, e.g.&lt;BR /&gt;&lt;BR /&gt;extension_dir = /ht_root/php/axp/extensions&lt;BR /&gt;&lt;BR /&gt;If it's showing message similar to&lt;BR /&gt;&lt;BR /&gt;Warning: dl(): Unable to load dynamic library 'HT_ROOT:[PHP.AXP.EXTENSIONS]/php_calendar' - no such file or directory in CGI-BIN:[000000]PHP_CALENDAR.PHP on line 7&lt;BR /&gt;&lt;BR /&gt;then remove the configuration directive or modify as described above.  If the message has changed then please post.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;3. For phpnuke (and others) make sure to have&lt;BR /&gt;&amp;gt;error_reporting on E_ALL (not E_ALL ^&lt;BR /&gt;&amp;gt;E_NOTICE). Otherwise they don't digest the use&lt;BR /&gt;&amp;gt;of undeclared variables.&lt;BR /&gt;&lt;BR /&gt;This might vary on a per-PHP-application basis and so should be done at that level.&lt;BR /&gt;&lt;BR /&gt;With PHPWASD v1.3 there are a number of ways to accomplish per-PHP-application configuration&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://wasd.vsm.com.au/ht_root/src/php/readmore.html#Configure_PHP" target="_blank"&gt;http://wasd.vsm.com.au/ht_root/src/php/readmore.html#Configure_PHP&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;You can also 'wrap' the specific PHP application's PHP engine and define whatever environment you wish.  See an example of doing this at&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://wasd.vsm.com.au/ht_root/other/infaq/hastymail.html" target="_blank"&gt;http://wasd.vsm.com.au/ht_root/other/infaq/hastymail.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;sections "WASD Scripting Wrapper" and "WASD Mapping Rules".&lt;BR /&gt;&lt;BR /&gt;(This is a per-application usage of the same approach used by WASDPHP.COM &lt;A href="http://wasd.vsm.com.au/ht_root/src/php/readmore.html#Configure_WASD)" target="_blank"&gt;http://wasd.vsm.com.au/ht_root/src/php/readmore.html#Configure_WASD)&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;** I really should increase my knowledge of this remarkably capable development environment.&lt;BR /&gt;&lt;BR /&gt;*** Thanks for the feedback on WASD's PHP.</description>
      <pubDate>Wed, 30 Nov 2005 10:18:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/php-newbe-again/m-p/3680683#M8559</guid>
      <dc:creator>Mark Daniel_2</dc:creator>
      <dc:date>2005-11-30T10:18:55Z</dc:date>
    </item>
    <item>
      <title>Re: PHP newbe (again)</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/php-newbe-again/m-p/3680684#M8560</link>
      <description>Mark,&lt;BR /&gt;&lt;BR /&gt;Sorry for the confusion but in 3 it must be NOT E_ALL &lt;BR /&gt;BUT E_ALL ^ ~E_NOTICE&lt;BR /&gt;read : show all but don't show notices.&lt;BR /&gt;&lt;BR /&gt;The messages Unable to load dynamic library are now only given when running php.exe interactivly. So it works when using php via wasd.&lt;BR /&gt;&lt;BR /&gt;** PHPNUKE and its sisters and brothers such as drupal are may be fine when everything works. But the slightest problem causes corrupt database contents and after that the application stop functioning. Bad (or no) error handling !!! Recreate db ... and restart.&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Wed, 30 Nov 2005 11:44:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/php-newbe-again/m-p/3680684#M8560</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2005-11-30T11:44:08Z</dc:date>
    </item>
    <item>
      <title>Re: PHP newbe (again)</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/php-newbe-again/m-p/3680685#M8561</link>
      <description>Hmmm ...&lt;BR /&gt;&lt;BR /&gt;KLAATU$ show sym php&lt;BR /&gt;  PHP == "$HT_ROOT:[PHP.AXP.BIN]PHP"&lt;BR /&gt;KLAATU$ php -v&lt;BR /&gt;PHP 4.3.10 (cgi) (built: Sep 16 2005 10:06:54)&lt;BR /&gt;Copyright (c) 1997-2004 The PHP Group&lt;BR /&gt;Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies&lt;BR /&gt;KLAATU$ php -q PHP_CALENDAR.PHP&lt;BR /&gt;&lt;H1&gt;&lt;CENTER&gt;Testing the Calendar extension&lt;/CENTER&gt;&lt;/H1&gt;&lt;BR /&gt;&lt;BR /&gt;Gregorian month (abbr.): Dec&lt;BR /&gt;&lt;BR /&gt;Gregorian month: December&lt;BR /&gt;&lt;BR /&gt;Julian month (abbr.): Nov&lt;BR /&gt;&lt;BR /&gt;Julian month: November&lt;BR /&gt;&lt;BR /&gt;Jewish month: Heshvan&lt;BR /&gt;&lt;BR /&gt;French month: Frimaire&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;(Unprivileged account, so it can't be a protection issue.)</description>
      <pubDate>Wed, 30 Nov 2005 11:59:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/php-newbe-again/m-p/3680685#M8561</guid>
      <dc:creator>Mark Daniel_2</dc:creator>
      <dc:date>2005-11-30T11:59:29Z</dc:date>
    </item>
    <item>
      <title>Re: PHP newbe (again)</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/php-newbe-again/m-p/3680686#M8562</link>
      <description>Mark,&lt;BR /&gt;&lt;BR /&gt;Had to do some further testing. &lt;BR /&gt;&lt;BR /&gt;PHP.exe only gives the message when your default directory is sys$login (it seems). So, I found a small bug.&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Thu, 01 Dec 2005 02:09:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/php-newbe-again/m-p/3680686#M8562</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2005-12-01T02:09:52Z</dc:date>
    </item>
  </channel>
</rss>

