php-windows Digest 27 Oct 2005 18:27:24 -0000 Issue 2806
Topics (messages 26439 through 26444):
??? Process priority ???
26439 by: Bernhard Rieder
compiling php5 on win32
26440 by: Luka
How to user mssql_connect to connect to a sql server other than on port 1433?
26441 by: jianglinchun
26442 by: jianglinchun
26444 by: Frank M. Kromann
Problem with PHP 4 + CURL to HTTPS
26443 by: Albert Lo
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 ---
Dear all,
I've been looking hard for something like pcntl_setpriority() or
proc_nice() for Windows, e.g. a way to change priority for a given php
script. I'm doing some background data processing with and agent-style
approach but when two many users spawn processes, apache gets pretty locked
up. Changing the PID works fine on my Linux Box, but the system is sopposed
to run on MS Server 2003. Can I somehow set my scripts to "idle" on that
platform or is it love's labor lost?
tnx in advance,
Bernhard
--- End Message ---
--- Begin Message ---
I'm using VC6++ and the VC2003 Toolkit
I downloaded a dev tree from:
http://ftp.emini.dk/pub/php/win32/dev/php_build/
the compile keeps failing with:
Creating library Release_TS\php5ts.lib and object Release_TS\php5ts.exp
sunfuncs.obj : error LNK2001: unresolved external symbol __ftol2
uuencode.obj : error LNK2001: unresolved external symbol __ftol2
now the only post about this that i could find was this being related to the
toolkit
and that this could shoult be added to the beginning of a number of your C++
files:
#if (_MSC_VER >= 1300) && (WINVER < 0x0500)
//VC7 or later, building with pre-VC7 runtime libraries
extern "C" long _ftol( double ); //defined by VC6 C libs
extern "C" long _ftol2( double dblSource ) { return _ftol( dblSource ); }
#endif</scode>
the other post said that adding CFLAGS=/QIfist
does anyone know to do any of the following
or fix the above problem.
the basic compilation faq under windows just isn't...helping me a lot.
So if anyone has a link with perhaps a downloadable sourcetree with the needed
headers and libraries
to compile the php5 and php4 branch do help :)
well any help on the above problem would be greatly appreciated.
#endif</scode>
--- End Message ---
--- Begin Message ---
I am recently have a problem with the mssql_connection function:
I have to connect to a sql server which it's service port has been modified
other than 1433.
How should I define the server address? I had tried those ways(suppose the
port number:1111):
1. (local):1111
2. servername:1111
3. 127.0.0.1:1111
None of them worked. Thanks for your help.:)
--- End Message ---
--- Begin Message ---
I am recently have a problem with the mssql_connection function:
I have to connect to a sql server which it's service port has been modified
other than 1433.
How should I define the server address? I had tried those ways(suppose the
port number:1111):
1. (local):1111
2. servername:1111
3. 127.0.0.1:1111
None of them worked. Thanks for your help.:)
--- End Message ---
--- Begin Message ---
You can't specify the port when connecting with mssql_connect() but you can
use the Client Network Utility (this is installed when you install the MS
SQL Client tools on your PHP server) to create a server alias. The server
alias includes the protocol, host name and port number you are using and
you can use the alias as the host name parameter in mssql_connect().
- Frank
> I am recently have a problem with the mssql_connection function:
>
> I have to connect to a sql server which it's service port has been
modified
> other than 1433.
>
> How should I define the server address? I had tried those ways(suppose
the
> port number:1111):
>
> 1. (local):1111
> 2. servername:1111
> 3. 127.0.0.1:1111
>
> None of them worked. Thanks for your help.:)
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--- End Message ---
--- Begin Message ---
Dear Everyone,
I'm a newbie and I have some problem fetching data from HTTPS site using CURL.
Hope can hear some advice from you :D
My home system
- Apache 2.0.52
- PHP 4.3.10
- php_curl.dll loaded
My remote system (our server)
- Apache 1.3.26
- PHP 4.3.10
- php_curl.dll loaded
I wrote a script to connect to an HTTPS site and fetch some data. The
site itself actually do not challenge a certificate upon connect when
I browse through IE or Opera.
On my home system, the script run smooth, and the data can be fetched
out from the HTTPS site.
I uploaded the script to my remote system without changing anything on
the code. The script is running smooth but takes more time to finish
and finally cannot fetch any string from the HTTPS.
This is my first script using CURL. I dont know if curl can return
sort of error code or anything to help me debug it. I still cannot see
any error response by turning on CURLOPT_VERBOSE.
Looking forward to hear from you all..
Regards,
Albert :)
--- End Message ---