<?php
phpinfo();
?>
laat apache mij de output zien, maar als ik phpPgAdmin of phpMyAdmin installeer en activeer krijg ik het volgende:
http://robertson-services.nl/phpPgAdmin/
<?php
printHeader('', null, true); $rtl = (strcasecmp($lang['applangdir'], 'rtl') == 0); $cols = $rtl ? '*,'.$conf['left_width'] : $conf['left_width'].',*'; $mainframe = '' ?> printFooter(false); ?>
de pagina source is:
<?php
/**
* Main access point to the app.
*
* $Id: index.php,v 1.13 2007/04/18 14:08:48 mr-russ Exp $
*/
// Include application functions
$_no_db_connection = true;
include_once('./libraries/lib.inc.php');
$misc->printHeader('', null, true);
$rtl = (strcasecmp($lang['applangdir'], 'rtl') == 0);
$cols = $rtl ? '*,'.$conf['left_width'] : $conf['left_width'].',*';
$mainframe = '<frame src="intro.php" name="detail" id="detail" frameborder="0" />'
?>
<frameset cols="<?php echo $cols ?>">
<?php if ($rtl) echo $mainframe; ?>
<frame src="browser.php" name="browser" id="browser" frameborder="0" />
<?php if (!$rtl) echo $mainframe; ?>
<noframes>
<body>
<?php echo $lang['strnoframes'] ?><br />
<a href="intro.php"><?php echo $lang['strnoframeslink'] ?></a>
</body>
</noframes>
</frameset>
<?php
$misc->printFooter(false);
?>
het stuk:
<?php
/**
* Main access point to the app.
*
* $Id: index.php,v 1.13 2007/04/18 14:08:48 mr-russ Exp $
*/
// Include application functions
$_no_db_connection = true;
include_once('./libraries/lib.inc.php');
$misc->
?>
is in de source pagina anders van kleur.
Bij phpMyAdmin gebeurt iets vergelijkbaars. Ergens is bij deze twee toepassingen een instelling actief die van een <?php > marker een html-tag maakt, maar welke? Ik heb allebei de toepassingen een aantal keren opnieuw geïnstalleerd, zonder resultaat.
Het geheel draait op een VPS met Centos 6.5, en:
php -v
PHP 5.3.3 (cli) (built: Oct 30 2014 20:12:53)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
Allebei de toepassingen hebben gewerkt. Kan het iets te maken hebben met robot.txt?
Wie kan mij uit de brand helpen?