Edit report at https://bugs.php.net/bug.php?id=55514&edit=1

 ID:                 55514
 Updated by:         re...@php.net
 Reported by:        Chris_Walsh at Prodigy dot bet
 Summary:            Can't install PHP 5.2.17.  Error code 2738
 Status:             Not a bug
 Type:               Bug
 Package:            Unknown/Other Function
 Operating System:   Windows Vista
 PHP Version:        Irrelevant
 Block user comment: N
 Private report:     N

 New Comment:

@iamjahid  your question seems nothing to do with the bug report.

PS: please refer: http://www.w3schools.com/tags/att_option_selected.asp
for what you looking for.


Previous Comments:
------------------------------------------------------------------------
[2013-03-05 16:25:32] iamjahid at gmail dot com

Plz Help. In drop down menu it always show year 2005. But i want to set default 
year.



echo"<b>DATE</b>";echo "&nbsp;";
    echo "<select size=1  name='d'>";
    for( $i=1;$i<=31;$i++)
    echo "<option label=". $i . "value=" . $i .  ">".$i."</option>";
    echo"</select>";    echo "&nbsp;";


    echo "<select size=1 name='m'>";
    $months = 

array("January","February","March","April","May","June","July","Auguest","September","October","November","December");
    foreach( $months as $month )
    {
    echo "<option label=". $month . "value=" . $month . ">".$month."</option>";
    };
    echo"</select>";
        echo "&nbsp;";

    echo "<select size=1 name='y'>";
    for( $year=2005;$year<=2020;$year++) 
    echo "<option  label=". $year . "value=".$year." >".$year."</option>";

    echo"</select>";

------------------------------------------------------------------------
[2011-08-26 22:56:48] johan...@php.net

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.

The current version is 5.3.8. Windows downloads are on  
http://windows.php.net/download/

------------------------------------------------------------------------
[2011-08-26 21:34:54] Chris_Walsh at Prodigy dot net

Did I commit a typo in my email address?? should be "dot net" not "dot bet" of 
course.

------------------------------------------------------------------------
[2011-08-26 21:23:34] Chris_Walsh at Prodigy dot bet

Description:
------------
I have seen other bugs categorized as being in the "Windows Installer" package 
but I don't have that option in the dropdown menu so I have put it as 
"unknown/other"


I am trying to install 5.2.17 because, according to 
http://windows.php.net/download/ it is what I need to use with Apache. (I don't 
see a later version for Windows that looks usable)  The "PHP version" drop-down 
implies I should be using something more recent that 5.2.x but the Windows 
download page doesn't give me the options to use something more current.

I want to install php-5.2.17-Win32-VC6-x86.msi (as opposed to the "nts" 
version) because it has the option for Apache 2.2 in the Web Server Setup 
options.

If I need to use a more recent version, then the info at 
http://windows.php.net/download/ is misleading at best: "Which version do I 
choose?  If you are using PHP with Apache 1 or Apache2 from apache.org you need 
to use the VC6 versions of PHP"


Here's my situation:
I get most of the way through the installation and I get an error pop-up saying 
"the installer has encountered an unexpected error installing this package.  
This may indicate a problem with this package. The error code is 2738"

I have done a great deal of searching on this and have found many references 
recommending doing some registry changes.  This page in particular seems to 
explain well what to do: 
http://blogs.msdn.com/b/heaths/archive/2007/05/31/windows-installer-errors-2738-and-2739-with-script-custom-actions.aspx

I have done what it recommends yet I still get the error.

The keys mentioned are not in HKCU, which I checked using regedit.

VBScript, B54F3741-5B07-11CF-A4B0-00AA004A55E8 is in HKEY_LOCAL_MACHINE
This dll is the one that causes the 2738 error, apparently.

JScript,  F414C260-6AC0-11CF-B6D1-00AA00BBBB58 is HKEY_CLASSES_ROOT, which I 
mention because it is referenced in the link I cite above.

I have tried deleting and re-registering the dlls ("regsvr32 vbscript.dll) and 
that didn't help.

I have hit a dead end.

Expected result:
----------------
Would like to be able to get php installed on my Vista PC.

Actual result:
--------------
Error


------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=55514&edit=1

Reply via email to