7 More Discussions You Might Find Interesting
1. High Performance Computing
We have a server with 160 hyper-threaded cpu's threads and 2Tb of RAM. I need to implement command line job queue and parallel thread usage for multiple user environment kindly suggest necessary tools to be installed.
I have understanding that sun grid engine like applications are available for... (0 Replies)
Discussion started by: vaibhavvsk
0 Replies
2. UNIX for Dummies Questions & Answers
hi guys
I've configured some CentOS where you can set a password for VNC and that password is requested before connecting to the normal user login
But I found that Suse 10 SP3 has no such thing
basically it has this configuration under /etc/xinetd.d/vnc
service vnc1
{
... (2 Replies)
Discussion started by: kopper
2 Replies
3. Red Hat
Hi,
There are two systems:
(1) HP server under RedHat Linux with CD drive.
(2) Notebook under Windows Vista with DVD drive.
Now I want to install Suse Linux on the HP server, but the installation media is a DVD. How can I do it?
Thank you much in advance! (3 Replies)
Discussion started by: aixlover
3 Replies
4. UNIX for Dummies Questions & Answers
Hi,
In SUSE SLES 10 SP2 where are the software repositories located? In CENTOS they are in /etc/yum.repositories or something like that. What does SLES use? (1 Reply)
Discussion started by: mojoman
1 Replies
5. UNIX for Dummies Questions & Answers
Please can anyone help me with how to install cygwin on a windows Xp SP2 platform, I cant seem to get it to work? (1 Reply)
Discussion started by: jimoney
1 Replies
6. SuSE
I've made a few attempts at an OpenSuse10.1 clean install using a boot.iso and network repository install dir.
I've succesfully done a few network installs before and know what I'm doing with the procedure, however I seem to be getting problems with the connection to the remote repository. It's... (0 Replies)
Discussion started by: Mark Ward
0 Replies
7. UNIX for Dummies Questions & Answers
Can anyone tell me how to install Suse Linux 8.1?
:( (6 Replies)
Discussion started by: Micheal
6 Replies
MEMCACHE.CONNECT(3) 1 MEMCACHE.CONNECT(3)
Memcache::connect - Open memcached server connection
SYNOPSIS
bool Memcache::connect (string $host, [int $port], [int $timeout])
DESCRIPTION
Memcache.connect(3) establishes a connection to the memcached server. The connection, which was opened using Memcache.connect(3) will be
automatically closed at the end of script execution. Also you can close it with Memcache.close(3). Also you can use memcache_connect(3)
function.
PARAMETERS
o $host
- Point to the host where memcached is listening for connections. This parameter may also specify other transports like
unix:///path/to/memcached.sock to use UNIX domain sockets, in this case $port must also be set to 0.
o $port
- Point to the port where memcached is listening for connections. Set this parameter to 0 when using UNIX domain sockets. Please
note: $port defaults to memcache.default_port if not specified. For this reason it is wise to specify the port explicitly in this
method call.
o $timeout
- Value in seconds which will be used for connecting to the daemon. Think twice before changing the default value of 1 second -
you can lose all the advantages of caching if your connection is too slow.
NOTES
Warning
When the $port is unspecified, this method defaults to the value set of the PHP ini directive memcache.default_port If this value
was changed elsewhere in your application it might lead to unexpected results: for this reason it is wise to always specify the port
explicitly in this method call.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
EXAMPLES
Example #1
Memcache.connect(3) example
<?php
/* procedural API */
$memcache_obj = memcache_connect('memcache_host', 11211);
/* OO API */
$memcache = new Memcache;
$memcache->connect('memcache_host', 11211);
?>
SEE ALSO
Memcache.pconnect(3), Memcache.close(3).
PHP Documentation Group MEMCACHE.CONNECT(3)