I have just installed 4.3.0 with apache2.0.43. Running a standard test.php file consisting solely of:
<?phpinfo(); ?> results in incorrect html with the image sources of the logo incorrectly formed. See below. The src="d/public_html/test.php?=PHP... should, I think be src="~/public_html/test.php?=PHP. I regret I'm neither an html expert nor, yet, a PHP user, the objective as to get a system to learn with. As I can't find this reported here or in the bugs database, I suspect I have made in installation error. Can anyone enlighten me? Thanks, Richard <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd"> <html><head> <style type="text/css"><!-- body {background-color: #ffffff; color: #000000;} body, td, th, h1, h2 {font-family: sans-serif;} pre {margin: 0px; font-family: monospace;} a:link {color: #000099; text-decoration: none;} a:hover {text-decoration: underline;} table {border-collapse: collapse;} .center {text-align: center;} .center table { margin-left: auto; margin-right: auto; text-align: left;} .center th { text-align: center; !important } td, th { border: 1px solid #000000; font-size: 75%; vertical-align: baseline;} h1 {font-size: 150%;} h2 {font-size: 125%;} .p {text-align: left;} .e {background-color: #ccccff; font-weight: bold;} .h {background-color: #9999cc; font-weight: bold;} .v {background-color: #cccccc;} i {color: #666666;} img {float: right; border: 0px;} hr {width: 600px; align: center; background-color: #cccccc; border: 0px; height: 1px;} //--></style> <title>phpinfo()</title></head> <body><div class="center"> <table border="0" cellpadding="3" width="600"> <tr class="h"><td> <a href="http://www.php.net/"><img border="0" src="d/public_html/test.php?=PHPE9568F34-D428-11d2-A769-00AA001ACF42" alt="PHP Logo" /></a><h1 class="p">PHP Version 4.3.0</h1> </td></tr> </table><br /> <table border="0" cellpadding="3" width="600"> <tr><td class="e">System </td><td class="v">Linux rad1 2.4.21-pre1 #2 Wed Dec 18 13:34:39 UTC 2002 i686 </td></tr> <tr><td class="e">Build Date </td><td class="v">Dec 28 2002 12:59:37 </td></tr> <tr><td class="e">Configure Command </td><td class="v"> './configure' '--prefix=/opt/httpd-2.0.43' '--with-config-file-path=/opt/httpd-2.0.43/conf' '--with-openssl' '--with-zlib' '--with-bz2' '--enable-calendar' '--with-gdbm' '--with-db3' '--with-gmp' '--with-mysql' '--with-ncurses' </td></tr> <tr><td class="e">Server API </td><td class="v">CGI </td></tr> <tr><td class="e">Virtual Directory Support </td><td class="v">disabled </td></tr> <tr><td class="e">Configuration File (php.ini) Path </td><td class="v">/opt/httpd-2.0.43/conf </td></tr> <tr><td class="e">PHP API </td><td class="v">20020918 </td></tr> <tr><td class="e">PHP Extension </td><td class="v">20020429 </td></tr> <tr><td class="e">Zend Extension </td><td class="v">20021010 </td></tr> <tr><td class="e">Debug Build </td><td class="v">no </td></tr> <tr><td class="e">Thread Safety </td><td class="v">disabled </td></tr> <tr><td class="e">Registered PHP Streams </td><td class="v">php, http, ftp, https, ftps, compress.bzip2, compress.zlib </td></tr> </table><br /> <table border="0" cellpadding="3" width="600"> <tr class="v"><td> <a href="http://www.zend.com/"><img border="0" src="d/public_html/test.php?=PHPE9568F35-D428-11d2-A769-00AA001ACF42" alt="Zend logo" /></a> This program makes use of the Zend Scripting Language Engine:<br />Zend Engine v1.3.0, Copyright (c) 1998-2002 Zend Technologies </td></tr> </table><br /> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php