Install Config Wiki

All about installing, configuring and troubleshooting

User Tools

Site Tools


wiki:install_and_configure_php_7.0.26_on_windows_server

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
wiki:install_and_configure_php_7.0.26_on_windows_server [2018/01/02 15:10] – [Test Your PHP Installation] wikiadminwiki:install_and_configure_php_7.0.26_on_windows_server [2022/10/29 17:31] (current) – [Configure the php.ini File] wikiadmin
Line 39: Line 39:
   -Set cgi.force_redirect = 0   -Set cgi.force_redirect = 0
   -Set open_basedir = a path pointing to a folder or network path where the content of the Web site(s) is located. (Such as c:\hostdata), or just leave it commented like this ";open_basedir =" without the quotes   -Set open_basedir = a path pointing to a folder or network path where the content of the Web site(s) is located. (Such as c:\hostdata), or just leave it commented like this ";open_basedir =" without the quotes
-  -Set extension_dir to point to a location where PHP extensions reside. This is typically extension_dir = "./ext"+  -Set extension_dir to point to a location where PHP extensions reside. This is typically extension_dir = "./ext" However, per php.ini-production in both PHP7  and PHP8 it says for "Windows" to set it as follows:  extension_dir = "ext"
   -Set error_log="C:php_errors.log"  ;REMARK This can help with troubleshooting.  Alternatively, set **error_log = "c:\php\logs\errors_log"** and make a new sub-folder in c:php named "logs" and grant the sub-folder "logs" full control write access for both IUSR and IIS_USERS.   -Set error_log="C:php_errors.log"  ;REMARK This can help with troubleshooting.  Alternatively, set **error_log = "c:\php\logs\errors_log"** and make a new sub-folder in c:php named "logs" and grant the sub-folder "logs" full control write access for both IUSR and IIS_USERS.
   -Enable the required PHP extension by un-commenting the appropriate lines within the extensions section of the php.ini file.  See a further discussion of which extensions to enable.   -Enable the required PHP extension by un-commenting the appropriate lines within the extensions section of the php.ini file.  See a further discussion of which extensions to enable.
wiki/install_and_configure_php_7.0.26_on_windows_server.1514905828.txt.gz · Last modified: 2018/01/02 15:10 by wikiadmin