Error 500 when attempting to load installation web page [solved]

Need help installing Joomla! 3.x? For all Joomla! 3.x installation issues please use this forum. Note: Users creating new sites can use either version 2.5 or 3.x. Please consider the availability of third-party templates and extensions when deciding which Joomla version to use.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
lawton48
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Tue Feb 27, 2018 4:47 pm

Error 500 when attempting to load installation web page [solved]

Postby lawton48 » Tue Feb 27, 2018 5:12 pm

I've had no luck even getting the installation page to run. Error is 500. phpinfo() works fine so I don't believe php is the issue. Any clues would be appreciated.
==========================
Forum Post Assistant (v1.3.9) : 27th February 2018 wrote:
Basic Environment :: wrote:Joomla! Instance :: Joomla! 3.8.5-Stable (Amani) 6-February-2018
Joomla! Platform :: Joomla Platform 13.1.0-Stable (Curiosity) 24-Apr-2013
Joomla! Configured :: Not Found

Host Configuration :: OS: Linux | OS Version: 4.13.9-300.fc27.x86_64 | Technology: x86_64 | Web Server: Apache/2.4.29 (Fedora) OpenSSL/1.1.0f-fips mod_perl/2.0.10 Perl/v5.26.1 | Encoding: gzip, deflate | Doc Root: --protected-- | System TMP Writable: Yes | Free Disk Space : 21.37 GiB |

PHP Configuration :: Version: 7.1.14 | PHP API: fpm-fcgi | Session Path Writable: Yes | Display Errors: | Error Reporting: 22527 | Log Errors To: /var/log/php-fpm/www-error.log | Last Known Error: | Register Globals: | Magic Quotes: | Safe Mode: | Open Base: | Uploads: 1 | Max. Upload Size: 2M | Max. POST Size: 8M | Max. Input Time: 60 | Max. Execution Time: 30 | Memory Limit: 128M

MySQL Configuration :: Database Credentials incomplete or not available Nothing to display.
Missing credentials detected: Connection Type missing | MySQL Host missing | Table Prefix missing | Database Username missing | Database Password missing |
Detailed Environment :: wrote:PHP Extensions :: Core (7.1.14) | date (7.1.14) | libxml (7.1.14) | openssl (7.1.14) | pcre (7.1.14) | zlib (7.1.14) | filter (7.1.14) | hash (1.0) | Reflection (7.1.14) | SPL (7.1.14) | session (7.1.14) | standard (7.1.14) | cgi-fcgi () | bz2 (7.1.14) | calendar (7.1.14) | ctype (7.1.14) | curl (7.1.14) | exif (7.1.14) | fileinfo (1.0.5) | ftp (7.1.14) | gettext (7.1.14) | iconv (7.1.14) | json (1.5.0) | Phar (2.0.2) | sockets (7.1.14) | tokenizer (7.1.14) | Zend Engine (3.1.0) |
Potential Missing Extensions :: xml | zip | mbstring | mysql | mysqli | mcrypt | suhosin |

Switch User Environment (Experimental) :: PHP CGI: No | Server SU: No | PHP SU: No | Custom SU (LiteSpeed/Cloud/Grid): No
Potential Ownership Issues: Maybe
Folder Permissions :: wrote:Core Folders :: images/ (755) | components/ (755) | modules/ (755) | plugins/ (755) | language/ (755) | templates/ (755) | cache/ (755) | logs/ (---) | tmp/ (755) | administrator/components/ (755) | administrator/modules/ (755) | administrator/language/ (755) | administrator/templates/ (755) | administrator/logs/ (755) |

Elevated Permissions (First 10) ::
Extensions Discovered :: wrote:Components :: SITE :: com_mailto (3.0.0) | com_wrapper (3.0.0) |
Components :: ADMIN :: com_tags (3.1.0) | com_cache (3.0.0) | com_menus (3.0.0) | com_finder (3.0.0) | com_messages (3.0.0) | com_fields (3.7.0) | com_checkin (3.0.0) | com_users (3.0.0) | com_postinstall (3.2.0) | com_content (3.0.0) | com_joomlaupdate (3.6.2) | com_newsfeeds (3.0.0) | com_associations (3.7.0) | com_config (3.0.0) | com_modules (3.0.0) | com_redirect (3.0.0) | com_languages (3.0.0) | com_ajax (3.2.0) | com_installer (3.0.0) | com_admin (3.0.0) | com_categories (3.0.0) | com_contenthistory (3.2.0) | com_banners (3.0.0) | com_login (3.0.0) | com_plugins (3.0.0) | com_search (3.0.0) | com_media (3.0.0) | com_templates (3.0.0) | com_cpanel (3.0.0) |

Modules :: SITE :: mod_tags_similar (3.1.0) | mod_articles_news (3.0.0) | mod_whosonline (3.0.0) | mod_banners (3.0.0) | mod_menu (3.0.0) | mod_languages (3.5.0) | mod_finder (3.0.0) | mod_wrapper (3.0.0) | mod_articles_categories (3.0.0) | mod_articles_category (3.0.0) | mod_breadcrumbs (3.0.0) | mod_articles_latest (3.0.0) | mod_search (3.0.0) | mod_articles_archive (3.0.0) | mod_related_items (3.0.0) | mod_login (3.0.0) | mod_syndicate (3.0.0) | mod_random_image (3.0.0) | mod_users_latest (3.0.0) | mod_tags_popular (3.1.0) | mod_custom (3.0.0) | mod_footer (3.0.0) | mod_articles_popular (3.0.0) | mod_feed (3.0.0) | mod_stats (3.0.0) |
Modules :: ADMIN :: mod_logged (3.0.0) | mod_status (3.0.0) | mod_latest (3.0.0) | mod_menu (3.0.0) | mod_version (3.0.0) | mod_toolbar (3.0.0) | mod_quickicon (3.0.0) | mod_sampledata (3.8.0) | mod_login (3.0.0) | mod_multilangstatus (3.0.0) | mod_title (3.0.0) | mod_popular (3.0.0) | mod_custom (3.0.0) | mod_stats_admin (3.0.0) | mod_feed (3.0.0) | mod_submenu (3.0.0) |

Plugins :: SITE :: plg_editors-xtd_article (3.0.0) | plg_editors-xtd_image (3.0.0) | plg_editors-xtd_readmore (3.0.0) | plg_editors-xtd_fields (3.7.0) | plg_editors-xtd_module (3.5.0) | plg_editors-xtd_pagebreak (3.0.0) | plg_editors-xtd_menu (3.7.0) | plg_extension_joomla (3.0.0) | plg_search_contacts (3.0.0) | plg_search_tags (3.0.0) | plg_search_newsfeeds (3.0.0) | plg_search_categories (3.0.0) | plg_search_content (3.0.0) | plg_fields_checkboxes (3.7.0) | plg_fields_textarea (3.7.0) | plg_fields_usergrouplist (3.7.0) | plg_fields_radio (3.7.0) | plg_fields_user (3.7.0) | plg_fields_text (3.7.0) | plg_fields_integer (3.7.0) | plg_fields_editor (3.7.0) | plg_fields_media (3.7.0) | plg_fields_url (3.7.0) | plg_fields_calendar (3.7.0) | plg_fields_sql (3.7.0) | plg_fields_color (3.7.0) | plg_fields_list (3.7.0) | plg_fields_imagelist (3.7.0) | plg_user_profile (3.0.0) | plg_user_joomla (3.0.0) | plg_user_contactcreator (3.0.0) | plg_authentication_ldap (3.0.0) | plg_authentication_gmail (3.0.0) | plg_authentication_joomla (3.0.0) | plg_authentication_cookie (3.0.0) | plg_twofactorauth_totp (3.2.0) | plg_twofactorauth_yubikey (3.2.0) | plg_finder_contacts (3.0.0) | plg_finder_tags (3.0.0) | plg_finder_newsfeeds (3.0.0) | plg_finder_categories (3.0.0) | plg_finder_content (3.0.0) | plg_captcha_recaptcha (3.4.0) | plg_content_vote (3.0.0) | plg_content_pagenavigation (3.0.0) | plg_content_emailcloak (3.0.0) | plg_content_fields (3.7.0) | plg_content_loadmodule (3.0.0) | plg_content_pagebreak (3.0.0) | plg_content_finder (3.0.0) | plg_content_joomla (3.0.0) | plg_editors_codemirror (5.34.0) | plg_editors_tinymce (4.5.8) | plg_quickicon_joomlaupdate (3.0.0) | plg_quickicon_phpversioncheck (3.7.0) | plg_quickicon_extensionupdate (3.0.0) | plg_system_languagefilter (3.0.0) | plg_system_sef (3.0.0) | plg_system_logout (3.0.0) | plg_system_languagecode (3.0.0) | plg_system_redirect (3.0.0) | plg_system_p3p (3.0.0) | plg_system_log (3.0.0) | plg_system_highlight (3.0.0) | plg_system_fields (3.7.0) | plg_system_stats (3.5.0) | plg_system_remember (3.0.0) | plg_system_updatenotification (3.5.0) | plg_system_cache (3.0.0) | plg_system_debug (3.0.0) | PLG_INSTALLER_URLINSTALLER (3.6.0) | PLG_INSTALLER_FOLDERINSTALLER (3.6.0) | plg_installer_packageinstaller (3.6.0) |
Templates Discovered :: wrote:Templates :: SITE :: protostar (1.0) | beez3 (3.1.0) |
Templates :: ADMIN :: isis (1.0) | hathor (3.0.0) |
Last edited by mandville on Wed Feb 28, 2018 10:17 pm, edited 1 time in total.
Reason: marked solved as per op

frostmakk
Joomla! Intern
Joomla! Intern
Posts: 91
Joined: Sun Dec 28, 2014 9:30 am
Location: Stavanger, Norway

Re: Error 500 when attempting to load installation web page

Postby frostmakk » Tue Feb 27, 2018 6:37 pm

What database connection type are you trying to use?
I cant see any database extensions in the PHP environment.

User avatar
AMurray
Joomla! Virtuoso
Joomla! Virtuoso
Posts: 3614
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: Error 500 when attempting to load installation web page

Postby AMurray » Tue Feb 27, 2018 9:33 pm

Assuming @frostmakk is referring here:

Potential Missing Extensions :: xml | zip | mbstring | mysql | mysqli | mcrypt | suhosin |

Therefore you need to enable mysqli in php.ini. Ask your host concerning that. Probably the others should be enabled too.
Regards,
--------------------------------------------------------------
A Murray
Millennium Falcon - it's the ship that made the Kessel run in less than 12 parsecs! The fastest hunk of junk in the galaxy.

User avatar
AMurray
Joomla! Virtuoso
Joomla! Virtuoso
Posts: 3614
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: Error 500 when attempting to load installation web page

Postby AMurray » Tue Feb 27, 2018 9:34 pm

Just to mention, that if Mysqli is not enabled you wouldn't be able to install any php application that uses a MySQL database so it's not a Joomla issue directly.
Regards,
--------------------------------------------------------------
A Murray
Millennium Falcon - it's the ship that made the Kessel run in less than 12 parsecs! The fastest hunk of junk in the galaxy.

lawton48
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Tue Feb 27, 2018 4:47 pm

Re: Error 500 when attempting to load installation web page

Postby lawton48 » Wed Feb 28, 2018 2:49 pm

That's what I was thinking. In fact, even a simple script that makes a database call fails (though straight php works). All I see in my httpd log is the 500 and nothing in the mysql log so I think the script is failing before it can even make the call.

Running php -m shows that mysqli and mysqlnd are both loaded.
MySQL version is 5.7.21. OS is Fedora 27 and all packages were installed with dnf.

lawton48
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Tue Feb 27, 2018 4:47 pm

Re: Error 500 when attempting to load installation web page

Postby lawton48 » Wed Feb 28, 2018 7:07 pm

I gave up trying to figure out why php -m showed the mysql module but phpinfo did not and blew away the installation and spun up an Ubuntu instance of LAMP. I'm still seeing the error and getting 500.

FPA now shows support for mysqli but not mysql. I think the issue is still something with mysql/php though I thought pulling a LAMP instance would have made this easier...

Forum Post Assistant (v1.3.9) : 28th February 2018 wrote:
Basic Environment :: wrote:Joomla! Instance :: Joomla! 3.8.5-Stable (Amani) 6-February-2018
Joomla! Platform :: Joomla Platform 13.1.0-Stable (Curiosity) 24-Apr-2013
Joomla! Configured :: Not Found

Host Configuration :: OS: Linux | OS Version: 4.4.0-109-generic | Technology: x86_64 | Web Server: Apache/2.4.18 (Ubuntu) | Encoding: gzip, deflate | Doc Root: --protected-- | System TMP Writable: Yes | Free Disk Space : 22.66 GiB |

PHP Configuration :: Version: 7.0.22-0ubuntu0.16.04.1 | PHP API: apache2handler | Session Path Writable: Yes | Display Errors: | Error Reporting: 22527 | Log Errors To: | Last Known Error: | Register Globals: | Magic Quotes: | Safe Mode: | Open Base: | Uploads: 1 | Max. Upload Size: 2M | Max. POST Size: 8M | Max. Input Time: 60 | Max. Execution Time: 30 | Memory Limit: 128M

MySQL Configuration :: Database Credentials incomplete or not available Nothing to display.
Missing credentials detected: Connection Type missing | MySQL Host missing | Table Prefix missing | Database Username missing | Database Password missing |
Detailed Environment :: wrote:PHP Extensions :: Core (7.0.22-0ubuntu0.16.04.1) | date (7.0.22-0ubuntu0.16.04.1) | libxml (7.0.22-0ubuntu0.16.04.1) | openssl (7.0.22-0ubuntu0.16.04.1) | pcre (7.0.22-0ubuntu0.16.04.1) | zlib (7.0.22-0ubuntu0.16.04.1) | filter (7.0.22-0ubuntu0.16.04.1) | hash (1.0) | Reflection (7.0.22-0ubuntu0.16.04.1) | SPL (7.0.22-0ubuntu0.16.04.1) | session (7.0.22-0ubuntu0.16.04.1) | standard (7.0.22-0ubuntu0.16.04.1) | apache2handler () | mysqlnd (mysqlnd 5.0.12-dev - 20150407 - $Id: b5c5906d452ec590732a93b051f3827e02749b83 $) | PDO (7.0.22-0ubuntu0.16.04.1) | apcu (5.1.3) | calendar (7.0.22-0ubuntu0.16.04.1) | ctype (7.0.22-0ubuntu0.16.04.1) | exif (1.4 $Id: 8bdc0c8f27c2c9dd1f7551f1f9fe3ab57a06a4b1 $) | fileinfo (1.0.5) | ftp (7.0.22-0ubuntu0.16.04.1) | gd (7.0.22-0ubuntu0.16.04.1) | gettext (7.0.22-0ubuntu0.16.04.1) | iconv (7.0.22-0ubuntu0.16.04.1) | json (1.4.0) | mysqli (7.0.22-0ubuntu0.16.04.1) | pdo_mysql (7.0.22-0ubuntu0.16.04.1) | Phar (2.0.2) | posix (7.0.22-0ubuntu0.16.04.1) | readline (7.0.22-0ubuntu0.16.04.1) | shmop (7.0.22-0ubuntu0.16.04.1) | sockets (7.0.22-0ubuntu0.16.04.1) | sysvmsg (7.0.22-0ubuntu0.16.04.1) | sysvsem (7.0.22-0ubuntu0.16.04.1) | sysvshm (7.0.22-0ubuntu0.16.04.1) | tokenizer (7.0.22-0ubuntu0.16.04.1) | Zend OPcache (7.0.22-0ubuntu0.16.04.1) | Zend Engine (3.0.0) |
Potential Missing Extensions :: xml | zip | curl | mbstring | mysql | mcrypt | suhosin |
Disabled Functions :: pcntl_alarm | pcntl_fork | pcntl_waitpid | pcntl_wait | pcntl_wifexited | pcntl_wifstopped | pcntl_wifsignaled | pcntl_wifcontinued | pcntl_wexitstatus | pcntl_wtermsig | pcntl_wstopsig | pcntl_signal | pcntl_signal_dispatch | pcntl_get_last_error | pcntl_strerror | pcntl_sigprocmask | pcntl_sigwaitinfo | pcntl_sigtimedwait | pcntl_exec | pcntl_getpriority | pcntl_setpriority | |

Switch User Environment (Experimental) :: PHP CGI: No | Server SU: No | PHP SU: No | Custom SU (LiteSpeed/Cloud/Grid): No
Potential Ownership Issues: Maybe

Apache Modules :: core | mod_so | mod_watchdog | http_core | mod_log_config | mod_logio | mod_version | mod_unixd | mod_access_compat | mod_alias | mod_auth_basic | mod_authn_core | mod_authn_file | mod_authz_core | mod_authz_host | mod_authz_user | mod_autoindex | mod_deflate | mod_dir | mod_env | mod_filter | mod_mime | prefork | mod_negotiation | mod_php7 | mod_setenvif | mod_status | Apache/2.4.18 (Ubuntu) |
Potential Missing Modules :: mod_rewrite | mod_expires | mod_security | mod_evasive | mod_dosevasive | mod_ssl | mod_qos | mod_userdir |
Folder Permissions :: wrote:Core Folders :: images/ (755) | components/ (755) | modules/ (755) | plugins/ (755) | language/ (755) | templates/ (755) | cache/ (755) | logs/ (---) | tmp/ (755) | administrator/components/ (755) | administrator/modules/ (755) | administrator/language/ (755) | administrator/templates/ (755) | administrator/logs/ (755) |

Elevated Permissions (First 10) ::
Extensions Discovered :: wrote:Components :: SITE :: com_mailto (3.0.0) | com_wrapper (3.0.0) |
Components :: ADMIN :: com_users (3.0.0) | com_languages (3.0.0) | com_plugins (3.0.0) | com_installer (3.0.0) | com_cpanel (3.0.0) | com_newsfeeds (3.0.0) | com_checkin (3.0.0) | com_menus (3.0.0) | com_finder (3.0.0) | com_messages (3.0.0) | com_tags (3.1.0) | com_ajax (3.2.0) | com_banners (3.0.0) | com_media (3.0.0) | com_login (3.0.0) | com_templates (3.0.0) | com_modules (3.0.0) | com_redirect (3.0.0) | com_fields (3.7.0) | com_admin (3.0.0) | com_content (3.0.0) | com_contenthistory (3.2.0) | com_associations (3.7.0) | com_categories (3.0.0) | com_joomlaupdate (3.6.2) | com_config (3.0.0) | com_cache (3.0.0) | com_search (3.0.0) | com_postinstall (3.2.0) |

Modules :: SITE :: mod_users_latest (3.0.0) | mod_random_image (3.0.0) | mod_articles_category (3.0.0) | mod_footer (3.0.0) | mod_articles_categories (3.0.0) | mod_articles_popular (3.0.0) | mod_related_items (3.0.0) | mod_wrapper (3.0.0) | mod_articles_latest (3.0.0) | mod_login (3.0.0) | mod_stats (3.0.0) | mod_syndicate (3.0.0) | mod_tags_similar (3.1.0) | mod_languages (3.5.0) | mod_menu (3.0.0) | mod_banners (3.0.0) | mod_articles_archive (3.0.0) | mod_whosonline (3.0.0) | mod_feed (3.0.0) | mod_tags_popular (3.1.0) | mod_search (3.0.0) | mod_finder (3.0.0) | mod_breadcrumbs (3.0.0) | mod_custom (3.0.0) | mod_articles_news (3.0.0) |
Modules :: ADMIN :: mod_submenu (3.0.0) | mod_popular (3.0.0) | mod_multilangstatus (3.0.0) | mod_toolbar (3.0.0) | mod_status (3.0.0) | mod_sampledata (3.8.0) | mod_title (3.0.0) | mod_login (3.0.0) | mod_menu (3.0.0) | mod_quickicon (3.0.0) | mod_feed (3.0.0) | mod_logged (3.0.0) | mod_stats_admin (3.0.0) | mod_version (3.0.0) | mod_latest (3.0.0) | mod_custom (3.0.0) |

Plugins :: SITE :: plg_captcha_recaptcha (3.4.0) | plg_editors-xtd_article (3.0.0) | plg_editors-xtd_readmore (3.0.0) | plg_editors-xtd_menu (3.7.0) | plg_editors-xtd_fields (3.7.0) | plg_editors-xtd_module (3.5.0) | plg_editors-xtd_image (3.0.0) | plg_editors-xtd_pagebreak (3.0.0) | PLG_INSTALLER_URLINSTALLER (3.6.0) | plg_installer_packageinstaller (3.6.0) | PLG_INSTALLER_FOLDERINSTALLER (3.6.0) | plg_content_emailcloak (3.0.0) | plg_content_vote (3.0.0) | plg_content_joomla (3.0.0) | plg_content_fields (3.7.0) | plg_content_finder (3.0.0) | plg_content_loadmodule (3.0.0) | plg_content_pagenavigation (3.0.0) | plg_content_pagebreak (3.0.0) | plg_quickicon_extensionupdate (3.0.0) | plg_quickicon_phpversioncheck (3.7.0) | plg_quickicon_joomlaupdate (3.0.0) | plg_system_highlight (3.0.0) | plg_system_remember (3.0.0) | plg_system_logout (3.0.0) | plg_system_cache (3.0.0) | plg_system_debug (3.0.0) | plg_system_updatenotification (3.5.0) | plg_system_p3p (3.0.0) | plg_system_fields (3.7.0) | plg_system_log (3.0.0) | plg_system_stats (3.5.0) | plg_system_languagefilter (3.0.0) | plg_system_sef (3.0.0) | plg_system_redirect (3.0.0) | plg_system_languagecode (3.0.0) | plg_twofactorauth_yubikey (3.2.0) | plg_twofactorauth_totp (3.2.0) | plg_user_contactcreator (3.0.0) | plg_user_joomla (3.0.0) | plg_user_profile (3.0.0) | plg_extension_joomla (3.0.0) | plg_fields_sql (3.7.0) | plg_fields_checkboxes (3.7.0) | plg_fields_color (3.7.0) | plg_fields_user (3.7.0) | plg_fields_usergrouplist (3.7.0) | plg_fields_calendar (3.7.0) | plg_fields_textarea (3.7.0) | plg_fields_media (3.7.0) | plg_fields_editor (3.7.0) | plg_fields_list (3.7.0) | plg_fields_text (3.7.0) | plg_fields_imagelist (3.7.0) | plg_fields_integer (3.7.0) | plg_fields_url (3.7.0) | plg_fields_radio (3.7.0) | plg_finder_newsfeeds (3.0.0) | plg_finder_contacts (3.0.0) | plg_finder_content (3.0.0) | plg_finder_categories (3.0.0) | plg_finder_tags (3.0.0) | plg_authentication_cookie (3.0.0) | plg_authentication_joomla (3.0.0) | plg_authentication_gmail (3.0.0) | plg_authentication_ldap (3.0.0) | plg_editors_tinymce (4.5.8) | plg_editors_codemirror (5.34.0) | plg_search_newsfeeds (3.0.0) | plg_search_contacts (3.0.0) | plg_search_content (3.0.0) | plg_search_categories (3.0.0) | plg_search_tags (3.0.0) |
Templates Discovered :: wrote:Templates :: SITE :: protostar (1.0) | beez3 (3.1.0) |
Templates :: ADMIN :: hathor (3.0.0) | isis (1.0) |

frostmakk
Joomla! Intern
Joomla! Intern
Posts: 91
Joined: Sun Dec 28, 2014 9:30 am
Location: Stavanger, Norway

Re: Error 500 when attempting to load installation web page

Postby frostmakk » Wed Feb 28, 2018 8:55 pm

FPA now shows support for mysqli but not mysql

mysql connection type is removed in PHP 7 so never mind that.
Use mysqli or pdomysql

lawton48
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Tue Feb 27, 2018 4:47 pm

Re: Error 500 when attempting to load installation web page

Postby lawton48 » Wed Feb 28, 2018 9:28 pm

I finally traced the issue down to mod_rewrite not being loaded in Apache. The solution was

Code: Select all

a2enmod rewrite

Code: Select all

service apache2 restart


Thanks for the help guys!


Return to “Installation Joomla! 3.x”

Who is online

Users browsing this forum: No registered users and 4 guests