In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-07 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
LAMP has been installed, copy the downloaded iTop to the root of the website and visit it from the web page to start the installation. You can see that the web page goes to setup/index.php, but an error occurs.
Fatal error: Class' DBBackup' not found in / var/www/html/setup/applicationinstaller.class.inc.php on line 956
Look at the iTop community and see that this is because php does not have zip enabled. Refer to the following article
Https://sourceforge.net/p/itop/tickets/1289/
Recompile php, add the-- enable-zip parameter, make & & make install, and everything seems to be fine.
/ configure-- prefix=/usr/local/php-- with-libdir=lib64-- with-apxs2=/usr/bin/apxs-- with-openssl-- with-mcrypt-- with-mysql=mysqlnd-- with-mysqli=mysqlnd-- with-pdo-mysql=mysqlnd-- enable-sockets-- enable-zip-- with-pcre-regex-- with-gettext-- with-pear-- with-zlib-- with-gd-enable-soap-- with-ldap-- with-mysql-sock=/var/lib/mysql/mysql.sock
Check the iTop installation manual and find several recommended settings for php and mysql. Modify them first.
MySQL recommandations
My.cnf
Innodb_buffer_pool_size = 512m
Query_cache_size = 32m
Query_cache_limit = 1m
PHP recommandations
Php.ini
Memory_limit = 256m
Restart apache, open the iTop web page, the original error is gone, indicating that the directory does not have permission
Set apache as the owner of the directory
Chown apache:apache / var/www/html/
Refresh the page and find that the error disappears. But there's still a warning message.
Find the appropriate line in php.ini and remove the comment
Session.save_path = "/ tmp"
Restart apache, open the web page, and all errors disappear.
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.