Source code:
<?php
php_info();
?>
Error message:
Fatal error: Call to undefined function: php_info() in /home/tim/public_html/test.php on line 2
Answer: Because it's phpinfo(); and not php_info();
A quick fix for a PHP fatal error caused by calling php_info() instead of phpinfo().
Source code:
<?php
php_info();
?>
Error message:
Fatal error: Call to undefined function: php_info() in /home/tim/public_html/test.php on line 2
Answer: Because it's phpinfo(); and not php_info();