How to update php on server for Joomla 3.3.6

Need help with the Administration of your Joomla! 3.x site? This is the spot for you.

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.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Locked
ToroLoco
Joomla! Apprentice
Joomla! Apprentice
Posts: 29
Joined: Fri Sep 29, 2006 6:52 am

How to update php on server for Joomla 3.3.6

Post by ToroLoco » Thu Oct 02, 2014 7:40 am

We run a site on a server with php 5.3 and we want to update to version 5.5.
But once we change it from the server the site stops working.

Actually when we change the php version to 5.4 or 5.5 we get a black page both on administrator and live site.

How we can update the php?

We need to make component updates that require php 5.5.

Thank you

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17435
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: How to update php on server for Joomla 3.3.6

Post by toivo » Thu Oct 02, 2014 8:07 am

Actually when we change the php version to 5.4 or 5.5 we get a black page both on administrator and live site.
The details of the error and where it occurred are logged in the PHP error log, if your server has been configured correctly. If you want to get the errors displayed, you can change the variable $error_reporting in the file configuration.php to 'maximum'.

If the extensions with errors are from the Joomla Extension Directory (JED), do they not have a later version?
How we can update the php?
If you mean updating the PHP code, you need to contact someone with PHP skills. You can find people through the Professional Development Services forum at http://forum.joomla.org/viewforum.php?f=177
Toivo Talikka, Global Moderator

ToroLoco
Joomla! Apprentice
Joomla! Apprentice
Posts: 29
Joined: Fri Sep 29, 2006 6:52 am

Re: How to update php on server for Joomla 3.3.6

Post by ToroLoco » Thu Oct 02, 2014 8:34 am

I dont get any errors, only a black page, even if we set if on maximum error reporting. Also the company that holds the server doesn't give us access on the php error logs.

I don't want to change the php code. Joomla 3.3.6 supports php 5.5.
Our server gives us the option to change php from version 4 until 5.5. Now we run with version 5.3 and we want to update to 5.5.
We don't have to change the joomla or php code.

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17435
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: How to update php on server for Joomla 3.3.6

Post by toivo » Thu Oct 02, 2014 10:19 am

Also the company that holds the server doesn't give us access on the php error logs.
If your hosting company is not helpful, you should consider changing hosting providers.
I don't want to change the php code. Joomla 3.3.6 supports php 5.5.
That is the case, but it is perfectly possible that at least one Joomla third party extension you have installed earlier was either not upgraded to a version compatible with Joomla 3.x or has a bug causing a fatal PHP error, which manifests itself as those blank pages both at the front end and at the back end.

Just to double check, the pages you mention are blank - usually white - and not black?
We don't have to change the joomla or php code.
You may have to do that, depending on what exactly causes the blank pages.

Please run the Forum Post Assistant and post the information here because someone may be able to spot an incompatible extension or inconsistency in the configuration: http://forum.joomla.org/viewtopic.php?f=714&t=793531
Toivo Talikka, Global Moderator

ToroLoco
Joomla! Apprentice
Joomla! Apprentice
Posts: 29
Joined: Fri Sep 29, 2006 6:52 am

Re: How to update php on server for Joomla 3.3.6

Post by ToroLoco » Thu Oct 02, 2014 10:59 am

So below are the FPA results.
Forum Post Assistant (v1.2.4) : 2nd October 2014 wrote:
Basic Environment :: wrote:Joomla! Instance :: Joomla! 3.3.6-Stable (Ember) 01-October-2014
Joomla! Platform :: Joomla Platform 13.1.0-Stable (Curiosity) 24-Apr-2013
Joomla! Configured :: Yes | Read-Only (444) | Owner: encamp (uid: 1/gid: 1) | Group: encamp (gid: 1) | Valid For: 3.3
Configuration Options :: Offline: 0 | SEF: 1 | SEF Suffix: 0 | SEF ReWrite: 1 | .htaccess/web.config: Yes | GZip: 0 | Cache: 1 | FTP Layer: 0 | SSL: 0 | Error Reporting: default | Site Debug: 0 | Language Debug: 0 | Default Access: 1 | Unicode Slugs: 0 | Database Credentials Present: Yes

Host Configuration :: OS: Linux | OS Version: 3.2.0-4-amd64 | Technology: x86_64 | Web Server: Apache | Encoding: gzip,deflate | Doc Root: /usr/www/users/encamp/ecamping/newsite/ | System TMP Writable: Yes

PHP Configuration :: Version: 5.3.29 | PHP API: cgi-fcgi | Session Path Writable: Yes | Display Errors: 0 | Error Reporting: 6135 | Log Errors To: | Last Known Error: | Register Globals: 0 | Magic Quotes: 0 | Safe Mode: | Open Base: | Uploads: 1 | Max. Upload Size: 25M | Max. POST Size: 25M | Max. Input Time: -1 | Max. Execution Time: 60 | Memory Limit: 128M

MySQL Configuration :: Version: 5.5.38-0+wheezy1 (Client:5.5.38) | Host: --protected-- (--protected--) | Collation: latin1_swedish_ci (Character Set: latin1) | Database Size: 167.72 MiB | #of Tables:  214
Detailed Environment :: wrote:PHP Extensions :: Core (5.3.29) | date (5.3.29) | ereg () | libxml () | openssl () | pcre () | sqlite3 (0.7-dev) | zlib (1.1) | bcmath () | bz2 () | calendar () | ctype () | curl () | dba () | dom (20031129) | hash (1.0) | fileinfo (1.0.5-dev) | filter (0.11.0) | ftp () | gd () | gettext () | SPL (0.2) | htscanner (0.9.1-dev) | iconv () | session () | intl (1.1.0) | json (1.2.1) | ldap () | mbstring () | mcrypt () | mssql () | mysql (1.0) | mysqli (0.1) | pcntl () | standard (5.3.29) | PDO (1.0.4dev) | pdo_mysql (1.0.2) | pdo_pgsql (1.0.2) | pdo_sqlite (1.0.1) | pgsql () | apc (3.1.7) | posix () | Reflection ($Id: 4af6c4c676864b1c0bfa693845af0688645c37cf $) | imap () | shmop () | SimpleXML (0.1) | soap () | sockets () | SQLite (2.0-dev) | exif (1.4 $Id$) | sysvsem () | sysvshm () | tidy (2.0) | tokenizer (0.1) | xml () | xmlreader (0.1) | xmlrpc (0.51) | xmlwriter (0.1) | xsl (0.1) | zip (1.11.0) | cgi-fcgi () | Phar (2.0.1) | mhash () | ionCube Loader () | Zend Guard Loader () | Zend Engine (2.3.0) |
Potential Missing Extensions :: suhosin |

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/ (755) | tmp/ (755) | administrator/components/ (755) | administrator/modules/ (755) | administrator/language/ (755) | administrator/templates/ (755) |

Elevated Permissions (First 10) :: mobiquo/ (775) | mobiquo/appExtt/ (775) | mobiquo/custom/ (775) | mobiquo/mbqAction/ (775) | mobiquo/mbqAdvAction/ (775) | mobiquo/mbqFrame/ (775) | mobiquo/mbqFrame/io/ (775) | mobiquo/mbqFrame/io/handle/ (775) | mobiquo/push/ (775) | mobiquo/smartbanner/ (775) |
Extensions Discovered :: wrote:Components :: SITE :: com_wrapper (3.0.0) | Default (3.2.0.7) | JReviews Totals Module (2.4) | JReviews Directories Module (2.4) | JReviews Media Module (2.4) | JReviews Favorite Users Module (2.4) | JReviews Range Module (2.4) | JReviews Listings Module (2.4) | JReviews Advanced Search Modul (2.4) | JReviews Reviews Module (2.4) | JReviews Fields Module (2.4) | JReviews Activity Stream (1.0.1) | JReviews Activity Stream (2.4) | System - JReviews Add-on Menus (1.0.0) | System - JReviews SEF (1.1.1) | JReviews (2.3.16) | JReviews Activity Stream (1.0.1) | com_mailto (3.0.0) | JReviews GeoMaps Module (2.3) |
Components :: ADMIN :: com_search (3.0.0) | com_users (3.0.0) | com_admin (3.0.0) | com_weblinks (3.0.0) | com_cache (3.0.0) | com_tags (3.1.0) | Community (3.2.0.7) | Community (3.2.0.7) | com_cpanel (3.0.0) | com_content (3.0.0) | com_login (3.0.0) | com_plugins (3.0.0) | com_newsfeeds (3.0.0) | com_checkin (3.0.0) | com_kunena (3.0.5) | mod_kunenamenu (3.0.5) | plg_kunena_uddeim (3.0.5) | plg_kunena_kunena (3.0.5) | plg_kunena_comprofiler (3.0.5) | plg_finder_kunena (3.0.5) | plg_kunena_joomla (3.0.5) | plg_kunena_gravatar (3.0.5) | plg_kunena_community (3.0.5) | plg_kunena_finder (3.0.5) | plg_kunena_alphauserpoints (3.0.5) | plg_system_kunena (-) | com_messages (3.0.0) | com_redirect (3.0.0) | com_menus (3.0.0) | mod_k2_comments (-) | mod_k2_comments (-) | COM_K2 (2.6.8) | com_categories (3.0.0) | com_languages (3.0.0) | com_joomlaupdate (3.0.0) | com_contenthistory (3.2.0) | com_finder (3.0.0) | com_installer (3.0.0) | com_banners (3.0.0) | com_templates (3.0.0) | com_media (3.0.0) | com_ajax (3.2.0) | AcyMailing table of contents g (1.0.0) | AcyMailing Module (3.7.0) | AcyMailing Tag : Subscriber in (4.8.0) | AcyMailing Tag : CB User infor (3.7.0) | AcyMailing Manage text (1.0.0) | AcyMailing Tag : Joomla User I (4.8.0) | AcyMailing : (auto)Subscribe d (4.8.0) | AcyMailing : share on social n (1.0.0) | AcyMailing : Statistics Plugin (3.7.0) | AcyMailing Tag : Website links (3.7.0) | AcyMailing Tag : content inser (3.7.0) | AcyMailing Template Class Repl (4.8.0) | AcyMailing Tag : Manage the Su (4.8.0) | AcyMailing Editor (beta) (4.8.0) | AcyMailing : trigger Joomla Co (3.7.0) | AcyMailing Tag : Date / Time (4.8.0) | AcyMailing (4.5.1) | AcyMailing (4.8.0) | com_postinstall (3.2.0) | com_modules (3.0.0) | com_s2framework (1.5.7.6) | com_s2framework (1.5.11.2) | com_s2framework (1.5.9.3) | Quick Logout (1.8.0) | com_jaextmanager (2.5.3) | com_jaextmanager (2.5.3) | com_jreviews (2.4.15.3) | com_jreviews (2.4.9.1) | com_config (3.0.0) | eXtplorer (2.1.5) |

Modules :: SITE :: Community - Activity Stream (3.2.0.7) | mod_finder (3.0.0) | mod_languages (3.0.0) | mod_footer (3.0.0) | mod_tags_similar (3.1.0) | mod_banners (3.0.0) | AcyMailing Module (3.7.0) | Community - Active Groups (3.2.0.7) | mod_tags_popular (3.1.0) | Community - Jomsocial Notifica (3.2.0.7) | mod_articles_archive (3.0.0) | JA Slideshow Lite (1.1.3) | Community - Quick Search Modul (3.2.0.7) | Community - Hello Me (3.2.0.7) | News Show Pro GK5 (1.3.1) | Community - Videos Module (3.2.0.7) | Community - Photo Comments (3.2.0.7) | JReviews Totals Module (2.4) | mod_wrapper (3.0.0) | Community - Online Users (3.2.1_sprint_) | JReviews Directories Module (2.4) | JA Content Slider (2.6.0) | Community - Upcoming Events (3.2.1_sprint_) | JReviews Media Module (2.4) | JReviews Favorite Users Module (2.4) | JReviews GeoMaps Module (2.3) | mod_whosonline (3.0.0) | mod_articles_category (3.0.0) | Community - Events Module (3.2.0.7) | Perfect Facebook Like Box Side (1.0.3) | mod_syndicate (3.0.0) | mod_menu (3.0.0) | mod_feed (3.0.0) | GK JomSocial Feed (1.0.2) | mod_articles_news (3.0.0) | mod_breadcrumbs (3.0.0) | Community - JomSocial Facebook (3.2.1_sprint_) | Nurte Facebook Activity Feed (1.0.0.0) | JA Side News (2.5.8) | Jomsocial Photos Module Extend (1.1) | mod_users_latest (3.0.0) | mod_weblinks (3.0.0) | Community - Latest Members (3.2.1_sprint_) | Community - JomSocial Menu (3.2.1_sprint_) | JReviews Range Module (2.4) | Community - Latest group posts (3.2.0.7) | Community - Whos Online (3.2.0.7) | JS Knu_OnlineUsers (2.6.5) | MJ-Menu (1.0 stable) | Community - Top Members (3.2.0.7) | Community - Dating Search (3.2.0.7) | mod_custom (3.0.0) | mod_articles_categories (3.0.0) | Community - Photos Module (3.2.0.7) | JReviews Listings Module (2.4) | mod_random_image (3.0.0) | JReviews Advanced Search Modul (2.4) | Jomsocial Groups Module Extend (1.7.2) | mod_search (3.0.0) | mod_articles_popular (3.0.0) | Community - Latest Discussion (3.2.0.7) | Community - JomSocial Facebook (3.2.1_sprint_) | Community - Video Comments (3.2.0.7) | K2 Comments (2.6.8) | Community - JomSocial Connect (3.2.0.7) | Community - JomSocial Statisti (3.2.0.7) | Jpanel (0.5) | JA Twitter Module (2.5.3) | Community - Members Module (3.2.0.7) | mod_kunenasearch (3.0.1) | Community - Groups Module (3.2.0.7) | Knu JS Community Menue Everywh (2.6.4) | K2 Content (2.6.8) | mod_kunenalatest (3.0.1) | K2 Users (2.6.8) | BuaXua Floating Module (2.5.0v1) | mod_related_items (3.0.0) | mod_stats (3.0.0) | JReviews Reviews Module (2.4) | YJ Pop Login (1.0.2) | mod_login (3.0.0) | K2 User (2.6.8) | K2 Tools (2.6.8) | JReviews Fields Module (2.4) | Jomsocial Module Everywhere (3.2.1_sprint_) | Community - JomSocial Facebook (3.2.1_sprint_) | mod_articles_latest (3.0.0) |
Modules :: ADMIN :: mod_stats_admin (3.0.0) | mod_status (3.0.0) | mod_popular (3.0.0) | mod_submenu (3.0.0) | mod_menu (3.0.0) | mod_feed (3.0.0) | mod_multilangstatus (3.0.0) | mod_title (3.0.0) | K2 Quick Icons (admin) (2.6.8) | mod_logged (3.0.0) | mod_custom (3.0.0) | mod_toolbar (3.0.0) | mod_version (3.0.0) | K2 Stats (admin) (2.6.8) | mod_quickicon (3.0.0) | mod_latest (3.0.0) | mod_login (3.0.0) |

Plugins :: SITE :: plg_twofactorauth_totp (3.2.0) | plg_twofactorauth_yubikey (3.2.0) | K2 - Jomsocial Integration (2.5.2) | plg_finder_k2 (2.6.8) | plg_finder_weblinks (3.0.0) | plg_finder_contacts (3.0.0) | plg_finder_categories (3.0.0) | plg_finder_content (3.0.0) | plg_finder_newsfeeds (3.0.0) | plg_finder_tags (3.0.0) | Unknown (-) | PLG_EVENTS_TITLE (3.2.0.7) | PLG_INVITE_TITLE (3.2.0.7) | PLG_INPUT_TITLE (3.2.0.7) | PLG_EDITORMYPHOTO_TITLE (3.2.1_sprint_) | PLG_MYVIDEOS_TITLE (3.2.0.7) | Unknown (-) | PLG_FEEDS_TITLE (3.2.0.7) | Unknown (-) | PLG_MYARTICLES_TITLE (3.2.0.7) | Community - Groups (3.2.1_sprint_) | PLG_WORDFILTER_TITLE (3.2.0.7) | PLG_LOG_TITLE (3.2.1_sprint_) | PLG_INPUTLINK_TITLE (3.2.1_sprint_) | Community - Jomsocial Note (3.2.1_sprint_) | My Reviews (2.4) | Community - iContact (3.2.1_sprint_) | My Forum Posts (2.0.3) | PLG_COMMUNITY_MYKUNENA_TITLE (3.2.1_sprint_) | Unknown (-) | PLG_TWITTER_XML_TITLE (3.2.0.7) | My Forum Menu (3.2.1_sprint_) | PLG_MYTAGGEDVIDEOS_TITLE (3.2.0.7) | Unknown (-) | PLG_FRIENDSLOCATION_TITLE (3.2.0.7) | PLG_NICETALK_TITLE (3.2.1_sprint_) | PLG_SYSTEM_XML_TITLE (3.2.1_sprint_) | Kunena Groups (3.2.1_sprint_) | My Favorites (2.4) | PLG_MYCONTACTS_TITLE (3.2.0.7) | Unknown (-) | PLG_MYBLOG_TOOLBAR_TITLE (3.2.1_sprint_) | PLG_MYBLOG_TITLE (3.2.1_sprint_) | JReviews Activity Stream (2.4) | PLG_KUNENA_TITLE (3.2.0.7) | PLG_ALLVIDEO_TITLE (3.2.1_sprint_) | My Listings (2.4) | PLG_LATESTPHOTO_TITLE (3.2.0.7) | Unknown (-) | PLG_MYGOOGLEADS_TITLE (3.2.0.7) | Unknown (-) | PLG_WALLS_TITLE (3.2.0.7) | User - K2 (2.6.8) | Register Activity (3.2.1_sprint_) | plg_user_profile (3.0.0) | plg_user_joomla (3.0.0) | K2 - Jomsocial User Integratio (1.7.1) | plg_user_contactcreator (3.0.0) | User - Jomsocial User (3.2.0.7) | plg_quickicon_joomlaupdate (3.0.0) | plg_quickicon_extensionupdate (3.0.0) | plg_quickicon_kunena (3.0.5) | Search - K2 (2.6.8) | plg_search_weblinks (3.0.0) | plg_search_contacts (3.0.0) | plg_search_categories (3.0.0) | plg_search_content (3.0.0) | plg_search_newsfeeds (3.0.0) | plg_search_tags (3.0.0) | plg_installer_webinstaller (1.0.5) | plg_extension_joomla (3.0.0) | AcyMailing Template Class Repl (4.8.0) | AcyMailing : Statistics Plugin (3.7.0) | AcyMailing Manage text (1.0.0) | AcyMailing Tag : content inser (3.7.0) | AcyMailing Tag : Website links (3.7.0) | AcyMailing : trigger Joomla Co (3.7.0) | AcyMailing table of contents g (1.0.0) | AcyMailing : share on social n (1.0.0) | AcyMailing Tag : CB User infor (3.7.0) | AcyMailing Tag : Manage the Su (4.8.0) | AcyMailing Tag : Subscriber in (4.8.0) | AcyMailing Tag : Date / Time (4.8.0) | AcyMailing Tag : Joomla User I (4.8.0) | Authentication - Facebook (GK4 1.2) | plg_authentication_gmail (3.0.0) | plg_authentication_joomla (3.0.0) | plg_authentication_cookie (3.0.0) | plg_authentication_ldap (3.0.0) | AcyMailing Editor (beta) (4.8.0) | plg_editors_tinymce (4.1.2) | plg_editors_codemirror (3.15) | plg_captcha_recaptcha (3.0.0) | plg_system_remember (3.0.0) | GK Module Title Links (1.0) | PLG_JSCSSCONTROL (2.5-4) | System - jQuery Easy (1.5.5) | plg_system_sef (3.0.0) | plg_system_debug (3.0.0) | System - JomSocial Plugin (3.2.1_sprint_) | plg_system_redirect (3.0.0) | System - K2 (2.6.8) | PLG_SYSTEM_MODULESANYWHERE (3.5.2FREE) | Tapatalk Kunena Plugin (kn30_1.1.5) | AcyMailing : (auto)Subscribe d (4.8.0) | plg_system_cache (3.0.0) | Kunena Social Share (2.5.2) | plg_system_logout (3.0.0) | plg_system_log (3.0.0) | System - Jomsocial Redirect (3.2.0.7) | plg_system_highlight (3.0.0) | Incomplete profile - Jomsocial (3.2.1_sprint_) | Shadowbox Media Viewer (4.0) | Jomsocial Update (3.2.0.7) | System - Jomsocial Facebook Co (3.2.0.7) | plg_system_languagecode (3.0.0) | Azrul System Mambot For Joomla (3.2.0.7) | PLG_SYSTEM_NNFRAMEWORK (14.10.1) | System - JReviews Add-on Menus (1.0.0) | GK Menu Extended Parameters (1.0) | plg_system_p3p (3.0.0) | plg_system_kunena (3.0.5) | plg_system_languagefilter (3.0.0) | System - GK Cache (1.0) | plg_system_n3tcopylink (1.0.2) | System - JReviews SEF (1.1.1) | plg_content_pagebreak (3.0.0) | Content - JomSocial Facebook C (3.2.1_sprint_) | Content - JomSocial Facebook L (3.2.1_sprint_) | plg_content_finder (3.0.0) | Simple Image Gallery Pro (by J (2.5.7) | plg_content_emailcloak (3.0.0) | Content - Group Discussion (3.2.1_sprint_) | AllVideos (by JoomlaWorks) (4.4) | JoomlaXTC Modal plugin (1.0.1) | Content - Simple Pop-Up (0.1.1) | Simple Image Gallery (by Jooml (2.2) | plg_content_joomla (3.0.0) | JReviews (2.3.16) | plg_content_vote (3.0.0) | plg_content_phoca_open_graph (3.0.0) | plg_content_pagenavigation (3.0.0) | plg_content_loadmodule (3.0.0) | Simple Image Gallery (by Jooml (3.0.0) | Simple Image Gallery (by Jooml (3.0.0) | plg_content_geshi (2.5.0) | plg_kunena_uddeim (3.0.5) | plg_kunena_community (3.2.1_sprint_) | plg_kunena_alphauserpoints (3.0.5) | plg_kunena_joomla (3.0.5) | plg_kunena_gravatar (3.0.5) | plg_kunena_kunena (3.0.5) | plg_kunena_comprofiler (3.0.5) | Josetta - K2 Items (2.6.8) | Josetta - K2 Categories (2.6.8) | plg_editors-xtd_pagebreak (3.0.0) | Editor Button - My Photos (3.2.1_sprint_) | PLG_EDITORS-XTD_MODULESANYWHER (3.5.2FREE) | plg_editors-xtd_article (3.0.0) | plg_editors-xtd_image (3.0.0) | plg_editors-xtd_readmore (3.0.0) | Button - GK Typography (1.0.3) |
Templates Discovered :: wrote:Templates :: SITE :: gk_musicstate (3.11.1js) | Default (3.2) | JA_Mero (1.0.0) | gk_musicstate (3.11.1js) | Default (3.2) | beez3 (3.1.0) | atomic (2.5.0) | beez5 (2.5.0) | beez_20 (2.5.0) | gk_musicstate (3.11) | Default (3.0.5.1) | gk_appsite (2.15) | protostar (1.0) | gk_musicstate (3.11) | Default (3.0.5.1) |
Templates :: ADMIN :: hathor (3.0.0) | bluestork (2.5.0) | isis (1.0) |

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17435
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: How to update php on server for Joomla 3.3.6

Post by toivo » Thu Oct 02, 2014 12:07 pm

At least the plugin plg_content_geshi is a left-over from Joomla 2.5 and there may be others, too.

You need to turn on the error reporting, as explained, to find out which extension causes the PHP fatal error.
Toivo Talikka, Global Moderator

ToroLoco
Joomla! Apprentice
Joomla! Apprentice
Posts: 29
Joined: Fri Sep 29, 2006 6:52 am

Re: How to update php on server for Joomla 3.3.6

Post by ToroLoco » Wed Oct 22, 2014 11:20 am

I have uninstalled geshi and put the error reporting on maximum and I got below error:

Fatal error: Allowed memory size of 262144 bytes exhausted (tried to allocate 12288 bytes) in /includes/framework.php on line 37

Which doesn't make sence since the size that tries to allocate is smaller that the allowed memory size.

Any help with this?

ToroLoco
Joomla! Apprentice
Joomla! Apprentice
Posts: 29
Joined: Fri Sep 29, 2006 6:52 am

Re: How to update php on server for Joomla 3.3.6

Post by ToroLoco » Thu Oct 30, 2014 7:41 am

Any help on this?
We need to install new software but it requires php 5.4 or 5.5

coding1
I've been banned!
Posts: 340
Joined: Mon Oct 20, 2014 10:42 am

Re: How to update php on server for Joomla 3.3.6

Post by coding1 » Thu Oct 30, 2014 8:24 am

you can copy one file php.ini in root folder. Then put attribute for php version and memory_limit.

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17435
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: How to update php on server for Joomla 3.3.6

Post by toivo » Thu Oct 30, 2014 10:31 am

Which doesn't make sence since the size that tries to allocate is smaller that the allowed memory size.
It makes perfect sense. The memory is full to the maximum limit and the request to allocate 12288 bytes cannot be fulfilled by PHP. That is why the error is reported.

You will find this line in the php.ini file:

Code: Select all

memory_limit = 256M
The maximum memory limit is 256 megabytes or 262144 bytes. Unless you identify the component or plugin which causes the limit to be exceeded in one PHP session, you will need to increase the limit.

There are ways, as suggested, to add a php.ini file to your Joomla folder and increase the limit that way. Do a search in these forums and you will find some advice.
Toivo Talikka, Global Moderator

ToroLoco
Joomla! Apprentice
Joomla! Apprentice
Posts: 29
Joined: Fri Sep 29, 2006 6:52 am

Re: How to update php on server for Joomla 3.3.6

Post by ToroLoco » Fri Oct 31, 2014 11:22 am

I have a php.ini and put the limit to 512Mb, but still I get the same error.
I also put it on .htaccess but still no luck...
:(

User avatar
naseemj2
Joomla! Apprentice
Joomla! Apprentice
Posts: 14
Joined: Fri Dec 18, 2009 3:25 am
Location: Canada
Contact:

Re: How to update php on server for Joomla 3.3.6

Post by naseemj2 » Fri Dec 26, 2014 4:51 am

In the Current working directory
Place your php.ini in the same directory as the php executable.
If php executable is here: /web/user1/public_html/cgi-bin/
then place your php.ini file here: /web/user1/public_html/cgi-bin/php.ini

File structure from ROOT directory
|-- site1.com
| `-- htdocs
| | |-- cgi-bin
| | | `-- dl.cgi
| | `-- index.html
| |-- phpsessions
| |-- php.ini
| `-- .htaccess
|-- site2.org
| `-- htdocs
| | |-- cgi-bin
| | | `-- dl.cgi
| | `-- index.html
| |-- phpsessions
| |-- php.ini
| `-- .htaccess
`-- site3.net
`-- htdocs
| |-- cgi-bin
| | `-- dl.cgi
| `-- index.html
|-- phpsession
|-- php.ini
`-- .htaccess

To see your version PHP first check here. Create file name version.php and paste following code into and put file in your domain example YourDomain.com/version.php

Code: Select all

<?
echo PHP_VERSION;
?>

RedEye
Joomla! Ace
Joomla! Ace
Posts: 1460
Joined: Sat Jan 21, 2006 8:42 pm

Re: How to update php on server for Joomla 3.3.6

Post by RedEye » Sun Dec 28, 2014 4:24 am

ToroLoco wrote:I have a php.ini and put the limit to 512Mb, but still I get the same error.
I also put it on .htaccess but still no luck...
:(
No serious provider on this planet will allow you to change things like memory_limit on a shared hosting! Means: You can put whatever you want there, but if the value is higher than their max limit it will be ignored!
If you're on a vps or dedicated server, you normaly do changes like this to the main .ini file and you have to restart Apache to get these changes done. If you add additional .ini files it depends on your configuration if these ini files are included automatically or not.

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

Re: How to update php on server for Joomla 3.3.6

Post by leolam » Sun Dec 28, 2014 5:04 am

Why are you guys replying to a post that is from October 30th? So 2 month's ago?
Joomla's #1 Professional Services Provider:
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -

RedEye
Joomla! Ace
Joomla! Ace
Posts: 1460
Joined: Sat Jan 21, 2006 8:42 pm

Re: How to update php on server for Joomla 3.3.6

Post by RedEye » Sun Dec 28, 2014 5:53 am

leolam wrote:Why are you guys replying to a post that is from October 30th? So 2 month's ago?
I did because naseemj2 brought it up again and I wanted to make it clear that you can't change config options, like in this case memory_limit, on shared hostings.
And what was your reason for that useless question(s)?


Locked

Return to “Administration Joomla! 3.x”