php-windows Digest 21 Jan 2010 10:52:45 -0000 Issue 3748

Topics (messages 29810 through 29816):

Re: PHP has encountered an Access Violation at 02892BEB
        29810 by: Venkat Raman Don
        29815 by: Louis Solomon
        29816 by: Pierre Joye

nmake snap message: WARNING: distro depends on (msvcr90d.dll && libpq.dll), but 
could not find it on your system
        29811 by: Justin Dearing
        29812 by: Venkat Raman Don
        29813 by: Venkat Raman Don
        29814 by: Pierre Joye

Administrivia:

To subscribe to the digest, e-mail:
        [email protected]

To unsubscribe from the digest, e-mail:
        [email protected]

To post to the list, e-mail:
        [email protected]


----------------------------------------------------------------------
--- Begin Message ---
Hi,

First of all open IIS Manager (press Windows+R button and type 'inetmgr'). 
Select each Site (if there are many) and click on 'Properties'. On the Home 
Directory tab, click on Configuration and delete the handler mapping (script 
mapping) to .php files. After deleting this and applying it, please see that 
there is no handler mapping to .php file at the server level or application 
level. Once the script mapping is deleted completely, please remove the PHP 
installation. In all probability you used a ZIP copy of PHP and if that is the 
case remove the folder. No PHP folder should be present. If you have modified 
Windows registry to load the php.ini files, remove/delete those registry 
settings too. These are all very important steps.

Once you have done all of this, please install VC9 PHP5.3.1 using the Non 
Thread Safe MSI of PHP available at http://windows.php.net/download/. Exact 
link to the MSI is 
http://windows.php.net/downloads/releases/php-5.3.1-nts-Win32-VC9-x86.msi. At 
the time of installation you should select the option to configure IIS FastCGI 
and select extensions you want to install. This should help you installing PHP 
5.3.1 on your machine. Please make sure that you have installed IIS FastCGI 
prior to PHP installation. IIS FastCGI download details can be found at 
http://www.iis.net/expand/fastcgi. If you want to avoid manual steps follow 
instructions at 
http://blogs.iis.net/donraman/archive/2009/10/08/upgrading-to-php-5-3-an-easy-way.aspx.
 

PHP 5.2 also supports IIS FastCGI and the latest one available is PHP 5.2.12. 
Just in case there are compatibility issues with PHP 5.3.1 and your 
application, you can use PHP 5.2.12. An easy way to install this has been 
explained by me at 
http://blogs.iis.net/donraman/archive/2009/10/07/installing-php-on-windows.aspx.
 (remember the actions specified in first paragraph is still required)

If you are having problems with your PHP installation on IIS using FastCGI, you 
can troubleshoot it by using instructions at 
http://blogs.iis.net/donraman/archive/2009/11/15/troubleshooting-php-installation-on-windows.aspx.
 

Hope this helps.

Thanks,
Don.

-----Original Message-----
From: Lucasweb - info [mailto:[email protected]] 
Sent: Wednesday, January 20, 2010 6:07 AM
To: [email protected]
Subject: [PHP-WIN] PHP has encountered an Access Violation at 02892BEB 

Hi, i have this error on a win 2003 server with iis6 and php 5.2.5 version 
with ISAPI filter.
I have read that this version is not good and ISAPI is instable so i have 
decided to upgrade to
php 5.3.1 with fastCgi.

How i can remove all reference to older php version on webserver ?
I try to install new php and fastCgi but the webserver run the older version 
and if
i rename the various directory c:\php or php.ini in php-old.ini and put the 
new directory and php.ini file
the webserver don't work with php files.





-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



--- End Message ---
--- Begin Message ---
Google for instructions on installing php as isapi, then undo those
instructions in reverse

Louis Solomon
www.SteelBytes.com

-----Original Message-----
From: Lucasweb - info [mailto:[email protected]] 
Sent: Thursday, 21 January 2010 1:07 AM
To: [email protected]
Subject: [PHP-WIN] PHP has encountered an Access Violation at 02892BEB 

Hi, i have this error on a win 2003 server with iis6 and php 5.2.5
version 
with ISAPI filter.
I have read that this version is not good and ISAPI is instable so i
have 
decided to upgrade to
php 5.3.1 with fastCgi.

How i can remove all reference to older php version on webserver ?
I try to install new php and fastCgi but the webserver run the older
version 
and if
i rename the various directory c:\php or php.ini in php-old.ini and put
the 
new directory and php.ini file
the webserver don't work with php files.





-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


--- End Message ---
--- Begin Message ---
On Thu, Jan 21, 2010 at 1:53 AM, Louis Solomon <[email protected]> wrote:
> Google for instructions on installing php as isapi, then undo those
> instructions in reverse

ISAPI is not maintained anymore and should not be used.

Cheers,
-- 
Pierre

@pierrejoye | http://blog.thepimp.net | http://www.libgd.org

--- End Message ---
--- Begin Message ---
Hi,

So I finally got it to build and run on windows. I am tweaking with the
configure options to my likings, but I've made some good progress.

So one thing I noticed after I added postgres support was the following
output of "nmake snap"

WARNING: distro depends on msvcr90d.dll, but could not find it on your
system
WARNING: distro depends on libpq.dll, but could not find it on your system

I have both these libraries in my system. How do I get nmake to find them?

My configure is as follows:

configure  --disable-zts --enable-debug --enable-cli-win32 --with-openssl
--enable-soap --with-pgsql=shared --enable-pdo=shared --with-libxml=shared
--with-xml --with-xsl --with-extra-includes="c:\Program
Files\PHP\extras\zlib-1.2.3-vc9-x86\include" --with-extra-libs="c:\Program
Files\PHP\extras\zlib-1.2.3-vc9-x86\lib;c:\program files\Expat 2.0.1\bin"

my path is as follows:

C:\src\php-5.3.1\vc9\x86\php-5.3-svn>path
PATH=C:\Program Files\Microsoft Visual Studio 9.0\VC\Bin;C:\Program
Files\Microsoft Visual Studio 9.0\VC\vcpackages;C:\Progra
m Files\Microsoft Visual Studio 9.0\Common7\IDE;C:\Program Files\Microsoft
SDKs\Windows\v7.0\Bin;C:\Windows\Microsoft.NET\Fra
mework\v3.5;C:\Windows\Microsoft.NET\Framework\v2.0.50727;C:\Program
Files\Microsoft SDKs\Windows\v7.0\Setup;C:\Program Files
\PHP\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program
Files\To
rtoiseGit\bin;C:\Program Files\PHP\extras\wso2-wsf-php\wsf_c\lib;C:\Program
Files\PHP\extras\libxml2-2.7.6.win32\bin;C:\Progr
am
Files\PHP\extras\iconv-1.9.2.win32\bin;%LIBXSLT\bin%;C:\OpenSSL\bin;C:\Program
Files\WinMerge;c:\Program Files\Microsoft S
QL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL
Server\100\DTS\Binn\;C:\Program Files\TortoiseSVN\bin;c:\Program Fil
es\PostgreSQL\8.4\bin;C:\Program
Files\Nmap;c:\php-sdk\bin\\..\bin;c:\php-sdk\bin\

--- End Message ---
--- Begin Message ---
Hi,

The folder where the missing two DLL (msvcr90d.dll and libpq.dll) is present 
should be there as part of INCLUDE path so that VC compiler should be able to 
pick it up. Probably one way of doing this is to pass this folder path as an 
option to nmake by using parameter --with-extra-includes while running the 
configure command.

Thanks,
Don.

-----Original Message-----
From: Justin Dearing [mailto:[email protected]] 
Sent: Wednesday, January 20, 2010 9:25 AM
To: php-windows
Subject: [PHP-WIN] nmake snap message: WARNING: distro depends on (msvcr90d.dll 
&& libpq.dll), but could not find it on your system

Hi,

So I finally got it to build and run on windows. I am tweaking with the
configure options to my likings, but I've made some good progress.

So one thing I noticed after I added postgres support was the following
output of "nmake snap"

WARNING: distro depends on msvcr90d.dll, but could not find it on your
system
WARNING: distro depends on libpq.dll, but could not find it on your system

I have both these libraries in my system. How do I get nmake to find them?

My configure is as follows:

configure  --disable-zts --enable-debug --enable-cli-win32 --with-openssl
--enable-soap --with-pgsql=shared --enable-pdo=shared --with-libxml=shared
--with-xml --with-xsl --with-extra-includes="c:\Program
Files\PHP\extras\zlib-1.2.3-vc9-x86\include" --with-extra-libs="c:\Program
Files\PHP\extras\zlib-1.2.3-vc9-x86\lib;c:\program files\Expat 2.0.1\bin"

my path is as follows:

C:\src\php-5.3.1\vc9\x86\php-5.3-svn>path
PATH=C:\Program Files\Microsoft Visual Studio 9.0\VC\Bin;C:\Program
Files\Microsoft Visual Studio 9.0\VC\vcpackages;C:\Progra
m Files\Microsoft Visual Studio 9.0\Common7\IDE;C:\Program Files\Microsoft
SDKs\Windows\v7.0\Bin;C:\Windows\Microsoft.NET\Fra
mework\v3.5;C:\Windows\Microsoft.NET\Framework\v2.0.50727;C:\Program
Files\Microsoft SDKs\Windows\v7.0\Setup;C:\Program Files
\PHP\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program
Files\To
rtoiseGit\bin;C:\Program Files\PHP\extras\wso2-wsf-php\wsf_c\lib;C:\Program
Files\PHP\extras\libxml2-2.7.6.win32\bin;C:\Progr
am
Files\PHP\extras\iconv-1.9.2.win32\bin;%LIBXSLT\bin%;C:\OpenSSL\bin;C:\Program
Files\WinMerge;c:\Program Files\Microsoft S
QL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL
Server\100\DTS\Binn\;C:\Program Files\TortoiseSVN\bin;c:\Program Fil
es\PostgreSQL\8.4\bin;C:\Program
Files\Nmap;c:\php-sdk\bin\\..\bin;c:\php-sdk\bin\

--- End Message ---
--- Begin Message ---
Justin did one small correction. It should be LIB path and not INCLUDE path as 
the missing files are DLL. He is going to try the suggestion and report back.

Thanks,
Don.

-----Original Message-----
From: Venkat Raman Don 
Sent: Wednesday, January 20, 2010 9:34 AM
To: 'Justin Dearing'; php-windows
Subject: RE: [PHP-WIN] nmake snap message: WARNING: distro depends on 
(msvcr90d.dll && libpq.dll), but could not find it on your system

Hi,

The folder where the missing two DLL (msvcr90d.dll and libpq.dll) is present 
should be there as part of INCLUDE path so that VC compiler should be able to 
pick it up. Probably one way of doing this is to pass this folder path as an 
option to nmake by using parameter --with-extra-includes while running the 
configure command.

Thanks,
Don.

-----Original Message-----
From: Justin Dearing [mailto:[email protected]] 
Sent: Wednesday, January 20, 2010 9:25 AM
To: php-windows
Subject: [PHP-WIN] nmake snap message: WARNING: distro depends on (msvcr90d.dll 
&& libpq.dll), but could not find it on your system

Hi,

So I finally got it to build and run on windows. I am tweaking with the
configure options to my likings, but I've made some good progress.

So one thing I noticed after I added postgres support was the following
output of "nmake snap"

WARNING: distro depends on msvcr90d.dll, but could not find it on your
system
WARNING: distro depends on libpq.dll, but could not find it on your system

I have both these libraries in my system. How do I get nmake to find them?

My configure is as follows:

configure  --disable-zts --enable-debug --enable-cli-win32 --with-openssl
--enable-soap --with-pgsql=shared --enable-pdo=shared --with-libxml=shared
--with-xml --with-xsl --with-extra-includes="c:\Program
Files\PHP\extras\zlib-1.2.3-vc9-x86\include" --with-extra-libs="c:\Program
Files\PHP\extras\zlib-1.2.3-vc9-x86\lib;c:\program files\Expat 2.0.1\bin"

my path is as follows:

C:\src\php-5.3.1\vc9\x86\php-5.3-svn>path
PATH=C:\Program Files\Microsoft Visual Studio 9.0\VC\Bin;C:\Program
Files\Microsoft Visual Studio 9.0\VC\vcpackages;C:\Progra
m Files\Microsoft Visual Studio 9.0\Common7\IDE;C:\Program Files\Microsoft
SDKs\Windows\v7.0\Bin;C:\Windows\Microsoft.NET\Fra
mework\v3.5;C:\Windows\Microsoft.NET\Framework\v2.0.50727;C:\Program
Files\Microsoft SDKs\Windows\v7.0\Setup;C:\Program Files
\PHP\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program
Files\To
rtoiseGit\bin;C:\Program Files\PHP\extras\wso2-wsf-php\wsf_c\lib;C:\Program
Files\PHP\extras\libxml2-2.7.6.win32\bin;C:\Progr
am
Files\PHP\extras\iconv-1.9.2.win32\bin;%LIBXSLT\bin%;C:\OpenSSL\bin;C:\Program
Files\WinMerge;c:\Program Files\Microsoft S
QL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL
Server\100\DTS\Binn\;C:\Program Files\TortoiseSVN\bin;c:\Program Fil
es\PostgreSQL\8.4\bin;C:\Program
Files\Nmap;c:\php-sdk\bin\\..\bin;c:\php-sdk\bin\

--- End Message ---
--- Begin Message ---
hi,

How did you setup your environment? Using the SDK cmd line and then:

setenv /xp /x86 /debug ? That should setup all the path correctly for
the debug crt as well.

As of libpq, it should be in your deps/bin like other DLLs from our
builds. Then simply do SET
PATH=%PATH%;c:\php-sdk\php53\vc9\x86\deps\bin

LIB and INCLUDE are for development files.

Cheers,
--
Pierre

On Wed, Jan 20, 2010 at 6:25 PM, Justin Dearing <[email protected]> wrote:
> Hi,
>
> So I finally got it to build and run on windows. I am tweaking with the
> configure options to my likings, but I've made some good progress.
>
> So one thing I noticed after I added postgres support was the following
> output of "nmake snap"
>
> WARNING: distro depends on msvcr90d.dll, but could not find it on your
> system
> WARNING: distro depends on libpq.dll, but could not find it on your system
>
> I have both these libraries in my system. How do I get nmake to find them?
>
> My configure is as follows:
>
> configure  --disable-zts --enable-debug --enable-cli-win32 --with-openssl
> --enable-soap --with-pgsql=shared --enable-pdo=shared --with-libxml=shared
> --with-xml --with-xsl --with-extra-includes="c:\Program
> Files\PHP\extras\zlib-1.2.3-vc9-x86\include" --with-extra-libs="c:\Program
> Files\PHP\extras\zlib-1.2.3-vc9-x86\lib;c:\program files\Expat 2.0.1\bin"
>
> my path is as follows:
>
> C:\src\php-5.3.1\vc9\x86\php-5.3-svn>path
> PATH=C:\Program Files\Microsoft Visual Studio 9.0\VC\Bin;C:\Program
> Files\Microsoft Visual Studio 9.0\VC\vcpackages;C:\Progra
> m Files\Microsoft Visual Studio 9.0\Common7\IDE;C:\Program Files\Microsoft
> SDKs\Windows\v7.0\Bin;C:\Windows\Microsoft.NET\Fra
> mework\v3.5;C:\Windows\Microsoft.NET\Framework\v2.0.50727;C:\Program
> Files\Microsoft SDKs\Windows\v7.0\Setup;C:\Program Files
> \PHP\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program
> Files\To
> rtoiseGit\bin;C:\Program Files\PHP\extras\wso2-wsf-php\wsf_c\lib;C:\Program
> Files\PHP\extras\libxml2-2.7.6.win32\bin;C:\Progr
> am
> Files\PHP\extras\iconv-1.9.2.win32\bin;%LIBXSLT\bin%;C:\OpenSSL\bin;C:\Program
> Files\WinMerge;c:\Program Files\Microsoft S
> QL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL
> Server\100\DTS\Binn\;C:\Program Files\TortoiseSVN\bin;c:\Program Fil
> es\PostgreSQL\8.4\bin;C:\Program
> Files\Nmap;c:\php-sdk\bin\\..\bin;c:\php-sdk\bin\
>



-- 
Pierre

@pierrejoye | http://blog.thepimp.net | http://www.libgd.org

--- End Message ---

Reply via email to