Topic with the same problem could not find , so I create a new one. I install clean Windows 7. Only had time to download wamp server , git and a text editor . In wamp included module rewrite. In the folder www / project I clone with yii project repository. As hosts , I ordered that it should be, uncomment string in httpd.conf virtualhost , httpd-vhosts.conf ordered all that is necessary. Restart the server . Pass in the browser to the specified path and get the php code in text form. Please tell me what I missed? Not set or not prescribed. PHP in Apache uncomment as the type of files added.
The funny thing that I threw in the project folder test.php outputs phpinfo (). And in the browser project / test.php runs! And shows info about php. So why not start the project itself?
P.S. Php code in text form:
age['time'])." GMT"
; // header('Cache-Control: no-store,no-cache,must-revalidate'); // header('Cache-Control: post-check=0,pre-check=0',false); // header('Pragma: no-cache'); header("Expires: Tue, 03 Jul 2001 06:00:00 GMT"
; header("Last-Modified: ".gmdate("D, d M Y H:i:s"
." GMT"
; header("Cache-Control: max-age=0, no-cache, must-revalidate, proxy-revalidate"
; // header("X-UA-Compatible: IE=8"
; define('__BOOL___CODE_COMPRESSION',false); define('__STRING___inclusion_path_prefix',"./public/framework/"
; $__string___project_title="Wumact"; $__array___password_symbol=array ( 'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z', 'A','B','C ....
.....
$string___result.=$__array___password_symbol[rand(0,count($__array___password_symbol)-1)]; return $string___result; } ?>