Because of a website function, yesterday upgraded the server PHP to 5.3.27, with the Wdlinux Lanmp, after the installation of Apache or PHP-V will be error:
Cannot load Zend Extension manager-it is built with configuration 1.2.0,
Moreover, all *.tpl.php are not normal, such as the index.tpl.php page has the following script:
PHP Code?
| 12345 |
<frame src="<?=u(‘index‘,‘top‘)?>"noresize="noresize"frameborder="no"name="topFrame"scrolling="no"marginwidth="0"marginheight="0"target="main"/> <frameset cols="200,*"id="frame"> <frame src="<?=u(‘index‘,‘left‘)?>"name="leftFrame"noresize="noresize"marginwidth="0"marginheight="0"frameborder="no" scrolling="yes"target="main"/> <frame src="<?=u($_GET[‘go_mod‘],$_GET[‘go_act‘])?>"name="main"noresize="noresize"marginwidth="0"marginheight="0"frameborder="no"scrolling="yes"target="_self"/> </frameset> |
Page open All is 404, after viewing the source code, found that the address is http://xx.xx.xx/xx/xx/<?=u (' index ', ' left ')? The >,php script doesn't seem to run.
After Baidu and Google, reinstalled the Zendguardloader, and commented out the old Zend:
Plain Text Code?
| 1234567 |
;zend_extension_manager.optimizer=/www/wdlinux/Zend/lib/Optimizer-3.3.3;zend_extension_manager.optimizer_ts=/www/wdlinux/Zend/lib/Optimizer_TS-3.3.3;zend_optimizer.version=3.3.3;zend_extension=/www/wdlinux/Zend/lib/ZendExtensionManager.so;zend_extension_ts=/www/wdlinux/Zend/lib/ZendExtensionManager_TS.so<span style="color: #FF0000;">zend_extension = /www/wdlinux/Zend/lib/ZendGuardLoader.sozend_loader.enable = 1</span> |
Restart Apache, or invalid, how to help
-
--------Solution--------
-
Ini
Short_open_tag = On
To php5.4.21.
No matter how the Short_open_tag settings are supported <?=?>
-
--------Solution--------
- Reference 1 Floor xuzuning's reply:
php.ini
Short_open_tag = On
To php5.4.21.
No matter how the Short_open_tag settings are supported <?=?>
Thank you very much, fix it, knot it to you
*.tpl.php all expire after upgrading to php5.3.27