Get the App
SLTechnology News&Howtos  ›  Servers  › 

Install iTop IT Helpdesk under Centos

Shulou Source: shulou.com Published: 2022-06-02 16:19:19 09月22日 Update

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.

Tags: Pages errors directories prompts messages parameters owners manuals articles permissions root directories comments communities websites this is reference recommendation compilation Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MariaDB Docker Linux Redmi Huawei