installing to php 7.2

I’m new to suiteCRM. I want to install it on my I went into my hosting provider’s server.

I went into cPanel and I slected PHP version 7.2 (7.0 wasn’t selectable for some reason).

I noticed that not all of the recommended PHP modules were available from my hosting service.


 apcu	 igbinary	 nd_pdo_mysql	 posix	 timezonedb
 bcmath	 imagick	 newrelic	 propro	 trader
 brotli	 imap	 oauth	 pspell	 uploadprogress
 dba	 inotify	 oci8	 raphf	 uuid
 dbase	 interbase	 odbc	 redis	 vips
 dom	 intl	 opcache	 snmp	 wddx
 eio	 ioncube_loader	 pdo	 soap	 xdebug
 enchant	 json	 pdo_dblib	 sockets	 xmlreader
 fileinfo	 ldap	 pdo_firebird	 sodium	 xmlrpc
 gd	 lzf	 pdo_mysql	 sourceguardian	 xmlwriter
 gender	 mailparse	 pdo_oci	 sqlsrv	 xsl
 geoip	 mbstring	 pdo_odbc	 ssh2	 yaf
 geos	 memcache	 pdo_pgsql	 stats	 yaml
 gmagick	 memcached	 pdo_sqlite	 swoole	 zip
 gnupg	 mongodb	 pdo_sqlsrv	 sysvmsg	 zmq
 grpc	 mysqli	 pgsql	 sysvsem	
 http	 mysqlnd	 phalcon3	 sysvshm	
 i360	 nd_mysqli	 phar	 tidy	

I’m missing the following from the recs list

  • zlib,
  • pcre,
  • curl,
  • sprite
    So when starting install.php via my browser, I got past the agreement on the first page, and then it says “checking environment” but it stalls there and I cannot continue.

I’m not sure what to do next.

Module names sometimes vary from one Linux distro to another, or even from one PHP version to another.

You can get there by approximation, try modules with similar names or google for their correspondence.

This is what I install on Ubuntu with PHP 7.2:

apt install php-mbstring php7.2-mbstring php-gettext php-xml php7.2-zip php7.2-imap php7.2-gd php7.2-curl php-gd phpmyadmin

I don’t control that server. I’m trying to install it on a commercial hosting service.

That list of PHP modules is what the hosting service is limited to.

I might try my personal hosting service and see how I go.

I’d add a screenshot but the “Add File” button in this forum doesn’t work.

Screenshot can go here:

https://pasteboard.co

I get that your hosting just let’s you tick from a list of modules. But that should be enough. Just start ticking: mbstring, zip, etc. Then see if it works.

I tried that.

No dice.

Is there a debug flag in one of the PHP files that I can turn on?

You can try looking in several logs:

install.log
suitecrm.log (which you can set to DEBUG level in Admin / System settings after installation succeeds)
php_errors.log (or errors.log)

The first two are on your SuiteCRM’s root folder.

The other one, which is the one where I hope to find clues, is your web server log, it’s defined in your php.ini.

install.log



2018-09-27 04:35:25...installerHook: Info: custom/install/install_hooks.php not present, no custom hooks to execute
2018-09-27 04:39:06...installerHook: Info: custom/install/install_hooks.php not present, no custom hooks to execute
2018-09-27 04:39:15...installerHook: Info: custom/install/install_hooks.php not present, no custom hooks to execute
2018-09-27 04:42:30...installerHook: Info: custom/install/install_hooks.php not present, no custom hooks to execute
2018-09-27 04:43:19...installerHook: Info: custom/install/install_hooks.php not present, no custom hooks to execute
2018-09-27 04:51:52...installerHook: Info: custom/install/install_hooks.php not present, no custom hooks to execute
2018-09-27 04:52:18...Begin System Check Process *************
2018-09-27 04:52:18...XML Parsing Support Found
2018-09-27 04:52:18...MBString Support Found
2018-09-27 04:52:18...ZIP Support Found
2018-09-27 04:52:18.../custom directory and subdirectory check passed
2018-09-27 04:52:18...cache directory and subdirectory check passed
2018-09-27 04:52:18.../module  directory and subdirectory check passed
2018-09-27 04:52:18.../upload directory check passed
2018-09-27 04:52:18.../zip check passed
2018-09-27 04:52:18...PCRE version check passed
2018-09-27 04:52:18...installerHook: Info: custom/install/install_hooks.php not present, no custom hooks to execute
2018-09-27 04:52:18...php.ini location found. /opt/alt/php72/etc/php.ini
2018-09-27 04:52:18...Outputting HTML for System check
2018-09-27 04:52:18...No Errors were found *************
2018-09-27 04:57:23...installerHook: Info: custom/install/install_hooks.php not present, no custom hooks to execute
2018-09-27 04:57:30...Begin System Check Process *************
2018-09-27 04:57:30...XML Parsing Support Found
2018-09-27 04:57:30...MBString Support Found
2018-09-27 04:57:30...ZIP Support Found
2018-09-27 04:57:30.../custom directory and subdirectory check passed
2018-09-27 04:57:30...cache directory and subdirectory check passed
2018-09-27 04:57:30.../module  directory and subdirectory check passed
2018-09-27 04:57:30.../upload directory check passed
2018-09-27 04:57:30.../zip check passed
2018-09-27 04:57:30...PCRE version check passed
2018-09-27 04:57:30...installerHook: Info: custom/install/install_hooks.php not present, no custom hooks to execute
2018-09-27 04:57:30...php.ini location found. /opt/alt/php72/etc/php.ini
2018-09-27 04:57:30...Outputting HTML for System check
2018-09-27 04:57:30...No Errors were found *************
2018-09-27 04:59:55...Begin System Check Process *************
2018-09-27 04:59:55...XML Parsing Support Found
2018-09-27 04:59:55...MBString Support Found
2018-09-27 04:59:55...ZIP Support Found
2018-09-27 04:59:55.../custom directory and subdirectory check passed
2018-09-27 04:59:55...cache directory and subdirectory check passed
2018-09-27 04:59:55.../module  directory and subdirectory check passed
2018-09-27 04:59:55.../upload directory check passed
2018-09-27 04:59:55.../zip check passed
2018-09-27 04:59:55...PCRE version check passed
2018-09-27 04:59:55...installerHook: Info: custom/install/install_hooks.php not present, no custom hooks to execute
2018-09-27 04:59:55...php.ini location found. /opt/alt/php72/etc/php.ini
2018-09-27 04:59:55...Outputting HTML for System check
2018-09-27 04:59:55...No Errors were found *************
2018-09-27 05:00:03...Begin System Check Process *************
2018-09-27 05:00:03...XML Parsing Support Found
2018-09-27 05:00:03...MBString Support Found
2018-09-27 05:00:03...ZIP Support Found
2018-09-27 05:00:03.../custom directory and subdirectory check passed
2018-09-27 05:00:03...cache directory and subdirectory check passed
2018-09-27 05:00:03.../module  directory and subdirectory check passed
2018-09-27 05:00:03.../upload directory check passed
2018-09-27 05:00:03.../zip check passed
2018-09-27 05:00:03...PCRE version check passed
2018-09-27 05:00:03...installerHook: Info: custom/install/install_hooks.php not present, no custom hooks to execute
2018-09-27 05:00:03...php.ini location found. /opt/alt/php72/etc/php.ini
2018-09-27 05:00:03...Outputting HTML for System check
2018-09-27 05:00:03...No Errors were found *************
2018-09-27 05:09:47...Begin System Check Process *************
2018-09-27 05:09:47...XML Parsing Support Found
2018-09-27 05:09:47...MBString Support Found
2018-09-27 05:09:47...ZIP Support Found
2018-09-27 05:09:47.../custom directory and subdirectory check passed
2018-09-27 05:09:47...cache directory and subdirectory check passed
2018-09-27 05:09:47.../module  directory and subdirectory check passed
2018-09-27 05:09:47.../upload directory check passed
2018-09-27 05:09:47.../zip check passed
2018-09-27 05:09:47...PCRE version check passed
2018-09-27 05:09:47...installerHook: Info: custom/install/install_hooks.php not present, no custom hooks to execute
2018-09-27 05:09:47...php.ini location found. /opt/alt/php72/etc/php.ini
2018-09-27 05:09:47...Outputting HTML for System check
2018-09-27 05:09:47...No Errors were found *************
2018-09-27 13:54:13...installerHook: Info: custom/install/install_hooks.php not present, no custom hooks to execute
2018-09-27 13:54:20...Begin System Check Process *************
2018-09-27 13:54:21...XML Parsing Support Found
2018-09-27 13:54:21...MBString Support Found
2018-09-27 13:54:21...ZIP Support Found
2018-09-27 13:54:21.../custom directory and subdirectory check passed
2018-09-27 13:54:21...cache directory and subdirectory check passed
2018-09-27 13:54:21.../module  directory and subdirectory check passed
2018-09-27 13:54:21.../upload directory check passed
2018-09-27 13:54:21.../zip check passed
2018-09-27 13:54:21...PCRE version check passed
2018-09-27 13:54:21...installerHook: Info: custom/install/install_hooks.php not present, no custom hooks to execute
2018-09-27 13:54:21...php.ini location found. /opt/alt/php72/etc/php.ini
2018-09-27 13:54:21...Outputting HTML for System check
2018-09-27 13:54:21...No Errors were found *************

suitcrm.log is empty

Can’t get web logs for some reason. I click on “errors” in cPanel and it comes up with an empty field where log entries used to appea.

Maybe you can ask your hosting about it. I strongly advise having access to web server log when hosting SuiteCRM, it’s an essential part of troubleshooting.

If a web hosting gives you trouble to get to that basic piece of information, I would just dump that hosting and get another (making sure they give SSH access, by the way - there are plenty which do, even free or cheap ones).

Yeah Im going to try a different hosting provider. The one I use for my personal sites is better.

Failing that. I’ll take any recomendations for a hosting service that you know works and is well supported.

I need to get this thing up and running. We are a new business, and we are about to get very busy. I am the project manager and I want all the infrastructure in one place.

Okay, well I applied PHP 7.2 to my hosting provider and I installed it without a hitch.

Thanks for your help!

Okay, so I have circumvented the problem of not being able to install it at the businesses’ hosting company.

I created a subdomain at the biz hosting company and then I added the new subdomain’s fully qualified domain name as an addon domain at my personal hoster.

Then I went back to the biz hoster and changed the A records to point to my personal hoster.

Where do I update SuitCRM to tell it that it’s living under a new domain name? Does it need to know? I didn’t see anything under SYSTEM SETTINGS

The settings you made during the installation are stored in these two keys of config.php:

host_name
site_url

You can change them from there.

I’ve updated it.

Thanks so much.

I’ll have to go back there when implementing SSL

Hi,

for reference for those installing on FreeBSD from the ports collection:

  • lang/php72
  • textproc/php72-ctype
  • ftp/php72-curl
  • textproc/php72-dom
  • graphics/php72-exif
  • sysutils/php72-fileinfo
  • security/php72-filter
  • graphics/php72-gd
  • security/php72-hash
  • converters/php72-iconv
  • mail/php72-imap
  • devel/php72-json
  • converters/php72-mbstring
  • security/php72-mysqli
  • security/php72-openssl
  • databases/php72-pdo
  • databases/php72-pdo_mysql
  • devel/php72-intl
  • archivers/php72-phar
  • sysutils/php72-posix
  • www/php72-session
  • textproc/php72-simplexml
  • net/php72-soap
  • devel/php72-tokenizer
  • textproc/php72-xml
  • net/php72-xmlrpc
  • archivers/php72-zip
  • archivers/php72-zlib

Portmaster command:

portmaster -d textproc/php72-ctype ftp/php72-curl textproc/php72-dom graphics/php72-exif sysutils/php72-fileinfo security/php72-filter graphics/php72-gd converters/php72-iconv mail/php72-imap devel/php72-json converters/php72-mbstring security/php72-mysqli security/php72-openssl databases/php72-pdo_mysql devel/php72-intl archivers/php72-phar sysutils/php72-posix www/php72-session textproc/php72-simplexml net/php72-soap devel/php72-tokenizer net/php72-xmlrpc archivers/php72-zip archivers/php72-zlib

PS: phar is not required, the list for the FreeBSD ports collection is:

  • lang/php72
  • textproc/php72-ctype
  • ftp/php72-curl
  • textproc/php72-dom
  • graphics/php72-exif
  • sysutils/php72-fileinfo
  • security/php72-filter
  • graphics/php72-gd
  • security/php72-hash
  • converters/php72-iconv
  • mail/php72-imap
  • devel/php72-json
  • converters/php72-mbstring
  • security/php72-mysqli
  • security/php72-openssl
  • databases/php72-pdo
  • databases/php72-pdo_mysql
  • devel/php72-intl
  • sysutils/php72-posix
  • www/php72-session
  • textproc/php72-simplexml
  • net/php72-soap
  • devel/php72-tokenizer
  • textproc/php72-xml
  • net/php72-xmlrpc
  • archivers/php72-zip
  • archivers/php72-zlib

Portmaster command:

portmaster -d textproc/php72-ctype ftp/php72-curl textproc/php72-dom graphics/php72-exif sysutils/php72-fileinfo security/php72-filter graphics/php72-gd security/php72-hash converters/php72-iconv mail/php72-imap devel/php72-json converters/php72-mbstring security/php72-mysqli security/php72-openssl databases/php72-pdo_mysql devel/php72-intl sysutils/php72-posix www/php72-session textproc/php72-simplexml net/php72-soap devel/php72-tokenizer net/php72-xmlrpc archivers/php72-zip archivers/php72-zlib
1 Like