Within the PHP Variables section of phpinfo.php() the following are displayed:
_SERVER["SERVER_NAME"] INVINFO400.MYCOMPANYNAME (for example)
This 2 word string INVINFO400.MYCOMPANYNAME is the same as what is displayed using the CFGTCP Configure TCP/IP command option 10. Work with TCP/IP host table entries:
Opt Address Name
_ 10.0.11.11 INVINFO400.MYCOMPANYNAME (for example) (line 1 for example)
invinfo400 (line 2 for example)
I am assuming that the Zend Server install process selected INVINFO400.MYCOMPANYNAME from the iSeries TCP configuration?
To access a web page via a browser (wiki, Drupal, phpBB, etc) the URL has to be entered as either:
http: //10.0.11.11:10088/w/index.php?title=Main_Page (mediawiki example, note address 10.0.11.11 in front of the port number)
http: //invinfo400:10088/w/index.php?title=Main_Page (mediawiki example, note address invinfo400 in front of the post number)
Each Open Source installed package (ie. mediawiki, drupal, phpBB) has had to be configured to point to 10.0.11.11 because the various web browsers assume that the 2 word string INVINFO400.MYCOMPANYNAME is a web address. And, needs the 3 letters WWW appended to the beginning and .COM appended to the end.
How do I modify the phpinfo() SERVER_NAME to be a single sting word, INVINFO400 for example, without modifying CFGTCP?