In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains "how to install Zend Optimizer under linux". The content in the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn how to install Zend Optimizer under linux.
Install Zend Optimizer multiple times, try different versions, and always fail. I don't know how to find out why, because Zend Optimizer installation is so easy:
1-release compression and unpack
2-run the install.sh script and enter the appropriate parameters as prompted, the most important of which is the path to php.ini. Second, if you use apache, enter the path to its control script, because it will not take effect until the service is restarted.
After installing, check whether Zend Optimizer is installed successfully, write a PHP file, just one sentence: phpinfo ();, look at the relevant information, only see
This program makes use of the Zend Scripting Language Engine:
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies with Zend Extension
Only Zend Engine, no Zend Optimizer.
After a few days, after the blow in my heart, I didn't give up looking at phpinfo (), and found that these two lines were very strange.
Configure Command:'. / configure'... ... ...
'- with-config-filepath=/usr/xxx/conf'
... ... ...
Configuration File (php.ini) Path: / usr/xxx/php/lib
Where the configuration file specified when compiling php is different from the location where the configuration file is now displayed (the actual php.ini is not under / usr/xxx/conf, but not under / usr/xxx/php/lib). Immediately have hope in mind, immediately download Zend Optimizer, install, and first press the actual location of php.inf to enter. Restart the service and observe phpinfo (). There is no change.
Is it difficult to find the configuration file under / usr/xxx/php/lib this time? Observe / usr/xxx/conf/php.ini and find that it points to / usr/xxx/Zend/ect/php.ini (which is automatically changed by the installation Zend Optimizer). So I made a link.
Ln-s / usr/xxx/Zend/etc/php.ini / usr/xxx/php/lib/php.ini
Restart the service and look at phpinfo () to find two changes
Configuration File (php.ini) Path / usr/xxx/Zend/etc/php.ini
This program makes use of the Zend Scripting Language Engine:
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies with Zend Extension Manager v1.0.9, Copyright (c) 2003-2006, by Zend Technologies with Zend Optimizer v2.6.2, Copyright (c) 1998-2006, by Zend Technologies
Ha ha, Zend Optimizer v2.6.2 is finally installed successfully.
Thank you for reading, the above is the content of "how to install Zend Optimizer under linux". After the study of this article, I believe you have a deeper understanding of how to install Zend Optimizer under linux, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.