Internal server error after update to PHP 7.3

Need help upgrading your Joomla! website or converting to Joomla! 3.x?

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.
Post Reply
Falcon22
Joomla! Intern
Joomla! Intern
Posts: 58
Joined: Wed Apr 11, 2007 4:16 am

Internal server error after update to PHP 7.3

Post by Falcon22 » Thu Apr 04, 2019 1:02 am

I updated my PHP from 5.x to 7.3 and now i get the INTERNAL SERVER ERROR; here is the results from the FPA: Please tell me how to resolve the internal server error on sailnyc.com
Forum Post Assistant (v1.4.8 (koine)) : 4th April 2019 wrote:
Basic Environment :: wrote:Joomla! Instance :: Joomla! 3.9.4-Stable (Amani) 12-March-2019
Joomla! Platform :: Joomla Platform 13.1.0-Stable (Curiosity) 24-Apr-2013
Joomla! Configured :: Yes | Read-Only (444) | Owner: --protected-- . (uid: 1/gid: 1) | Group: --protected-- (gid: 1) | Valid For: 3.9
Configuration Options :: Offline: false | SEF: true | SEF Suffix: false | SEF ReWrite: true | .htaccess/web.config: Yes | GZip: true | Cache: false | CacheTime: 60 | CacheHandler: file | CachePlatformPrefix: false | FTP Layer: false | Proxy: false | LiveSite: | Session lifetime: 120 | Session handler: database | Shared sessions: false | SSL: 2 | Error Reporting: default | Site Debug: false | Language Debug: false | Default Access: 1 | Unicode Slugs: false | dbConnection Type: mysqli | PHP Supports J! 3.9.4: Yes | Database Supports J! 3.9.4: Yes | Database Credentials Present: Yes |

Host Configuration :: OS: Linux | OS Version: 2.6.32-696.3.1.el6.x86_64 | Technology: x86_64 | Web Server: Apache/2.4.38 (cPanel) OpenSSL/1.0.2r mod_bwlimited/1.4 | Encoding: gzip, deflate | Doc Root: --protected-- | System TMP Writable: Yes | Free Disk Space : 23.94 GiB |

PHP Configuration :: Version: 7.3.3 | PHP API: cgi-fcgi | Session Path Writable: Yes | Display Errors: | Error Reporting: 32759 | Log Errors To: error_log | Last Known Error: 02nd April 2019 21:02:30. | 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: 32M

Database Configuration :: Version: 5.6.41 (Client:mysqlnd 5.0.12-dev - 20150407 - $Id: 7cc7cc96e675f6d72e5cf0f267f48e167c2abb23 $) | Host: --protected-- (--protected--) | default Collation: utf8_general_ci (default Character Set: utf8) | Database Size: 9.03 MiB | #of Tables:  87
Detailed Environment :: wrote:PHP Extensions :: Core (7.3.3) | date (7.3.3) | libxml (7.3.3) | openssl (7.3.3) | pcre (7.3.3) | zlib (7.3.3) | filter (7.3.3) | hash (7.3.3) | pcntl (7.3.3) | readline (7.3.3) | Reflection (7.3.3) | SPL (7.3.3) | session (7.3.3) | standard (7.3.3) | cgi-fcgi () | bcmath (7.3.3) | bz2 (7.3.3) | calendar (7.3.3) | ctype (7.3.3) | curl (7.3.3) | dba (7.3.3) | dom (20031129) | enchant (7.3.3) | mbstring (7.3.3) | fileinfo (7.3.3) | ftp (7.3.3) | gd (7.3.3) | gettext (7.3.3) | gmp (7.3.3) | iconv (7.3.3) | imap (7.3.3) | intl (7.3.3) | json (1.7.0) | ldap (7.3.3) | exif (7.3.3) | mysqlnd (mysqlnd 5.0.12-dev - 20150407 - $Id: 7cc7cc96e675f6d72e5cf0f267f48e167c2abb23 $) | odbc (7.3.3) | PDO (7.3.3) | pgsql (7.3.3) | Phar (7.3.3) | posix (7.3.3) | pspell (7.3.3) | shmop (7.3.3) | SimpleXML (7.3.3) | snmp (7.3.3) | soap (7.3.3) | sockets (7.3.3) | sqlite3 (7.3.3) | sysvmsg (7.3.3) | sysvsem (7.3.3) | sysvshm (7.3.3) | tidy (7.3.3) | tokenizer (7.3.3) | xml (7.3.3) | xmlwriter (7.3.3) | xsl (7.3.3) | zip (1.15.4) | mysqli (7.3.3) | pdo_mysql (7.3.3) | PDO_ODBC (7.3.3) | pdo_pgsql (7.3.3) | pdo_sqlite (7.3.3) | wddx (7.3.3) | xmlreader (7.3.3) | xmlrpc (7.3.3) | Zend OPcache (7.3.3) | Zend Engine (3.3.3) |
Potential Missing Extensions ::

Switch User Environment (Experimental) :: PHP CGI: Yes | Server SU: Yes | PHP SU: Yes | Custom SU (LiteSpeed/Cloud/Grid): Yes
Potential Ownership Issues: No
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) ::
Database Information :: wrote:Database statistics :: Uptime: 100304 | Threads: 3 | Questions: 7524654 | Slow queries: 9 | Opens: 618 | Flush tables: 1 | Open tables: 580 | Queries per second avg: 75.018 |
Extensions Discovered :: wrote:Components :: SITE ::
Core :: com_wrapper (3.0.0) 1 | com_mailto (3.0.0) 1 |
3rd Party::

Components :: ADMIN ::
Core :: com_postinstall (3.2.0) 1 | com_cpanel (3.0.0) 1 | com_users (3.0.0) 1 | com_config (3.0.0) 1 | com_login (3.0.0) 1 | com_joomlaupdate (3.6.2) 1 | com_finder (3.0.0) 1 | com_banners (3.0.0) 1 | com_privacy (3.9.0) 1 | com_installer (3.0.0) 1 | com_checkin (3.0.0) 1 | com_search (3.0.0) 1 | com_messages (3.0.0) 1 | com_actionlogs (3.9.0) 1 | com_admin (3.0.0) 1 | com_categories (3.0.0) 1 | com_associations (3.7.0) 1 | com_modules (3.0.0) 1 | com_plugins (3.0.0) 1 | com_ajax (3.2.0) 1 | com_menus (3.0.0) 1 | com_content (3.0.0) 1 | com_newsfeeds (3.0.0) 1 | com_languages (3.0.0) 1 | com_contenthistory (3.2.0) 1 | com_tags (3.1.0) 1 | com_fields (3.7.0) 1 | com_media (3.0.0) 1 | com_templates (3.0.0) 1 | com_redirect (3.0.0) 1 | com_cache (3.0.0) 1 |
3rd Party:: com_advancedmodules (7.9.4) 1 | COM_FOXCONTACT (3.9.8) 1 | JCH Optimize Pro (5.4.2) 1 | Akeeba (6.4.2.1) 1 |

Modules :: SITE ::
Core :: mod_menu (3.0.0) 1 | mod_tags_similar (3.1.0) 1 | mod_articles_latest (3.0.0) 1 | mod_syndicate (3.0.0) 1 | mod_articles_category (3.0.0) 1 | mod_users_latest (3.0.0) 1 | mod_custom (3.0.0) 1 | mod_articles_popular (3.0.0) 1 | mod_wrapper (3.0.0) 1 | mod_finder (3.0.0) 1 | mod_related_items (3.0.0) 1 | mod_articles_news (3.0.0) 1 | mod_articles_archive (3.0.0) 1 | mod_tags_popular (3.1.0) 1 | mod_whosonline (3.0.0) 1 | mod_banners (3.0.0) 1 | mod_login (3.0.0) 1 | mod_search (3.0.0) 1 | mod_languages (3.5.0) 1 | mod_footer (3.0.0) 1 | mod_stats (3.0.0) 1 | mod_random_image (3.0.0) 1 | mod_articles_categories (3.0.0) 1 | mod_feed (3.0.0) 1 | mod_breadcrumbs (3.0.0) 1 |
3rd Party:: Builder (1.19.1) 1 | MOD_FOXCONTACT (3.9.8) 1 |

Modules :: ADMIN ::
Core :: mod_menu (3.0.0) 1 | mod_submenu (3.0.0) 1 | mod_logged (3.0.0) 1 | mod_stats_admin (3.0.0) 1 | mod_custom (3.0.0) 1 | mod_status (3.0.0) 1 | mod_version (3.0.0) 1 | mod_title (3.0.0) 1 | mod_login (3.0.0) 1 | mod_latestactions (3.9.0) 1 | mod_quickicon (3.0.0) 1 | mod_latest (3.0.0) 1 | mod_toolbar (3.0.0) 1 | mod_privacy_dashboard (3.9.0) 1 | mod_multilangstatus (3.0.0) 1 | mod_popular (3.0.0) 1 | mod_sampledata (3.8.0) 1 | mod_feed (3.0.0) 1 |
3rd Party::

Libraries :: SITE ::
Core ::
3rd Party:: Regular Labs Library (18.12.15489) 1 |

Plugins :: SITE ::
Core :: plg_fields_editor (3.7.0) 1 | plg_fields_imagelist (3.7.0) 1 | plg_fields_repeatable (3.9.0) 1 | plg_fields_media (3.7.0) 1 | plg_fields_color (3.7.0) 1 | plg_fields_usergrouplist (3.7.0) 1 | plg_fields_checkboxes (3.7.0) 1 | plg_fields_textarea (3.7.0) 1 | plg_fields_text (3.7.0) 1 | plg_fields_sql (3.7.0) 1 | plg_fields_integer (3.7.0) 1 | plg_fields_list (3.7.0) 1 | plg_fields_url (3.7.0) 1 | plg_fields_radio (3.7.0) 1 | plg_fields_calendar (3.7.0) 1 | plg_fields_user (3.7.0) 1 | plg_content_confirmconsent (3.9.0) 0 | plg_content_fields (3.7.0) 1 | plg_content_pagenavigation (3.0.0) 1 | plg_content_vote (3.0.0) 1 | plg_content_finder (3.0.0) 0 | plg_content_emailcloak (3.0.0) 1 | plg_content_joomla (3.0.0) 1 | plg_content_pagebreak (3.0.0) 1 | plg_content_loadmodule (3.0.0) 1 | plg_installer_webinstaller (1.1.1) 1 | PLG_INSTALLER_URLINSTALLER (3.6.0) 1 | plg_installer_packageinstaller (3.6.0) 1 | PLG_INSTALLER_FOLDERINSTALLER (3.6.0) 1 | plg_extension_joomla (3.0.0) 1 | PLG_ACTIONLOG_JOOMLA (3.9.0) 1 | plg_search_categories (3.0.0) 1 | plg_search_newsfeeds (3.0.0) 1 | plg_search_content (3.0.0) 1 | plg_search_contacts (3.0.0) 1 | plg_search_tags (3.0.0) 1 | plg_authentication_ldap (3.0.0) 0 | plg_authentication_joomla (3.0.0) 1 | plg_authentication_cookie (3.0.0) 1 | plg_authentication_gmail (3.0.0) 0 | plg_quickicon_joomlaupdate (3.0.0) 1 | plg_quickicon_phpversioncheck (3.7.0) 1 | plg_quickicon_privacycheck (3.9.0) 1 | plg_quickicon_extensionupdate (3.0.0) 1 | plg_captcha_recaptcha (3.4.0) 0 | plg_captcha_recaptcha_invisible (3.8) 0 | plg_finder_categories (3.0.0) 1 | plg_finder_newsfeeds (3.0.0) 1 | plg_finder_content (3.0.0) 1 | plg_finder_contacts (3.0.0) 1 | plg_finder_tags (3.0.0) 1 | plg_twofactorauth_yubikey (3.2.0) 0 | plg_twofactorauth_totp (3.2.0) 0 | plg_editors-xtd_fields (3.7.0) 1 | plg_editors-xtd_menu (3.7.0) 1 | plg_editors-xtd_readmore (3.0.0) 1 | plg_editors-xtd_image (3.0.0) 1 | plg_editors-xtd_pagebreak (3.0.0) 1 | plg_editors-xtd_module (3.5.0) 1 | plg_editors-xtd_article (3.0.0) 1 | plg_user_terms (3.9.0) 0 | plg_user_profile (3.0.0) 0 | plg_user_joomla (3.0.0) 1 | plg_user_contactcreator (3.0.0) 0 | plg_system_cache (3.0.0) 1 | plg_system_languagecode (3.0.0) 0 | plg_system_fields (3.7.0) 1 | plg_system_sef (3.0.0) 1 | plg_system_languagefilter (3.0.0) 0 | plg_system_p3p (3.0.0) 0 | plg_system_logout (3.0.0) 1 | plg_system_sessiongc (3.8.6) 1 | plg_system_log (3.0.0) 1 | plg_system_updatenotification (3.5.0) 1 | PLG_SYSTEM_ACTIONLOGS (3.9.0) 0 | plg_system_debug (3.0.0) 1 | plg_system_highlight (3.0.0) 1 | plg_system_privacyconsent (3.9.0) 0 | plg_system_redirect (3.0.0) 0 | plg_system_stats (3.5.0) 1 | plg_system_logrotation (3.9.0) 1 | plg_system_remember (3.0.0) 1 | plg_privacy_consents (3.9.0) 1 | plg_privacy_content (3.9.0) 1 | plg_privacy_actionlogs (3.9.0) 1 | plg_privacy_user (3.9.0) 1 | plg_privacy_message (3.9.0) 1 |
3rd Party:: plg_content_foxcontact (3.9.8) 1 | Installer - YOOtheme (1.0.3) 1 | plg_editors_tinymce (4.5.9) 1 | plg_editors_codemirror (5.40.0) 1 | plg_actionlog_advancedmodules (7.9.4) 1 | plg_quickicon_akeebabackup (6.4.2.1) 1 | plg_system_regularlabs (18.12.15489) 1 | plg_system_advancedmodules (7.9.4) 1 | System - YOOtheme Framework (1.19.1) 1 | PLG_SYSTEM_JCH_OPTIMIZE (5.4.2) 1 | PLG_SYSTEM_AKEEBAUPDATECHECK (6.4.2.1) 0 | PLG_SYSTEM_AKEEBAACTIONLOG (6.4.2.1) 0 | PLG_SYSTEM_BACKUPONUPDATE (6.4.2.1) 0 |
Templates Discovered :: wrote:Templates :: SITE :: yootheme (1.19.1) 1 | beez3 (3.1.0) 0 | protostar (1.0) 1 |
Templates :: ADMIN :: hathor (3.0.0) 1 | isis (1.0) 1 |
Last edited by toivo on Thu Apr 04, 2019 5:46 am, edited 1 time in total.
Reason: mod note: changed subject to normal case, disabled smilies

Falcon22
Joomla! Intern
Joomla! Intern
Posts: 58
Joined: Wed Apr 11, 2007 4:16 am

Re: INTERNAL SERVER ERROR after update to PHP 7.3

Post by Falcon22 » Thu Apr 04, 2019 1:20 am

I just read my error log and this is the only error from this year:

[02-Apr-2019 21:02:30 UTC] PHP Warning: session_start(): Failed to read session data: user (path: /var/cpanel/php/sessions/ea-php73) in /home/sailnyc/public_html/libraries/joomla/session/handler/native.php on line 260

Falcon22
Joomla! Intern
Joomla! Intern
Posts: 58
Joined: Wed Apr 11, 2007 4:16 am

Re: INTERNAL SERVER ERROR after update to PHP 7.3

Post by Falcon22 » Thu Apr 04, 2019 1:44 am

UPDATE:
When I make PROSTAR the default template the site works; but when I switch back to Yootheme PRO i get the INTERNAL SERVER ERROR

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 25975
Joined: Mon Oct 27, 2008 9:27 pm
Location: Akershus, Norway

Re: Internal server error after update to PHP 7.3

Post by Per Yngve Berg » Thu Apr 04, 2019 7:35 am

Strange the FPA reports Session Path Writable: Yes

In Global Configuration change the Session Handler from 'database' to 'php'. It gives better performance.

Max. Upload Size: 2M | Max. POST Size: 8M

To small to upload a Joomla update or extension. Increase to 32M and 64M

Memory Limit: 32M (Increase to at least 128M)

Your template is not compatible with php 7.3. Get an update.

Raise the Error Report Level to 'maximum' in Global Configuration to see the errors thrown.

Falcon22
Joomla! Intern
Joomla! Intern
Posts: 58
Joined: Wed Apr 11, 2007 4:16 am

Re: Internal server error after update to PHP 7.3

Post by Falcon22 » Thu Apr 04, 2019 2:02 pm

Yngve;
I changed the session handler to PHP and still get the INTERNAL SERVER ERROR

But I do not know where to make the other changes? I have access to WHM and cpanel but where are the settings?
Max. Upload Size: 2M | Max. POST Size: 8M

To small to upload a Joomla update or extension. Increase to 32M and 64M

Memory Limit: 32M (Increase to at least 128M)

Your template is not compatible with php 7.3. Get an update.

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 25975
Joined: Mon Oct 27, 2008 9:27 pm
Location: Akershus, Norway

Re: Internal server error after update to PHP 7.3

Post by Per Yngve Berg » Thu Apr 04, 2019 2:38 pm

They are in php.ini

You can check in Joomla's System->System Info where the loaded php.ini is located.

Falcon22
Joomla! Intern
Joomla! Intern
Posts: 58
Joined: Wed Apr 11, 2007 4:16 am

Re: Internal server error after update to PHP 7.3

Post by Falcon22 » Thu Apr 04, 2019 11:43 pm

Yngve;
Thanks so much I made all the changes you suggested and found the easy way to do it with the WHM MultiPHP INI Editor and now the site is online!

The Joomla! Debug Console is displayed at the bottom of the page; could someone please interpret this for me and advise on other adjustments? the site is sailnyc.com

Thanks so much.

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

Re: Internal server error after update to PHP 7.3

Post by AMurray » Fri Apr 05, 2019 1:08 am

You don't need Debug turned on, so turn it off in Global Config, under the "System" tab. Debug is useful for troubleshooting, but if your site is now working as expected, I don't think any further tweaks are required.

However you could possibly run it through Google PageSpeed (or a similar tool) - https://developers.google.com/speed/pagespeed/insights/ to check and see if it suggests any further tweaks to increase page loading efficiency.
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.

Big_Tom
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Mon Jul 28, 2008 8:51 pm

Re: Internal server error after update to PHP 7.3

Post by Big_Tom » Wed Sep 11, 2019 1:17 pm

You MUST turn PHP-FPM on for PHP 7.3 to work. Without PHP-FPM, you will get the 500 errors.

User avatar
leolam
Joomla! Master
Joomla! Master
Posts: 19667
Joined: Mon Aug 29, 2005 10:17 am
Location: Netherlands/ UK/ S'pore/Jakarta/ North America
Contact:

Re: Internal server error after update to PHP 7.3

Post by leolam » Thu Sep 12, 2019 5:30 pm

Big_Tom wrote:
Wed Sep 11, 2019 1:17 pm
You MUST turn PHP-FPM on for PHP 7.3 to work. Without PHP-FPM, you will get the 500 errors.
That is incorrect info. It is advised to run PHP-FPM but it is not mandatory

Leo 8)
Joomla's #1 Professional Support Provider:
-> Joomla Professional Support: https://gws-desk.com -
-> Joomla Specialized Hosting Solutions: https://gws-host.com -
-> Joomla Webmaster Services: gws-webmaster.services

User avatar
leolam
Joomla! Master
Joomla! Master
Posts: 19667
Joined: Mon Aug 29, 2005 10:17 am
Location: Netherlands/ UK/ S'pore/Jakarta/ North America
Contact:

Re: Internal server error after update to PHP 7.3

Post by leolam » Thu Sep 12, 2019 5:34 pm

Falcon22 wrote:
Thu Apr 04, 2019 11:43 pm
The Joomla! Debug Console is displayed at the bottom of the page; could someone please interpret this for me and advise on other adjustments? the site is sailnyc.com
Andy is correct I am wondering ewhy on earth you have not upgraded to Joomla 3.9.11? Your Joomla version (3.9.6) is vulnerable. Always keep Joomla and extensions up-to-date!

Leo 8)
Joomla's #1 Professional Support Provider:
-> Joomla Professional Support: https://gws-desk.com -
-> Joomla Specialized Hosting Solutions: https://gws-host.com -
-> Joomla Webmaster Services: gws-webmaster.services

User avatar
sozzled
Joomla! Exemplar
Joomla! Exemplar
Posts: 7755
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia
Contact:

Re: Internal server error after update to PHP 7.3

Post by sozzled » Thu Sep 12, 2019 6:12 pm

leolam wrote:
Thu Sep 12, 2019 5:34 pm
Your Joomla version (3.9.6) is vulnerable.
It's worse than that: J! 3.9.4 from the FPA report. That's six months and seven versions old.
https://www.kuneze.com/blog
I need your help to help reduce spam at the Joomla forum. You can help with your ideas, questions and opinions at viewtopic.php?f=7&t=974006. Together we can make a difference :)


Post Reply

Return to “Migrating and Upgrading to Joomla! 3.x”