php upgrades on Ubuntu but joomla sees older version Topic is solved
Moderators: General Support Moderators, 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.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
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.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
-
- Joomla! Fledgling
- Posts: 4
- Joined: Fri Sep 18, 2020 5:27 am
php upgrades on Ubuntu but joomla sees older version
Hello,
I have upgraded Joomla via Joomla console interface
and php with apt-get upgrade php. Now I am on newest version. Php7.4.10
I have # 2enconf php7.4-cgi
# php -v tells me the server is running on php v7.4.10
however when I point to phpinfo() via apache2 it shows v7.0
and in Joomla system inf I get
PHP Version 7.0.33-30+ubuntu16.04.1+deb.sury.org+1
Web Server Apache/2.4.29 (Ubuntu)
WebServer to PHP Interface apache2handler
Is my problem in the apache2handler or is there something Im missing?
I have upgraded Joomla via Joomla console interface
and php with apt-get upgrade php. Now I am on newest version. Php7.4.10
I have # 2enconf php7.4-cgi
# php -v tells me the server is running on php v7.4.10
however when I point to phpinfo() via apache2 it shows v7.0
and in Joomla system inf I get
PHP Version 7.0.33-30+ubuntu16.04.1+deb.sury.org+1
Web Server Apache/2.4.29 (Ubuntu)
WebServer to PHP Interface apache2handler
Is my problem in the apache2handler or is there something Im missing?
- AMurray
- Joomla! Champion
- Posts: 6475
- Joined: Sat Feb 13, 2010 7:35 am
- Location: Australia
Re: php upgrades on Ubuntu but joomla sees older version
It seems to me, that the server is recognising PHP 7.4 in one folder but not the Joomla folder.
Can you try adding:
to your.htaccess file, and more specifically, int the.htaccess file located in the folder where Joomla is installed, that is in the default .htaccess file that comes with the Joomla download package.
Once you have done, this run the FPA and post the results to a reply on this thread (see the red box, top of screen for Forum Post Assistant (FPA)). https://forumpostassistant.github.io/docs/. We can then review the system information is presents, and check that it is picking up the correct PHP version.
Can you try adding:
Code: Select all
AddHandler application/x-httpd-php74 .php
Once you have done, this run the FPA and post the results to a reply on this thread (see the red box, top of screen for Forum Post Assistant (FPA)). https://forumpostassistant.github.io/docs/. We can then review the system information is presents, and check that it is picking up the correct PHP version.
Regards,
--------------------------------------------------------------
A Murray
Help you I can, yes!. Post your question, you should. Keep it on topic you must!
Use the Forc....Forum Post Assistant my young Padawan!
--------------------------------------------------------------
A Murray
Help you I can, yes!. Post your question, you should. Keep it on topic you must!
Use the Forc....Forum Post Assistant my young Padawan!
-
- Joomla! Hero
- Posts: 2907
- Joined: Sun May 04, 2008 12:37 pm
Re: php upgrades on Ubuntu but joomla sees older version
You propably installed PHP7.4 next to the 7.0 PHP 7.4 being default will show 74 on -v
The web sites settings need to know you want to use 7.4
If you have some management layer such as plesk or virtualmin there is a setting somewhere else...
there is something in your hosts php.ini file or it uses a symlink to the php ini of the 7.0 version
In centos and debian it is a symlink in home/<site>/etc/
there is a php.ini symlink pointing to the appropriate version. Change that symlink to the correct one
The web sites settings need to know you want to use 7.4
If you have some management layer such as plesk or virtualmin there is a setting somewhere else...
there is something in your hosts php.ini file or it uses a symlink to the php ini of the 7.0 version
In centos and debian it is a symlink in home/<site>/etc/
there is a php.ini symlink pointing to the appropriate version. Change that symlink to the correct one
-
- Joomla! Fledgling
- Posts: 4
- Joined: Fri Sep 18, 2020 5:27 am
Re: php upgrades on Ubuntu but joomla sees older version
Forum Post Assistant (v1.6.1) : 21-Sep-2020 wrote:Basic Environment :: wrote:Joomla! Instance :: Joomla! 3.9.21-Stable (Amani) 25-August-2020
Joomla! Platform :: Joomla Platform 13.1.0-Stable (Curiosity) 24-Apr-2013
Joomla! Configured :: Yes | Read-Only (444) |
Configuration Options :: Offline: false | SEF: false | SEF Suffix: false | SEF ReWrite: false | .htaccess/web.config: No | GZip: false | Cache: false | CacheTime: 15 | CacheHandler: file | CachePlatformPrefix: false | FTP Layer: false | Proxy: false | LiveSite: | Session lifetime: 15 | Session handler: database | Shared sessions: N/A | SSL: 0 | Error Reporting: default | Site Debug: false | Language Debug: false | Default Access: 1 | Unicode Slugs: false | dbConnection Type: mysqli | PHP Supports J! 3.9.21: Yes | Database Supports J! 3.9.21: Yes | Database Credentials Present: Yes |
Host Configuration :: OS: Linux | OS Version: 4.15.0-117-generic | Technology: x86_64 | Web Server: Apache/2.4.29 (Ubuntu) | Encoding: gzip, deflate | System TMP Writable: Yes | Free Disk Space : 192.30 GiB |
PHP Configuration :: Version: 7.0.33-30+ubuntu16.04.1+deb.sury.org+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: | Allow url fopen: 1 | Open Base: | Uploads: 1 | Max. Upload Size: 40M | Max. POST Size: 40M | Max. Input Time: 60 | Max. Execution Time: 30 | Memory Limit: 128M
Database Configuration :: Version: 5.7.31-0ubuntu0.18.04.1 (Client:mysqlnd 5.0.12-dev - 20150407 - $Id: b5c5906d452ec590732a93b051f3827e02749b83 $) | Database Size: 19.62 MiB | #of Tables with config prefix: 147 | #of other Tables: 0 | User Privileges : GRANT ALLDetailed Environment :: wrote:PHP Extensions :: Core (7.0.33-30+ubuntu16.04.1+deb.sury.org+1) | date (7.0.33-30+ubuntu16.04.1+deb.sury.org+1) | libxml (7.0.33-30+ubuntu16.04.1+deb.sury.org+1) | openssl (7.0.33-30+ubuntu16.04.1+deb.sury.org+1) | pcre (7.0.33-30+ubuntu16.04.1+deb.sury.org+1) | zlib (7.0.33-30+ubuntu16.04.1+deb.sury.org+1) | filter (7.0.33-30+ubuntu16.04.1+deb.sury.org+1) | hash (1.0) | Reflection (7.0.33-30+ubuntu16.04.1+deb.sury.org+1) | SPL (7.0.33-30+ubuntu16.04.1+deb.sury.org+1) | session (7.0.33-30+ubuntu16.04.1+deb.sury.org+1) | standard (7.0.33-30+ubuntu16.04.1+deb.sury.org+1) | apache2handler () | mysqlnd (mysqlnd 5.0.12-dev - 20150407 - $Id: b5c5906d452ec590732a93b051f3827e02749b83 $) | PDO (7.0.33-30+ubuntu16.04.1+deb.sury.org+1) | xml (7.0.33-30+ubuntu16.04.1+deb.sury.org+1) | calendar (7.0.33-30+ubuntu16.04.1+deb.sury.org+1) | ctype (7.0.33-30+ubuntu16.04.1+deb.sury.org+1) | dom (20031129) | mbstring (7.0.33-30+ubuntu16.04.1+deb.sury.org+1) | fileinfo (1.0.5) | ftp (7.0.33-30+ubuntu16.04.1+deb.sury.org+1) | gettext (7.0.33-30+ubuntu16.04.1+deb.sury.org+1) | iconv (7.0.33-30+ubuntu16.04.1+deb.sury.org+1) | json (1.4.0) | exif (7.0.33-30+ubuntu16.04.1+deb.sury.org+1) | mcrypt (7.0.33-30+ubuntu16.04.1+deb.sury.org+1) | mysqli (7.0.33-30+ubuntu16.04.1+deb.sury.org+1) | pdo_mysql (7.0.33-30+ubuntu16.04.1+deb.sury.org+1) | Phar (2.0.2) | posix (7.0.33-30+ubuntu16.04.1+deb.sury.org+1) | readline (7.0.33-30+ubuntu16.04.1+deb.sury.org+1) | shmop (7.0.33-30+ubuntu16.04.1+deb.sury.org+1) | SimpleXML (7.0.33-30+ubuntu16.04.1+deb.sury.org+1) | sockets (7.0.33-30+ubuntu16.04.1+deb.sury.org+1) | sysvmsg (7.0.33-30+ubuntu16.04.1+deb.sury.org+1) | sysvsem (7.0.33-30+ubuntu16.04.1+deb.sury.org+1) | sysvshm (7.0.33-30+ubuntu16.04.1+deb.sury.org+1) | tokenizer (7.0.33-30+ubuntu16.04.1+deb.sury.org+1) | wddx (7.0.33-30+ubuntu16.04.1+deb.sury.org+1) | xmlreader (7.0.33-30+ubuntu16.04.1+deb.sury.org+1) | xmlrpc (7.0.33-30+ubuntu16.04.1+deb.sury.org+1) | xmlwriter (7.0.33-30+ubuntu16.04.1+deb.sury.org+1) | xsl (7.0.33-30+ubuntu16.04.1+deb.sury.org+1) | Zend OPcache (7.0.33-30+ubuntu16.04.1+deb.sury.org+1) | Zend Engine (3.0.0) |
Potential Missing Extensions :: zip | curl |
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 :: PHP CGI: No | Server SU: No | PHP SU: 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_reqtimeout | mod_setenvif | mod_status | Apache/2.4.29 (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/ (777) | tmp/ (755) | administrator/components/ (755) | administrator/modules/ (755) | administrator/language/ (755) | administrator/templates/ (755) | administrator/logs/ (777) |
Elevated Permissions (First 10) :: media/k2/ (777) | media/k2/assets/ (777) | media/k2/assets/images/ (777) | media/k2/assets/js/ (777) | media/k2/assets/sounds/ (777) | media/k2/items/ (777) | media/k2/items/cache/ (777) | media/k2/items/src/ (777) | media/k2/users/ (777) | media/k2/videos/ (777) |Database Information :: wrote:Database statistics :: Uptime: 258247 | Threads: 1 | Questions: 10802 | Slow queries: 0 | Opens: 544 | Flush tables: 1 | Open tables: 504 | Queries per second avg: 0.041 |Extensions Discovered :: wrote:Components :: Site ::
Core :: com_wrapper (3.0.0) 1 | com_mailto (3.0.0) 1 |
3rd Party:: WF_LINK_SEARCH_TITLE (2.6.15) ? | WF_FILESYSTEM_JOOMLA_TITLE (2.6.15) ? | WF_POPUPS_JCEMEDIABOX_TITLE (2.6.15) ? | WF_POPUPS_WINDOW_TITLE (2.6.15) ? | WF_AGGREGATOR_VIMEO_TITLE (2.6.15) ? | WF_AGGREGATOR_[youtube]_TITLE (2.6.15) ? | WF_AGGREGATOR_VINE_TITLE (2.6.15) ? | WF_AGGREGATOR_DAILYMOTION_TITLE (2.6.15) ? | WF_LINKS_JOOMLALINKS_TITLE (2.6.15) ? | WF_KITCHENSINK_TITLE (2.6.15) ? | WF_EMOTIONS_TITLE (2.6.15) ? | WF_MEDIA_TITLE (2.6.15) ? | WF_ARTICLE_TITLE (2.6.15) ? | WF_XHTMLXTRAS_TITLE (2.6.15) ? | WF_NONBREAKING_TITLE (2.6.15) ? | WF_FONTSIZESELECT_TITLE (2.6.15) ? | WF_CONTEXTMENU_TITLE (2.6.15) ? | WF_IMGMANAGER_TITLE (2.6.15) ? | WF_VISUALCHARS_TITLE (2.6.15) ? | WF_STYLESELECT_TITLE (2.6.15) ? | WF_TEXTCASE_TITLE (2.6.15) ? | WF_CHARMAP_TITLE (2.6.15) ? | WF_AUTOSAVE_TITLE (2.6.15) ? | WF_ANCHOR_TITLE (2.6.15) ? | WF_LINK_TITLE (2.6.15) ? | WF_CLIPBOARD_TITLE (2.6.15) ? | WF_DIRECTIONALITY_TITLE (2.6.15) ? | WF_BROWSER_TITLE (2.6.15) ? | WF_HR_TITLE (2.6.15) ? | WF_INLINEPOPUPS_TITLE (2.6.15) ? | WF_FONTCOLOR_TITLE (2.6.15) ? | WF_CLEANUP_TITLE (2.6.15) ? | WF_FORMATSELECT_TITLE (2.6.15) ? | WF_PREVIEW_TITLE (2.6.15) ? | WF_LAYER_TITLE (2.6.15) ? | WF_SPELLCHECKER_TITLE (2.6.15) ? | WF_SEARCHREPLACE_TITLE (2.6.15) ? | WF_FULLSCREEN_TITLE (2.6.15) ? | WF_LISTS_TITLE (2.6.15) ? | WF_FONTSELECT_TITLE (2.6.15) ? | WF_PRINT_TITLE (2.6.15) ? | WF_STYLE_TITLE (2.6.15) ? | WF_TABLE_TITLE (2.6.15) ? | WF_VISUALBLOCKS_TITLE (2.6.15) ? | WF_SOURCE_TITLE (2.6.15) ? |
Components :: Admin ::
Core :: com_content (3.0.0) 1 | com_privacy (3.9.0) 1 | com_fields (3.7.0) 1 | com_modules (3.0.0) 1 | com_messages (3.0.0) 1 | com_joomlaupdate (3.6.2) 1 | com_categories (3.0.0) 1 | com_associations (3.7.0) 1 | com_users (3.0.0) 1 | com_login (3.0.0) 1 | com_media (3.0.0) 1 | com_admin (3.0.0) 1 | com_checkin (3.0.0) 1 | com_redirect (3.0.0) 1 | com_plugins (3.0.0) 1 | com_tags (3.1.0) 1 | com_finder (3.0.0) 1 | com_search (3.0.0) 1 | com_config (3.0.0) 1 | com_installer (3.0.0) 1 | com_actionlogs (3.9.0) 1 | com_ajax (3.2.0) 1 | com_banners (3.0.0) 1 | com_newsfeeds (3.0.0) 1 | com_menus (3.0.0) 1 | com_postinstall (3.2.0) 1 | com_cache (3.0.0) 1 | com_cpanel (3.0.0) 1 | com_templates (3.0.0) 1 | com_contenthistory (3.2.0) 1 | com_languages (3.0.0) 1 |
3rd Party:: com_docman (3.0.8) 1 | COM_JCE (2.6.15) 1 | Akeeba (5.4.0) 1 | COM_JEVENTS (3.4.39) 1 | Widgetkit (1.5.9) 1 | AJAX Live Search results (1.0.0) 1 | System - Offlajn Params (1.1.0) ? | System - Offlajn Params (1.1.0) ? | Offlajn Joomla 3.0 compatibility (1.0) 1 | Universal AJAX Live Search (5.4.3) 1 | RokCandy (2.0.2) 1 | COM_IFAQ (3.7.1) 1 | com_rsform (1.52.12) 1 | COM_K2 (2.7.1) 1 | RokSprocket (2.1.21) 1 |
Modules :: Site ::
Core :: mod_login (3.0.0) 1 | mod_users_latest (3.0.0) 1 | mod_feed (3.0.0) 1 | mod_stats (3.0.0) 1 | mod_articles_popular (3.0.0) 1 | mod_whosonline (3.0.0) 1 | mod_languages (3.5.0) 1 | mod_random_image (3.0.0) 1 | mod_custom (3.0.0) 1 | mod_wrapper (3.0.0) 1 | mod_menu (3.0.0) 1 | mod_articles_archive (3.0.0) 1 | mod_articles_latest (3.0.0) 1 | mod_search (3.0.0) 1 | mod_articles_categories (3.0.0) 1 | mod_breadcrumbs (3.0.0) 1 | mod_tags_popular (3.1.0) 1 | mod_tags_similar (3.1.0) 1 | mod_banners (3.0.0) 1 | mod_articles_news (3.0.0) 1 | mod_articles_category (3.0.0) 1 | mod_syndicate (3.0.0) 1 | mod_finder (3.0.0) 1 | mod_footer (3.0.0) 1 | mod_related_items (3.0.0) 1 |
3rd Party:: K2 Comments (2.7.1) 1 | mod_weather_gk4 (1.7.4) 1 | K2 User (2.7.1) 1 | RokSprocket Module (2.1.21) 1 | RokAjaxSearch (2.0.4) 1 | MOD_JEV_CALENDAR_TITLE (3.4.39) 1 | Sliding Universal Currency Converte (1.0) ? | A Simple Hit Counter (1.0.3) 1 | AJAX Live Search results (1.0.0) 1 | MOD_JEV_LEGEND_TITLE (3.4.39) 1 | MOD_JEV_LATEST_EVENTS_TITLE (3.4.39) 1 | MOD_JEV_SWITCH_VIEW_TITLE (3.4.39) 1 | Widgetkit (1.0.0) 1 | K2 Tools (2.7.1) 1 | K2 Users (2.7.1) 1 | Widgetkit Twitter (1.0.0) 1 | IceMegaMenu Module (3.0.1) 1 | MOD_JEV_FILTER_MODULE_TITLE (3.4.39) 1 | S5 Map It with Google (1.6) 1 | K2 Content (2.7.1) 1 | WeatherAholic (1.4.2) 1 | mod_joomlaworldclockmultiple (1.1.0) 1 | mod_docman_categories (3.0.8) 1 | Universal AJAX Live Search (5.4.3) 1 | mod_docman_documents (3.0.8) 1 | MOD_JEV_CUSTOM_MODULE_TITLE (3.4.39) 1 | MOD_IFAQ_SEARCH (3.7.1) 1 | iFAQ (3.7.1) 1 |
Modules :: Admin ::
Core :: mod_version (3.0.0) 1 | mod_latestactions (3.9.0) 1 | mod_multilangstatus (3.0.0) 1 | mod_login (3.0.0) 1 | mod_feed (3.0.0) 1 | mod_sampledata (3.8.0) 1 | mod_privacy_dashboard (3.9.0) 1 | mod_latest (3.0.0) 1 | mod_quickicon (3.0.0) 1 | mod_custom (3.0.0) 1 | mod_menu (3.0.0) 1 | mod_popular (3.0.0) 1 | mod_title (3.0.0) 1 | mod_submenu (3.0.0) 1 | mod_stats_admin (3.0.0) 1 | mod_status (3.0.0) 1 | mod_toolbar (3.0.0) 1 | mod_logged (3.0.0) 1 |
3rd Party:: K2 Quick Icons (admin) (2.7.1) 1 | K2 Stats (admin) (2.7.1) 1 |
Libraries ::
Core ::
3rd Party:: TCPDF (5.9.144) ? | Free Mono (-) ? | Helvetica (-) ? |
Plugins ::
Core :: plg_privacy_message (3.9.0) 1 | plg_privacy_actionlogs (3.9.0) 1 | plg_privacy_user (3.9.0) 1 | plg_privacy_consents (3.9.0) 1 | plg_privacy_content (3.9.0) 1 | plg_quickicon_phpversioncheck (3.7.0) 1 | plg_quickicon_extensionupdate (3.0.0) 1 | plg_quickicon_privacycheck (3.9.0) 1 | plg_quickicon_joomlaupdate (3.0.0) 1 | plg_search_tags (3.0.0) 0 | plg_search_newsfeeds (3.0.0) 0 | plg_search_contacts (3.0.0) 0 | plg_search_content (3.0.0) 0 | plg_search_categories (3.0.0) 0 | PLG_ACTIONLOG_JOOMLA (3.9.0) 1 | plg_system_debug (3.0.0) 1 | plg_system_languagecode (3.0.0) 0 | plg_system_privacyconsent (3.9.0) 0 | plg_system_logrotation (3.9.0) 1 | PLG_SYSTEM_ACTIONLOGS (3.9.0) 0 | plg_system_stats (3.5.0) 1 | plg_system_remember (3.0.0) 1 | plg_system_sessiongc (3.8.6) 1 | plg_system_redirect (3.0.0) 1 | plg_system_logout (3.0.0) 1 | plg_system_log (3.0.0) 1 | plg_system_highlight (3.0.0) 1 | plg_system_languagefilter (3.0.0) 0 | plg_system_updatenotification (3.5.0) 1 | plg_system_fields (3.7.0) 1 | plg_system_p3p (3.0.0) 1 | plg_system_cache (3.0.0) 0 | plg_system_sef (3.0.0) 1 | plg_authentication_cookie (3.0.0) 1 | plg_authentication_gmail (3.0.0) 0 | plg_authentication_joomla (3.0.0) 1 | plg_authentication_ldap (3.0.0) 0 | plg_extension_joomla (3.0.0) 1 | plg_user_profile (3.0.0) 0 | plg_user_contactcreator (3.0.0) 0 | plg_user_terms (3.9.0) 0 | plg_user_joomla (3.0.0) 1 | plg_twofactorauth_totp (3.2.0) 0 | plg_twofactorauth_yubikey (3.2.0) 0 | plg_finder_tags (3.0.0) 0 | plg_finder_newsfeeds (3.0.0) 0 | plg_finder_contacts (3.0.0) 0 | plg_finder_content (3.0.0) 0 | plg_finder_categories (3.0.0) 0 | plg_editors-xtd_article (3.0.0) 1 | plg_editors-xtd_image (3.0.0) 1 | plg_editors-xtd_pagebreak (3.0.0) 1 | plg_editors-xtd_menu (3.7.0) 1 | plg_editors-xtd_module (3.5.0) 1 | plg_editors-xtd_readmore (3.0.0) 1 | plg_editors-xtd_fields (3.7.0) 1 | plg_content_confirmconsent (3.9.0) 0 | plg_content_vote (3.0.0) 1 | plg_content_geshi (3.0.0) 0 | plg_content_pagebreak (3.0.0) 1 | plg_content_finder (3.0.0) 0 | plg_content_pagenavigation (3.0.0) 0 | plg_content_loadmodule (3.0.0) 1 | plg_content_emailcloak (3.0.0) 1 | plg_content_joomla (3.0.0) 1 | plg_content_fields (3.7.0) 1 | plg_fields_media (3.7.0) 1 | plg_fields_url (3.7.0) 1 | plg_fields_list (3.7.0) 1 | plg_fields_radio (3.7.0) 1 | plg_fields_calendar (3.7.0) 1 | plg_fields_color (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_usergrouplist (3.7.0) 1 | plg_fields_user (3.7.0) 1 | plg_fields_editor (3.7.0) 1 | plg_fields_integer (3.7.0) 1 | plg_fields_repeatable (3.9.0) 1 | plg_fields_imagelist (3.7.0) 1 | plg_fields_checkboxes (3.7.0) 1 | PLG_INSTALLER_URLINSTALLER (3.6.0) 1 | PLG_INSTALLER_FOLDERINSTALLER (3.6.0) 1 | plg_installer_packageinstaller (3.6.0) 1 | plg_captcha_recaptcha_invisible (3.8) 0 | plg_captcha_recaptcha (3.4.0) 1 |
3rd Party:: plg_quickicon_jce (2.6.0-pro-bet) 1 | plg_quickicon_akeebabackup (1.0) 1 | Search - K2 (2.7.1) 0 | plg_search_docman (3.0.8) 1 | PLG_JEV_SEARCH_TITLE (3.4.39) 1 | PLG_SYSTEM_BACKUPONUPDATE_TITLE (3.7) 0 | plg_system_jce (2.6.15) 1 | System - RokCommon (3.2.5) 1 | plg_system_joomlatools (3.1.0-beta.3) 1 | System - Widgetkit Joomla (1.0.0) 1 | PLG_SYSTEM_AKEEBAUPDATECHECK_TITLE (1.1) 0 | System - RokCandy (2.0.2) 1 | System - K2 (2.7.1) 1 | PLG_SYSTEM_GWEJSON (3.4.39) 1 | plg_system_scheduler (1.0.0) 1 | System - RokSprocket (2.1.21) 1 | IceMegaMenu Plugin (3.0.0) 1 | System - Widgetkit ZOO (3.1.0) 1 | plg_system_joomlatoolsupdater (1.0.0) 1 | Offlajn Joomla 3.0 compatibility (1.0) 1 | System - Widgetkit (1.0.0) 1 | plg_extension_jce (2.6.15) 1 | User - K2 (2.7.1) 1 | plg_editors_jce (2.6.15) 1 | plg_editors_codemirror (5.56.0) 1 | plg_editors_tinymce (4.5.12) 1 | PLG_FINDER_JEVENTS (3.4.39) 0 | plg_finder_k2 (2.7.1) 0 | plg_finder_docman (3.0.8) 1 | Button - RokCandy (2.0.2) 1 | plg_editors-xtd_doclink (3.0.8) 1 | Editor Button - iFAQ (3.7.1) 1 | Content - RokInjectModule (1.7) 1 | plg_content_jce (2.6.15) 1 | PLG_JEV_CORE_CONTENT_PLUGIN_TITLE (3.4.39) 1 | plg_content_jincludes (1.0) 1 | plg_content_doclink (3.0.8) 1 | Content - iFAQ (3.7.1) 1 | Content - Widgetkit (1.0.0) 1 | plg_installer_jce (2.6.15) 1 | plg_installer_jeventsinstaller (3.4.39) 1 | plg_installer_rsform (1.0.0) 1 | Josetta - K2 Items (2.6.9) 1 | Josetta - K2 Categories (2.6.9) 1 |Templates Discovered :: wrote:Templates :: Site :: fontaine_j3 (2.5.2) 1 | protostar (1.0) 1 | beez3 (3.1.0) 1 |
Templates :: Admin :: hathor (3.0.0) 1 | isis (1.0) 1 |
Last edited by toivo on Mon Sep 21, 2020 8:56 am, edited 1 time in total.
Reason: mod note: disabled smilies in post Options for readability
Reason: mod note: disabled smilies in post Options for readability
-
- Joomla! Hero
- Posts: 2907
- Joined: Sun May 04, 2008 12:37 pm
Re: php upgrades on Ubuntu but joomla sees older version
as mentioned before, check the php.ini (symlink)
and from your FPA, check all folder and file permissions.
I see a lot of 777
folders should be 755, files 644 and configuration.php is to be 444
and from your FPA, check all folder and file permissions.
I see a lot of 777
folders should be 755, files 644 and configuration.php is to be 444
-
- Joomla! Fledgling
- Posts: 4
- Joined: Fri Sep 18, 2020 5:27 am
Re: php upgrades on Ubuntu but joomla sees older version
Thank you waarnemer... I inherited this installation and I guess there is alot to fix. As for the php.ini I dont have a /home/<site>/....
I have references to php in alternatives
/etc/alternatives
lrwxrwxrwx 1 root root 15 Sep 17 17:58 php -> /usr/bin/php7.4
/usr/bin
lrwxrwxrwx 1 root root 21 Jan 23 2017 php -> /etc/alternatives/php
-rwxr-xr-x 1 root root 4667360 Sep 9 09:32 php7.4
and /etc/php/7.0/apache2/php.ini
and /etc/php/7.4/apache2/php.ini
I cannot find the symblink to change to point to the correct php.ini
root@bmsdev:/# locate / php.ini | grep php.ini
/etc/php/7.0/apache2/php.ini
/etc/php/7.0/apache2/php.ini.ucf-dist
/etc/php/7.0/cgi/php.ini
/etc/php/7.0/cli/php.ini
/etc/php/7.3/apache2/php.ini
/etc/php/7.3/cli/php.ini
I have references to php in alternatives
/etc/alternatives
lrwxrwxrwx 1 root root 15 Sep 17 17:58 php -> /usr/bin/php7.4
/usr/bin
lrwxrwxrwx 1 root root 21 Jan 23 2017 php -> /etc/alternatives/php
-rwxr-xr-x 1 root root 4667360 Sep 9 09:32 php7.4
and /etc/php/7.0/apache2/php.ini
and /etc/php/7.4/apache2/php.ini
I cannot find the symblink to change to point to the correct php.ini
root@bmsdev:/# locate / php.ini | grep php.ini
/etc/php/7.0/apache2/php.ini
/etc/php/7.0/apache2/php.ini.ucf-dist
/etc/php/7.0/cgi/php.ini
/etc/php/7.0/cli/php.ini
/etc/php/7.3/apache2/php.ini
/etc/php/7.3/cli/php.ini
-
- Joomla! Fledgling
- Posts: 1
- Joined: Wed Jan 13, 2021 12:19 pm
Re: php upgrades on Ubuntu but joomla sees older version
Hi there, has there been any development with regards to this topic?
We are still struggling for support.
We are still struggling for support.

-
- Joomla! Fledgling
- Posts: 4
- Joined: Fri Sep 18, 2020 5:27 am
Re: php upgrades on Ubuntu but joomla sees older version
Fixed - solved - rectified....
Problem was that apache2 was loading php7.0 although php7.3 installed on ubuntu. php -v reports ver7.3
1.found that /etc/apache2/mods-enabled had a symbolic link php7.0.load -> ../mods-available/php7.load
2. deleted the link.
3.sudo a2dismod php7.0
4. sudo a2enmod php7.3
5. systemctl restart apache2
Fixed.
Cla!
Problem was that apache2 was loading php7.0 although php7.3 installed on ubuntu. php -v reports ver7.3
1.found that /etc/apache2/mods-enabled had a symbolic link php7.0.load -> ../mods-available/php7.load
2. deleted the link.
3.sudo a2dismod php7.0
4. sudo a2enmod php7.3
5. systemctl restart apache2
Fixed.
Cla!