need php_mssql so I retreated to 5.2.10

need php_mssql so I retreated to 5.2.10

am 08.09.2009 06:09:39 von Fred Silsbee

=0Aunder IE8:=0Ahttp:// 209.33.25.167:8080/phpinfo.php=0Awith:=0A =0A phpinfo();=0A ?> I get :=0AThe website cannot display th=
e page=0AHTTP 500 =0A Most likely causes: •The website is under=
maintenance. •The website has a programming error. under Fi=
refox 3.5.2=0A___________________________________________=0AThe specified p=
rocedure could not be found.=0A___________________________________________=
I installed :=0Aphp-5.2.10-Win32-VC6-x86.zip and put php.ini in C:\PH=
P and C:\PHP\ext=0AAND C:\WINDOWS, C:\WINDOWS\system and C:\WINDOWS\system3=
2 I installed FastCGI 1.5 ! In php.ini I put :=0A________________=
________________ cgi.force_redirect =3D 0 // for CGI=
extension_dir =3D "C:\PHP\ext" (not trying to use any extension ..=
..just get phpinfo to work) =0Adoc_root =3D "C=
:\inetpub\wwwroot" // for IIS/PWS=0Aan earlier post recommended:=0Adoc_root=
= _________________________________________________=0AII S 5.1 properti=
es->configuration I added .php C:\PHP\php5.dll=0AGET,HEAD,POST,DEBUG =
_________________________________________________ I added to the XP Pr=
of environment path ;C:\PHP;C:\PHP\ext I created an environment variab=
le (and rebooted) PHPRC =3D C:\PHP;C:\PHP\ext=0A___________________________=
______________________=0AFrom the unzipped download,=0AI copied ntwdblib.dl=
l to C:\PHP and C:\PHP\ext=0AAND C:\WINDOWS, C:\WINDOWS\system and C:\WINDO=
WS\system32 =0AI never found any statement of the necessity of requiri=
ng CGI The instructions ramble around

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

Re: need php_mssql so I retreated to 5.2.10

am 08.09.2009 09:27:00 von Tommy Pham

--- On Mon, 9/7/09, Fred Silsbee wrote: > From=
: Fred Silsbee =0A> Subject: [PHP] need php_mssql so=
I retreated to 5.2.10=0A> To: php-general@lists.php.net=0A> Date: Monday, =
September 7, 2009, 11:09 PM=0A> =0A> under IE8:=0A> http:// 209.33.25.167:8=
080/phpinfo.php=0A> with:=0A>         =C2=
=A0    phpinfo();=0A>      ?>=0A> =0A> I=
get :=0A> The website cannot display the page=0A> HTTP 500 =0A>  =C2=
 Â=A0Most likely causes:=0A> â€=A2The website is under maintenance.=
=0A> â€=A2The website has a programming error.=0A> =0A> under Firefox 3=
..5.2=0A> ___________________________________________=0A> The specified proc=
edure could not be found.=0A> ___________________________________________=
=0A> =0A> I installed :=0A> php-5.2.10-Win32-VC6-x86.zip and put php.ini in=
C:\PHP and Let's start with what OS you're using... From above ...x8=
6.zip, I presume you're using 32bit Windows? > C:\PHP\ext=0A> AND C:\W=
INDOWS, C:\WINDOWS\system and C:\WINDOWS\system32=0A> =0A> I installed Fast=
CGI 1.5 !=0A> =0A> In php.ini I put :=0A> ________________________________=
=0A> =0A> cgi.force_redirect =3D 0         =0A> =
        // for CGI=0A> =0A> extension_dir =Â=A0 "C:=
\PHP\ext"   (not=0A> trying to use any extension ...just =0A=
> =0A>                =0A>  =
  get phpinfo to work)=0A> =0A> =0A> doc_root =3D "C:\inetpub\www=
root" // for IIS/PWS=0A> an earlier post recommended:=0A> doc_root = > =
_________________________________________________=0A> IIS 5.1 properties->c=
onfiguration I added .php =0A> C:\PHP\php5.dll=0A> GET,HEAD,POST,DEBUG=
=0A> You need to read the docs again... installing CGI does not use *=
..dll. You only use php5-cgi.exe. Allow DEBUG operations is bad for hack at=
tempts, if this setup is for production. > ___________________________=
______________________=0A> =0A> I added to the XP Prof environment path ;C:=
\PHP;C:\PHP\ext=0A> =0A> I created an environment variable (and rebooted) P=
HPRC = > C:\PHP;C:\PHP\ext=0A> ________________________________________=
_________=0A> From the unzipped download,=0A> I copied ntwdblib.dll to C:\P=
HP and C:\PHP\ext=0A> AND C:\WINDOWS, C:\WINDOWS\system and C:\WINDOWS\syst=
em32 Doing this will you get you into all kinds of problems. You shou=
ld only put the right bitwise file into the proper folder. > =0A> I ne=
ver found any statement of the necessity of requiring=0A> CGI=0A> =0A> The =
instructions ramble around=0A> Which instructions are you referring t=
o? The online? or the text .txt file? Any particular reason why you n=
eed to use the mssql extension? It only supports connecting to MSSQL 2000 =
since it uses MS SQL 2000 library headers. You might as well use a more cu=
rrent version of PHP and connect to MSSQL via ODBC. > =0A> =0A> =0A> =
=0A> =0A> --=0A> PHP General Mailing List (http://www.php.net/)=0A> To unsu=
bscribe, visit: http://www.php.net/unsub.php=0A> =0A>

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