Answers for "phpinfo();"

PHP
2

apache enable mod reqrite

sudo a2enmod rewrite
sudo service apache2 restart
Posted by: Guest on August-10-2020
0

php info file

<?php
// Show all information, defaults to INFO_ALL
phpinfo();
?>
Posted by: Guest on December-10-2020
6

show php info

phpinfo();
Posted by: Guest on February-20-2020
0

phpinfo file

<?php

phpinfo( );

?>
Posted by: Guest on October-28-2021
-1

where is phpinfo()

A simple method to style your own phpinfo() output.

<style type="text/css">
#phpinfo {}
#phpinfo pre {}
#phpinfo a:link {}
#phpinfo a:hover {}
#phpinfo table {}
#phpinfo .center {}
#phpinfo .center table {}
#phpinfo .center th {}
#phpinfo td, th {}
#phpinfo h1 {}
#phpinfo h2 {}
#phpinfo .p {}
#phpinfo .e {}
#phpinfo .h {}
#phpinfo .v {}
#phpinfo .vr {}
#phpinfo img {}
#phpinfo hr {}
</style>

<div id="phpinfo">
<?php

ob_start () ;
phpinfo () ;
$pinfo = ob_get_contents () ;
ob_end_clean () ;

// the name attribute "module_Zend Optimizer" of an anker-tag is not xhtml valide, so replace it with "module_Zend_Optimizer"
echo ( str_replace ( "module_Zend Optimizer", "module_Zend_Optimizer", preg_replace ( '%^.*<body>(.*)</body>.*$%ms', '$1', $pinfo ) ) ) ;

?>
</div>
Posted by: Guest on April-23-2021
0

show phpinfo just modules

phpinfo(INFO_MODULES);
Posted by: Guest on February-20-2020

Browse Popular Code Answers by Language