Connection¶
Connection refers to the communication link established between a running instance of PHP and a remote server.
The connection may be established with different kind of servers: web, SQL, NoSQL, FTP, etc.
The connection may be protected by a login and password, or other identification and authentication methods.
Once the connection is established, PHP sends queries to the remote server, and receives results set.
The remote server may be on the same physical machine as PHP: it is considered remote as it acts autonomously.
See also PDO Connections and Connection management.
Related : Connection Persistence, File Transfer Protocol (FTP), Server, Data Source Name (DSN)