Yesterday put Ansible-tower installed on this machine, and then the original Nginx occupied, forcing the Zabbix of the Web into Apache, the source code installed on Apache and recompile PHP, this PHP error appears.
Change the session path of the php.ini, and then change the Session Directory recursion permission to 777, then restart PHP and Apache.
Attached to the Zabbix of the Apache and PHP source specified by the module
./configure--prefix=/usr/local/php--with-apxs2=/usr/local/apache2.4/bin/apxs--with-config-file-path=/usr/local /php/etc--with-pdo-mysql=/usr/local/mysql--with-mysqli=/usr/local/mysql/bin/mysql_config--with-libxml-dir-- WITH-GD--with-jpeg-dir--with-png-dir--with-freetype-dir--with-iconv-dir--with-zlib-dir--with-bz2--with-openssl --with-mcrypt--enable-soap--enable-gd-native-ttf--enable-mbstring--enable-sockets--enable-exifwget https:// mirrors.cnnic.cn/apache/httpd/httpd-2.4.29.tar.gz wget https://mirrors.cnnic.cn/apache/apr/apr-1.6.3.tar.gz wget https://mirrors.cnnic.cn/apache/apr/apr-util-1.6.1.tar.gz./configure--prefix=/usr/local/apache2.4--with-apr=/ USR/LOCAL/APR--with-apr-util=/usr/local/apr-util--enable-so--enable-mods-shared=most★ Show a session Zabbix on the had page Already been started-ignoring session_start () This tip, change Session.auto_start = 1 to 0 to edit the httpd.conf file add the following code LoadModule php7_ Module Modules/libphp7.soaddtype application/x-httpd-php. Phpdirectoryindexindex.php index.htm index.html
Zabbix fault: Apache source code and PHP red tips on the page