@@ -47,17 +47,13 @@ Cacti yourself, please follow the instructions below.
4747 sort_buffer_size = 200M # Adjust for your OS memory size
4848
4949 # important for compatibility
50- sql_mode=NO_ENGINE_SUBSTITUTION,NO_AUTO_CREATE_USER
50+ sql_mode=NO_ENGINE_SUBSTITUTION
5151
5252 innodb_flush_log_at_trx_commit = 2
5353 innodb_flush_log_at_timeout = 3
5454 innodb_file_per_table = ON
5555
5656 innodb_buffer_pool_size = 4500M # Adjust for your OS memory size
57-
58- # for very large indexes
59- innodb_file_format = Barracuda
60- innodb_large_prefix = 1
6157
6258 # for SSD's on a 64 core server
6359 innodb_doublewrite = OFF
@@ -105,7 +101,8 @@ The following changes will be required regardless of your selected Webserver.
105101
106102 ``` ini
107103 extension_dir = c:\php\ext
108- extension =php_mysql.dll
104+ extension =php_mysqli.dll
105+ extension =php_pdo_mysql.dll
109106 extension =php_snmp.dll
110107 extension =php_sockets.dll
111108 cgi.force_redirect = 0
@@ -147,24 +144,21 @@ The following changes will be required regardless of your selected Webserver.
147144
148145## IIS Specific Steps
149146
150- 1 . Start the Internet Information Services (IIS) Manager, right click on the
151- Default Web Site (in most cases) and select Properties.
147+ > ** Note:** PHP 8 does not provide an ISAPI module (` php8isapi.dll ` does not
148+ > exist). Use PHP with IIS via ** FastCGI** instead, which is the recommended
149+ > and supported method for PHP 7+ on IIS.
152150
153- 2 . Under the Home Directory tab, select Configuration and click Add. Browse to
154- the path of ` php8isapi.dll ` , and type in .php as the
155- extension. Note: if using IIS6, Enable All Verbs and Script Engine.
151+ 1 . In IIS Manager, install the ** CGI** role service if not already present.
156152
157- 3 . Under the ISAPI Filters tab , click Add and browse to the ` php8isapi.dll `
158- file. Name the filter "php" and click OK .
153+ 2 . Add a FastCGI application: open ** FastCGI Settings ** , click ** Add
154+ Application ** , and set the full path to ` c:\php\php-cgi.exe ` .
159155
160- 5 . Under the Documents tab, add ` index.php ` to the list.
156+ 3 . Add a Handler Mapping for ` .php ` extension pointing to ` php-cgi.exe ` using
157+ the FastCGI module.
161158
162- 6 . If using IIS6, goto Web Service Extensions and add a new Web Service
163- Extension. Name the extension "php", and click Add and browse to the
164- ` php8isapi.dll ` file, enable Set Extension status to
165- Enable, and click OK.
159+ 4 . Under the Documents tab, add ` index.php ` to the list.
166160
167- 7 . Give the IIS user read & execute permissions to the required files
161+ 5 . Give the IIS user read & execute permissions to the required files
168162 file ` %windir%\system32\cmd.exe ` . They will also need read permissions on
169163 ` cacti_web_root/cacti ` and it's subfolders.
170164 A anm example provided by one user included the following assuming the
@@ -183,7 +177,7 @@ The following changes will be required regardless of your selected Webserver.
183177 icacls "C:\inetpub\wwwroot\cacti\include\vendor\csrf\csrf-secret.php" /grant "IUSR:(RX,W)"
184178 ```
185179
186- 8 . Completely stop and start the IIS service using the following commands:
180+ 6 . Completely stop and start the IIS service using the following commands:
187181
188182 ``` batchfile
189183 net stop iisadmin
0 commit comments