not getting install to work

I’m not a total NOOB but not a pro either. Can someone help me. I have tried to change ownership and permissions on the folders etc. but I cant get the install to start. running on a CentOS 6 + cPanel.

Here’s what I get when going to the URL of install

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@kalizoe.com to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

Been through instructions several times. Any help greatly appreciated.

Thanks

Check your logs for more descriptive errors.

What is your version of PHP?

How exactly did you set permissions and ownerships (we might need to check that)?

Make sure you don’t have any .htaccess file restricting access.

First, thank you so much for the response.
Thanks for the quick reply. there is an empty .htaccess file. PHP version is 5.5.35. I changed permissions through ssh as in the instructions.

Maybe remove that .htaccess file, I don’t what effect it has, like that. The SuiteCRM Installer will create an appropriate .htaccess file for you, when it runs correctly.

The permissions on the instructions say this


    sudo chown -R www-data:www-data .
    sudo chmod -R 755 .
    sudo chmod -R 775 cache custom modules themes data upload config_override.php 

but you need to make sure that “www-data:www-data” matches the user and group of your web server user.

If you can please post here the results of this command, given from your SuiteCRM root directory:

ls -al

This will give me a quick glance of your permissions scheme.

the forum will not allow me to attache a file.

here is a log message from suitecrm log file:
Declaration of User::create_new_list_query() should be compatible with SugarBean::create_new_list_query($order_by, $where, $filter = Array, $params = Array, $show_deleted = 0, $join_type = ‘’, $return_array = false, $parentbean = NULL, $singleSelect = false, $ifListForExport = false) in /home/public_html/modules/Users/User.php on line 44

ls - al
-rwxr-xr-x 1 apache apache 2743 Mar 2 2015 acceptDecline.php
drwxrwxr-x 4 apache apache 4096 Mar 11 2015 cache
-rwxr-xr-x 1 apache apache 3590 Mar 2 2015 campaign_tracker.php
-rwxr-xr-x 1 apache apache 2748 Mar 2 2015 campaign_trackerv2.php
drwxr-xr-x 2 apache apache 4096 Jun 29 11:44 cgi-bin
-rwxrwxr-x 1 apache apache 47 Mar 2 2015 config_override.php
-rwxr-xr-x 1 apache apache 8380 Jun 29 11:54 config.php
-rwxr-xr-x 1 apache apache 3922 Mar 2 2015 cron.php
-rwxr-xr-x 1 apache apache 2446 Mar 2 2015 crossdomain.xml
drwxrwxr-x 9 apache apache 4096 Mar 11 2015 custom
drwxrwxr-x 3 apache apache 4096 Mar 11 2015 data
-rwxr-xr-x 1 apache apache 2388 Mar 2 2015 dictionary.php
-rwxr-xr-x 1 apache apache 11578 Mar 2 2015 download.php
-rwxr-xr-x 1 apache apache 2392 Mar 2 2015 emailmandelivery.php
-rwxr-xr-x 1 apache apache 64080 Jun 30 06:52 error_log
drwxr-xr-x 2 apache apache 4096 Mar 11 2015 examples
-rwxr-xr-x 1 apache apache 4912 Mar 2 2015 export.php
-rwxr-xr-x 1 apache apache 718163 Mar 2 2015 files.md5
-rwxr-xr-x 1 apache apache 2903 Mar 2 2015 get_url.php
-rwxr-xr-x 1 apache apache 2811 Mar 2 2015 HandleAjaxCall.php
-rwxr-xr-x 1 apache apache 2371 Mar 2 2015 ical_server.php
-rwxr-xr-x 1 apache apache 2735 Mar 2 2015 image.php
drwxr-xr-x 53 apache apache 4096 May 20 2015 include
-rwxr-xr-x 1 apache apache 2525 Mar 2 2015 index.php
drwxr-xr-x 6 apache apache 4096 Mar 11 2015 install
-rwxr-xr-x 1 apache apache 680 Jun 30 06:52 install.log
-rwxr-xr-x 1 apache apache 24507 Mar 2 2015 install.php
-rwxr-xr-x 1 apache apache 13373 Mar 2 2015 json_server.php
drwxr-xr-x 3 apache apache 4096 Mar 11 2015 jssource
-rwxr-xr-x 1 apache apache 2737 Mar 2 2015 leadCapture.php
-rwxr-xr-x 1 apache apache 34539 Mar 2 2015 LICENSE.txt
drwxr-xr-x 2 apache apache 4096 Mar 11 2015 log4php
-rwxr-xr-x 1 apache apache 2313 Mar 2 2015 log_file_restricted.html
-rwxr-xr-x 1 apache apache 2376 Mar 2 2015 maintenance.php
drwxr-xr-x 2 apache apache 4096 Mar 11 2015 metadata
-rwxr-xr-x 1 apache apache 2298 Mar 2 2015 metagen.php
drwxr-xr-x 8 apache apache 4096 Mar 11 2015 mobile
drwxr-xr-x 3 apache apache 4096 Mar 11 2015 ModuleInstall
drwxrwxr-x 103 apache apache 4096 Mar 11 2015 modules
-rwxr-xr-x 1 apache apache 2890 Mar 2 2015 pdf.php
-rwxr-xr-x 1 apache apache 21 Jun 29 12:05 p.php
-rwxr-xr-x 1 apache apache 2737 Mar 2 2015 removeme.php
-rwxr-xr-x 1 apache apache 73 Mar 2 2015 robots.txt
-rwxr-xr-x 1 apache apache 3588 Mar 2 2015 run_job.php
drwxr-xr-x 11 apache apache 4096 Mar 11 2015 service
drwxr-xr-x 2 apache apache 4096 Mar 11 2015 soap
-rwxr-xr-x 1 apache apache 4091 Mar 2 2015 soap.php
-rwxr-xr-x 1 apache apache 0 Jun 29 11:54 sugarcrm.log
-rwxr-xr-x 1 apache apache 5327 Mar 2 2015 SugarSecurity.php
-rwxr-xr-x 1 apache apache 150 Mar 2 2015 sugar_version.json
-rwxr-xr-x 1 apache apache 2264 Mar 2 2015 sugar_version.php
-rwxr-xr-x 1 apache apache 163 May 20 2015 suitecrm_version.php
drwxrwxr-x 5 apache apache 4096 Mar 11 2015 themes
-rwxr-xr-x 1 apache apache 5843 Mar 2 2015 TreeData.php
drwxrwxr-x 2 apache apache 4096 Mar 11 2015 upload
-rwxr-xr-x 1 apache apache 2707 Mar 2 2015 vcal_server.php
-rwxr-xr-x 1 apache apache 2980 Mar 2 2015 vCard.php
-rwxr-xr-x 1 apache apache 2743 Mar 2 2015 WebToLeadCapture.php
drwxr-xr-x 2 apache apache 4096 Mar 11 2015 XTemplate
drwxr-xr-x 8 apache apache 4096 Mar 11 2015 Zend

I assume your web server user is “apache”.

  1. That suitecrm.log error, is it a warning, is it fatal?

  2. Can you please post the contents of install.log?

  3. Which version of SuiteCRM are you trying to install?

Here is contents of install.log
2017-06-29 18:55:30…installerHook: Could not find custom/install/install_hooks.php
2017-06-29 18:56:03…installerHook: Could not find custom/install/install_hooks.php
2017-06-29 19:03:06…installerHook: Could not find custom/install/install_hooks.php

Suitecrm.log(sugarcrm.log) is empty

Versions I tried are most recent, restoring a version from a back up three months ago and then using the RPM package. Current Version 7.2.2
All of them give exact same errors.

I don’t know exactly what could be wrong.

Can you try upgrading PHP to 7.0? There are many advantages to doing that (performance + security), and it might just solve our problem magically (though it’s far from certain).

ok, in process

hi pgr, wanted to give you an update. after trying unsuccessfully to upgrade php i reprovissioned the server and did the upgrades. using the rpm installer i loaded the 7.22 version and then upgraded. all works.

i really appreciate all of your help. take care.

I’m glad it worked out well in the end!