|
11 | 11 | if ($isNotCli) { |
12 | 12 | header('Content-Type: text/plain;charset=UTF-8'); |
13 | 13 | } |
14 | | - echo "PEAR2_Net_Transmitter @PACKAGE_VERSION@\n"; |
| 14 | + echo "@PACKAGE_NAME@ @PACKAGE_VERSION@\n"; |
15 | 15 |
|
16 | 16 | if (version_compare(phpversion(), '5.3.0', '<')) { |
17 | 17 | echo "\nThis package requires PHP 5.3.0 or later."; |
|
26 | 26 |
|
27 | 27 | if (function_exists('stream_socket_client')) { |
28 | 28 | echo <<<HEREDOC |
29 | | -The stream_socket_client() function is enabled.\n |
| 29 | +The stream_socket_client() function is enabled. |
30 | 30 | If you can't connect to a host, this means one |
31 | | -of the following:\n |
| 31 | +of the following: |
32 | 32 | 1. You've mistyped the IP and/or port. Check the IP and port you've specified |
33 | | -are the one you intended.\n |
| 33 | +are the one you intended. |
34 | 34 | 2. The host is not reachable from your web server. Try to reach the host |
35 | 35 | from the web server by other means (e.g. ping) using the same IP, and if |
36 | | -you're unable to reach it, check your network's settings.\n |
37 | | -2. Your web server is configured to forbid that outgoing connection. If you're |
| 36 | +you're unable to reach it, check your network's settings. |
| 37 | +3. Your web server is configured to forbid that outgoing connection. If you're |
38 | 38 | the web server administrator, check your firewall's settings. If you're on a |
39 | 39 | hosting plan... Typically, shared hosts block all outgoing connections, but it's |
40 | 40 | also possible that only connections to that port are blocked. If the remote host |
|
0 commit comments