Home → Installation and Upgrade Manual → Upgrading From HelpSpot 4.9.5 To HelpSpot 5.x → Updating to HelpSpot 5 - Windows Manual Update IIS/MSSQL
4.3. Updating to HelpSpot 5 - Windows Manual Update IIS/MSSQL
Update PHP
- Stop IIS
- Download the latest NTS build of PHP 8 for x86 - https://windows.php.net/download/
- Extract the files to a temporary location
- Backup your current PHP directory located C:\Program Files (x86)\helpspot\php
- Copy the new PHP 8 installation to C:\Program Files (x86)\helpspot\php
- Copy the php.ini file from your php backup folder to your new php folder
- Download the latest SQL Server php extensions from https://github.com/microsoft/msphpsql/releases and move the x86 dll files to the C:\Program Files (x86)\helpspot\php\ext directory
- Edit your php.ini file as follows
Remove the ioncube loader line:[Zend] zend_extension="C:\Program Files (x86)\helpspot\ioncube\ioncube_loader_win_7.2.dll"
extension=php_sqlsrv_72_nts.dll extension=php_pdo_sqlsrv_72_nts.dll should become extension=php_sqlsrv_83_nts.dll extension=php_pdo_sqlsrv_83_nts.dll
Update HelpSpot Files
- Download and unpack the latest helpspot zip package from https://store.helpspot.com
- Backup your current helpspot directory in
C:\Program Files (x86)\helpspot\helpspot\
- Create a new
C:\Program Files (x86)\helpspot\helpspot\
directory and place the HelpSpot 5 files in that directory. - Copy the config.php from your HelpSpot 4 backup to
C:\Program Files (x86)\helpspot\helpspot\
- Copy the
\custom_templates
directory from your HelpSpot 4 backup toC:\Program Files (x86)\helpspot\helpspot\public\custom_templates
- Copy the
\custom_code
directory from your HelpSpot 4 backup toC:\Program Files (x86)\helpspot\helpspot\public\custom_code
- Copy the
\custom_pages
directory from your HelpSpot 4 backup toC:\Program Files (x86)\helpspot\helpspot\helpspot\custom_pages
- Copy the
\data\documents
directory toC:\Program Files (x86)\helpspot\helpspot\storage\documents
Move IIS Site Directory
- Open the IIS Manager
- If your HelpSpot site is hosted in a virtual directory click on it and then select "basic settings" from the actions tray
- Change the physical path to the public subdirectory in your installation
- If you HelpSpot site is hosted at the root of the site change the physical path in the "basic settings" for the site.
Add your handler mapping
- In the IIS Manager go the handler mappings for your virtual folder or site.
- Add a new Module Mapping Request path: *.php
Module: FastCGIModule
Executable: "C:\Program Files (x86)\helpspot\php\php-cgi.exe"
Name: PHP
Add Default Document
- In the IIS Manager go the default Documents for your virtual folder or site.
- Add a new default document of index.php
Setup IIS URL Rewrite Extension
- Download the extension from https://www.iis.net/downloads/microsoft/url-rewrite
- Install the extension.
Modify Storage File Permissions
- Modify the file permissions on
C:\Program Files (x86)\helpspot\helpspot\storage
to allow full access to the user running your application pool. By default this is the IUSR. - Create a php tmp folder in
C:\Program Files (x86)\helpspot\php\tmp\
and give full permission to the running your application pool. By default this is the IUSR.
Update HelpSpot
- Open the command line and cd to
C:\Program Files (x86)\helpspot\helpspot
- Convert your config file:
..\php\php.exe hs config:convert
- Generate a app key:
..\php\php.exe hs install:key
- Update HelpSpot:
..\php\php.exe hs update
Setup Your Queue
- Navigate to
C:\Program Files (x86)\helpspot\helpspot\helpers\windows
- Modify the first two lines to reflect your paths in your installation. By default these will be:
set AppPath=C:\Program Files (x86)\helpspot\helpspot
set PHPPath=C:\Program Files (x86)\helpspot\php
- Run setup.bat. This will create your supervisor.conf file and install your queue services
This page was: Helpful |
Not Helpful