Php configuration problems, phpinfo can be resolved, but others cannot. Ask for advice! Ask a question: why can I parse phpinfo () after configuration, but cannot parse other PHP files. The source code is displayed. But & lt ;? The php & nbsp; label is followed by a statement that can be parsed, and the following content will not work. Example: & lt ;? Php & nbsp; echo & nbsp; & lt; p php configuration problems. phpinfo can be parsed, but others cannot. Ask for advice!
Ask a question: why can I parse phpinfo () after configuration, but cannot parse other PHP files. The source code is displayed. However For example:
Echo"
Order processed
"
;?>
Then display
Order processed
";?>
My httpd. conf setting is to change the phph and apache paths and add the Loadmodule and addtype statements.
Ask where the problem exists.
Thank you!
------ Solution --------------------
Installation and configuration of Apache + php + mysql in windows
Perform the configuration as shown in the preceding figure.
------ Solution --------------------
Order processed
";?> Can this happen?
This is not the case?
Echo"
Order processed
";
?>
------ Solution --------------------
Where did you run it?
------ Solution --------------------
Can this sentence be used?
Phpinfo ();
?>
Try this
Echo "helloworld! ";
?>