Script URL:
Version of script:
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:
Write your message below:
What is the latest version of PHP you can use with Hesk?
It doesn't explicitly say this anywhere, the changelog a few versions ago says that it now works with 5.6, but 7 is out now and I want to know if I can use that.
The reason why I ask is because I've just tried to install it with PHP v7 and got PHP and MySQL errors on install.
I also tried to install it with version 5.6.31 on the same server and I get these weird warnings at the top of the screen when I go to http://localhost/install/install.php
here's what they look like:-
Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in E:\wwwroot\helpdesk\inc\common.inc.php on line 1439
Warning: Cannot modify header information - headers already sent by (output started at E:\wwwroot\helpdesk\inc\common.inc.php:1436) in E:\wwwroot\helpdesk\inc\common.inc.php on line 1954
I can't then just click on 'I accept', the button doesn't seem to work. I get further than this with PHP7, I get to the 'check setup' stage, where it gives me PHP and MySQL errors.
So, what version of PHP can I use? I have 5.3.28 on another server, which works.
thanks
Hesk PHP compatibility
Moderator: mkoch227
Re: Hesk PHP compatibility
HESK should work without issues on the latest version of PHP (7.1).
Based on the warnings, it sounds like you don't have a time zone set in your PHP configuration. If you have access to your php.ini file, you should have a line that looks something like this:
If it is blank, it is recommended that you fill this in with a time zone that is closest to your current time zone (you can find the full list at http://php.net/manual/en/timezones.php). If you don't have access to your php.ini file, I'd recommend contacting your hosting provider to have this resolved.
Based on the warnings, it sounds like you don't have a time zone set in your PHP configuration. If you have access to your php.ini file, you should have a line that looks something like this:
Code: Select all
[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone =
Mike, Lead Developer of
HESK: A surprisingly simple, user-friendly and FREE help desk software with integrated knowledgebase.
-
- Posts: 3
- Joined: Wed Sep 27, 2017 10:56 am
Re: Hesk PHP compatibility
Thanks,
That worked actually.
The problem now is this:-
Error: File hesk_settings.inc.php is not writable by PHP.
Make sure PHP has permission to write to file hesk_settings.inc.php
» on Linux servers CHMOD this file to 666 (rw-rw-rw-)
» on Windows servers allow Internet Guest Account to modify the file
» contact your hosting company for help with setting up file permissions.
Error: MySQL is disabled.
HESK requires MySQL to be installed and enabled.
Ask your hosting company to enable MySQL for PHP.
I have set the permissions for IUSR to have full control over the hesk folder AND the PHP folder.
So, not sure what the hell it's talking about there.
Also, I do have MySQL installed and it's running as a service, it's version 5.7 is that compatible?
EDIT: permissions issue temporarily sorted by allowing 'everyone' access to both PHP and Hesk folders, need to find out what that issue is.
Still have the MySQL error occurring, I definitely have MySQL installed and running!!
EDIT: I needed to allow the IIS_ISUSRS user group permissions, not just the IUSR user.
Still have the following though, nearly there!! HELP!! lol:-
Error: MySQL is disabled.
HESK requires MySQL to be installed and enabled.
Ask your hosting company to enable MySQL for PHP.
I manage the server, so I am the hosting company!
That worked actually.
The problem now is this:-
Error: File hesk_settings.inc.php is not writable by PHP.
Make sure PHP has permission to write to file hesk_settings.inc.php
» on Linux servers CHMOD this file to 666 (rw-rw-rw-)
» on Windows servers allow Internet Guest Account to modify the file
» contact your hosting company for help with setting up file permissions.
Error: MySQL is disabled.
HESK requires MySQL to be installed and enabled.
Ask your hosting company to enable MySQL for PHP.
I have set the permissions for IUSR to have full control over the hesk folder AND the PHP folder.
So, not sure what the hell it's talking about there.
Also, I do have MySQL installed and it's running as a service, it's version 5.7 is that compatible?
EDIT: permissions issue temporarily sorted by allowing 'everyone' access to both PHP and Hesk folders, need to find out what that issue is.
Still have the MySQL error occurring, I definitely have MySQL installed and running!!
EDIT: I needed to allow the IIS_ISUSRS user group permissions, not just the IUSR user.
Still have the following though, nearly there!! HELP!! lol:-
Error: MySQL is disabled.
HESK requires MySQL to be installed and enabled.
Ask your hosting company to enable MySQL for PHP.
I manage the server, so I am the hosting company!
Re: Hesk PHP compatibility
It means MySQL (or MySQLi) support isn't enabled in PHP. Make sure you enable it (MySQLi preferably).
https://www.google.com/search?q=php+win ... ble+mysqli
https://www.google.com/search?q=php+win ... ble+mysqli
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
-
- Posts: 3
- Joined: Wed Sep 27, 2017 10:56 am
Re: Hesk PHP compatibility
Hi there,
It turned out I had to point it to the ext/ directory, so my extensionslist in php.ini look like this:-
[ExtensionList]
extension=ext/php_mysql.dll
extension=ext/php_mysqli.dll
extension=ext/php_mbstring.dll
extension=ext/php_gd2.dll
extension=ext/php_gettext.dll
extension=ext/php_curl.dll
extension=ext/php_exif.dll
extension=ext/php_xmlrpc.dll
extension=ext/php_openssl.dll
extension=ext/php_soap.dll
extension=ext/php_pdo_mysql.dll
extension=ext/php_pdo_sqlite.dll
extension=ext/php_imap.dll
extension=ext/php_tidy.dll
extension=ext/php_pdo_sqlsrv.dll
extension=ext/php_sqlsrv.dll
For those who don't know, I didn't actually have php.ini at all, I had to copy the php.ini-production file and rename it to php.ini, then edit php.ini so that it picked up the extensions in the 'ext' directory. It's let me get to the next stage now.
It turned out I had to point it to the ext/ directory, so my extensionslist in php.ini look like this:-
[ExtensionList]
extension=ext/php_mysql.dll
extension=ext/php_mysqli.dll
extension=ext/php_mbstring.dll
extension=ext/php_gd2.dll
extension=ext/php_gettext.dll
extension=ext/php_curl.dll
extension=ext/php_exif.dll
extension=ext/php_xmlrpc.dll
extension=ext/php_openssl.dll
extension=ext/php_soap.dll
extension=ext/php_pdo_mysql.dll
extension=ext/php_pdo_sqlite.dll
extension=ext/php_imap.dll
extension=ext/php_tidy.dll
extension=ext/php_pdo_sqlsrv.dll
extension=ext/php_sqlsrv.dll
For those who don't know, I didn't actually have php.ini at all, I had to copy the php.ini-production file and rename it to php.ini, then edit php.ini so that it picked up the extensions in the 'ext' directory. It's let me get to the next stage now.