Home  >  Article  >  Backend Development  >  PHP version causes shopex4.8.5 installation problems_PHP tutorial

PHP version causes shopex4.8.5 installation problems_PHP tutorial

WBOY
WBOYOriginal
2016-07-21 14:53:27789browse

I believe many people have encountered the same problem as me: versions above php5.3 no longer support Zend Optimizer, but websites such as shopex must have a higher version of Zend to use it.

After n hours of miserable groping, I finally got it, but in the end I had to give in to shopex...

First of all, if you want to use Zend Guard Loader in PHP5.3.x version, you must download the NTS version, and it must be compiled with VC9. You must pay attention to these two points. If one of them is wrong, you will not be able to use Zend Guard Loader.

Currently, the php5.3.5 that comes with wampserver 2.1e (32-bit version) is compiled with VC6, so Zend Guard Loader cannot be used directly in the wampserver 2.1e environment. The php5.3.4 that comes with wampserver 2.1d (64-bit version) is compiled by VC9, but it is the TS version, so it cannot be used.

If you want to use the new version of php+zend guard, you can only go to the php website and download an nts version of vc9 compiled php.

However, even if you use the new version of php and zend guard, you cannot use shopex4.8.5, because there will be parsing errors due to zend version issues.

Therefore, in order to use this version of shopex, I have to switch to php 5.2.x version + Zend Optimizer 3.3.3.

Of course, it should also be noted here that PHP 5.2.17 must be compiled with the TS version of VC6 in order to cooperate with Zend Optimizer 3.3.3. What a fucking pervert!

Finally, after completing this environment, you can finally install shopex. However, during installation, the process of creating a new database always fails.

Looking at the mysql database, I found that there are only 97 tables, but if it is fully installed, there should be 109 tables. I checked in many places and can't figure out what the problem is.

Finally, I found the reason, which was caused by the mysql version being too high. Then go back from Mysql 5.5.8 to Mysql 5.1.55 and it will be normal.

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/371367.htmlTechArticleI believe many people have encountered the same problem as me: versions above php5.3 no longer support Zend Optimizer. However, websites such as shopex require a higher version of Zend to be used. After n small...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn