This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
niota-docs:niota_install_php [2025/05/15 15:57] admin |
niota-docs:niota_install_php [2025/11/23 20:32] (current) admin [configure PHP] |
||
|---|---|---|---|
| Line 20: | Line 20: | ||
| ==== configure Apache ==== | ==== configure Apache ==== | ||
| + | If your Apache is currently running, shut it down! | ||
| + | |||
| + | <code - apache_shutdown.txt> | ||
| + | |||
| + | sc stop Apache24x64_niota | ||
| + | |||
| + | </code> | ||
| + | |||
| Open your Apache **''..\conf\httpd.conf''** file and check if PHP settings are made correctly | Open your Apache **''..\conf\httpd.conf''** file and check if PHP settings are made correctly | ||
| Line 29: | Line 37: | ||
| * AddType | * AddType | ||
| - | <code - phpconfig.txt> | + | <code - apache_phpconfig.txt> |
| AddHandler application/x-httpd-php .php | AddHandler application/x-httpd-php .php | ||
| Line 41: | Line 49: | ||
| After update from Version 7.x to version 8.y it could look like this: | After update from Version 7.x to version 8.y it could look like this: | ||
| - | <code - phpconfig.txt> | + | <code - apache_phpconfig.txt> |
| AddHandler application/x-httpd-php .php | AddHandler application/x-httpd-php .php | ||
| Line 59: | Line 67: | ||
| - | <code - phpconfig.txt> | + | There are some extions that must be enabled. |
| + | - zip - for EXCEL upload | ||
| + | - soap - for Zagreus SOAP calls | ||
| + | - sqlserver in case you need native MS SQL connection | ||
| + | ... | ||
| + | |||
| + | <code - phpini_phpconfig.txt> | ||
| session.save_path = "c:\Apache24x64\tmp\" | session.save_path = "c:\Apache24x64\tmp\" | ||
| extension_dir = "c:\Program Files\php-8.2.18_x64\ext" | extension_dir = "c:\Program Files\php-8.2.18_x64\ext" | ||
| + | |||
| + | extension=soap | ||
| + | extension=php_zip.dll | ||
| + | extension=php_sqlsrv_82_ts_x64.dll | ||
| + | |||
| + | |||
| </code> | </code> | ||