niota

fascinating. logical.

User Tools

Site Tools


niota-docs:niota_install_php

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
niota-docs:niota_install_php [2025/05/15 15:48]
admin
niota-docs:niota_install_php [2025/11/23 20:32] (current)
admin [configure PHP]
Line 1: Line 1:
 ===== upgrade or install PHP ===== ===== upgrade or install PHP =====
  
-Go to [[niota_links | niota download page]] and download the pre configured PHP version or download ​approved version from official PHP download sites.+Go to [[niota_links | niota download page]] and download the pre configured PHP version or download ​an approved version from any official PHP download sites.
  
-It's recommended to shut down apache ​when you install/​upgrade PHP. +**  
 +It's recommended to shut down Apache ​when you install/​upgrade PHP.\\
 Don't forget to restart it when you are finished. Don't forget to restart it when you are finished.
 +**
  
 ==== Windows Server ==== ==== Windows Server ====
-Unpack the folder ​and copy the unpacked folder to ''​C:​\Program Files\''​+Unpack the downloaded PHP-file ​and copy the unpacked folder to ''​C:​\Program Files\'' ​(recommended)
  
 Here we assume a PHP version number 7.3.8_x64. ​ Here we assume a PHP version number 7.3.8_x64. ​
Line 18: 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
  
-  * Check if PHP path is correct at those lines:+  * check if PHP path is correct at those lines 
 +      * LoadModule php_module 
 +      * PHPiniDir 
 +  * check that that handler are set 
 +      * AddHandler 
 +      * AddType
  
-<​code>​+<​code ​- apache_phpconfig.txt>
  
 AddHandler application/​x-httpd-php .php AddHandler application/​x-httpd-php .php
Line 32: Line 47:
 </​code>​ </​code>​
  
-After update from Version 7 to version 8 it could look like this:+After update from Version 7.x  ​to version 8.y it could look like this:
  
-<​code>​+<​code ​- apache_phpconfig.txt>
  
 AddHandler application/​x-httpd-php .php AddHandler application/​x-httpd-php .php
Line 52: Line 67:
  
  
-<​code>​+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>​
niota-docs/niota_install_php.1747316918.txt.gz · Last modified: 2025/07/17 14:11 (external edit)