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. 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!
Reply to discussion (solution)
Installation and configuration of Apache + php + mysql in windows
Perform the configuration as shown in the preceding figure.
Order processed
";?> Can this happen?
This is not the case?
Echo"
Order processed
";
?>
Order processed
";?> Can this happen?
This is not the case?
Echo"
Order processed
";
?>
Hmm ~ All have been tried. None
Installation and configuration of Apache + php + mysql in windows
Perform the configuration as shown in the preceding figure.
My and the above settings do not show their right ~
Where did you run it?
Can this sentence be used?
Phpinfo ();
?>
Try this
Echo "helloworld! ";
?>
Where did you run it?
I used to open it directly, so I couldn't do it. I put it in htdocs and enter the localhost address in the browser.
Thank you ~