I just built a centos6.0 platform.
I'm a yum installer.
Yum-y Install httpd
Yum-y Install php*
Yum-y Install mysql*
After I send the website, I want to modify the point bug in the CentOS platform
I use Vim to modify the PHP, modified to save, the operation of the program did not change.
What the hell's going on? Doesn't PHP need to be compiled?
What's the reason?
Before modification
if ($info! = False)
{
Print_r (' true ');
}else
{
Print_r (' false ');
}
After modification
if ($info! = False)
{
Print_r (' true ');
Print_r (");
}else
{
Print_r (' false ');
}
Always returns true to modify other HTML.
Now can only put files back to Windows WAMP5 modified after running in CentOS, so not toss people?
Reply to discussion (solution)
Run Phpinfo () to see if PHP is installed successfully
Not successful, how to run the website AH
Solve. Originally is the authority question, modifies it to chmod 777 xxx.php to be possible. Depressed and windows really different!