Answers for "get phpinfo"

PHP
0

nodemon: command not found

sudo npm install nodemon -g
// This command will install nodemon into the system
Posted by: Guest on October-12-2020
0

nodemon command not found mac

nodemon command not foundWhatever By Mysterious Monkey on May 16 2020
npx nodemon server.js
or add in package.json config:

...
"scripts": {
    "dev": "npx nodemon server.js"
  },
...
then run:

npm run dev
Posted by: Guest on December-14-2020
6

show php info

phpinfo();
Posted by: Guest on February-20-2020
-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