Hoping for some help here.
Problem: I'm running XAMPP on my XP platform. I have .net software, files, etc installed and I want to keep them for future use. Therefore I have configured Apache to use a port other than 80, which is used by IIS. That works when I write programs in PHP for viewing on my own screen. I am having trouble now installing software for use developing a website which I wish to first develop on localhost.
I suspect that port 80 is expected. Although I include the new port in the URL address 127.0.0.1:'newport', I get the following message:
Warning: fsockopen() [function.fsockopen]: php_network_getaddresses: getaddrinfo failed: No
such host is known. in C:\xampp\htdocs\smartway\objects\class.http.php on line 1431
Warning: fsockopen() [function.fsockopen]: unable to connect to 127.0.0.1\:80 (Unknown
error) in C:\xampp\htdocs\smartway\objects\class.http.php on line 1431
Warning: Cannot modify header information - headers already sent by (output started at
C:\xampp\htdocs\smartway\objects\class.http.php:1431) in C:\xampp\htdocs\system_check.php
on line 78
Now ~\smartway\objects\class.http.php is a wrapper HTTP class provided by the software I'm trying to install.
Line 1431 thereof reads:
$content = curl_exec($ch);
Bottom line, I suspect the problem is that the software expects port 80.
Earlier in this wrapper the port is recovered:
// Handle SSL connection request
if ($urlParsed['scheme'] == 'https')
{
$this->host = 'ssl://' . $urlParsed['host'];
$this->port = ($this->port != 0) ? $this->port : 443;
}
else
{
$this->host = $urlParsed['host'];
$this->port = ($this->port != 0) ? $this->port : 80;
}
How do I solve this problem?