Question about cahing and what it says my PHP "Environment" is in the Dashboard

Permalink
I'm hoping someone would kindly help me with the caching issue I'm having. I have pasted my environment information below and if you scroll down to the very bottom 5 lines or so you'll see how it says the following:

session.cache_limiter - nocache
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5

Does this mean the cache isn't working?

I enabled full page caching in the dashboard, and set it to automatic, does my host provider automatically create that setting? Is it better to leave it on "Manual" setting to clear the cache?



# concrete5 Version
5.5.2.1

# concrete5 Packages
Address Vcard (1.0), AddThis (1.0), Awkward Slider (1.0.3), Consensus Theme (1.2), PC5 Custom Templates (3.0), Power Slider Lite (1.1.1), Respond - Theme (1.0.0), Smoothie Theme (1.0), tnSpacer (1.3).

# concrete5 Overrides
blocks/php.ini, controllers/php.ini, elements/php.ini, helpers/php.ini, jobs/php.ini, js/php.ini, css/php.ini, languages/php.ini, libraries/php.ini, mail/php.ini, models/php.ini, single_pages/php.ini, themes/php.ini, tools/php.ini

# Server Software
Apache

# Server API
cgi-fcgi

# PHP Version
5.2.17

# PHP Extensions
bcmath, bz2, calendar, cgi-fcgi, ctype, curl, date, dba, dbase, dom, exif, filter, ftp, gd, gettext, gmp, hash, iconv, imap, ionCube Loader, json, ldap, libxml, mbstring, mcrypt, mhash, mime_magic, mysql, mysqli, ncurses, odbc, openssl, pcntl, pcre, PDO, pdo_dblib, pdo_mysql, PDO_ODBC, pdo_pgsql, pdo_sqlite, pgsql, posix, pspell, readline, Reflection, session, shmop, SimpleXML, soap, sockets, SourceGuardian, SPL, SQLite, standard, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend Optimizer, zip, zlib.

# PHP Settings
log_errors_max_len - 1024
max_execution_time - 5
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 1000
memory_limit - 64M
post_max_size - 100M
safe_mode - Off
safe_mode_exec_dir - <i>no value</i>
safe_mode_gid - Off
safe_mode_include_dir - <i>no value</i>
sql.safe_mode - Off
suhosin.log.phpscript.is_safe - Off
upload_max_filesize - 100M
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
odbc.max_links - Unlimited
odbc.max_persistent - Unlimited
pcre.backtrack_limit - 200000
pcre.recursion_limit - 200000
pgsql.max_links - Unlimited
pgsql.max_persistent - Unlimited
session.cache_limiter - nocache
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5
safe_mode_allowed_env_vars - PHP_
safe_mode_protected_env_vars - LD_LIBRARY_PATH


Thanks so much,
Scott Kemp
Portland, OR

pdxscott
 
ConcreteOwl replied on at Permalink Reply
ConcreteOwl
Just to put your mind at rest here is my environment info..
# concrete5 Version
5.5.2.2a1

# concrete5 Packages
Content Around Image (1.23), Global Areas (1.0), Login (1.1), Mailer (1.0.1), Meerkat (1.1), Popup Pro (1.4.1), Sortable Fancybox Gallery (1.14).

# concrete5 Overrides
blocks/search, blocks/page_list, helpers/miser.php, helpers/miser_support, js/merge-1-53.js, js/merge-13-2.js, js/merge-93-4.js, js/tiny_mce, css/merge-83-41.css, css/merge-88-15.css, css/merge-91-18.css, css/merge-1-53.css, css/merge-13-2.css, css/merge-93-4.css, libraries/request.php, libraries/view.php, single_pages/login.php, single_pages/register.php, single_pages/upgrade.php, single_pages/maintenance_mode.php, single_pages/page_not_found.php, single_pages/user_error.php, single_pages/download_file.php, single_pages/members.php, single_pages/page_forbidden.php, single_pages/install.php

# Server Software
Apache

# Server API
cgi-fcgi

# PHP Version
5.2.17

# PHP Extensions
bcmath, bz2, calendar, cgi-fcgi, ctype, curl, date, dba, dbase, dom, exif, filter, ftp, gd, gettext, hash, iconv, idn, imap, ionCube Loader, json, libxml, mbstring, mcrypt, mhash, mysql, mysqli, openssl, pcre, PDO, pdo_mysql, pdo_sqlite, posix, Reflection, session, shmop, SimpleXML, soap, SPL, SQLite, standard, tidy, tokenizer, wddx, xml, xmlreader, xmlwriter, xsl, zip, zlib.

# PHP Settings
log_errors_max_len - 1024
max_execution_time - 5
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - -1
max_input_vars - 1000
memory_limit - 128M
post_max_size - 8M
safe_mode - Off
safe_mode_exec_dir - /usr/local/php/bin
safe_mode_gid - Off
safe_mode_include_dir - <i>no value</i>
sql.safe_mode - Off
upload_max_filesize - 2M
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
pcre.backtrack_limit - 100000
pcre.recursion_limit - 100000
session.cache_limiter - nocache
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5
safe_mode_allowed_env_vars - PHP_
safe_mode_protected_env_vars - LD_LIBRARY_PATH
jasteele12 replied on at Permalink Best Answer Reply
jasteele12
Hi Scott,

What exactly is the "caching issue" that you are having?

Those PHP settings have nothing to do with concrete5's (Zend) caching. From what you said above it appears you are using file based caching (the slowest, but most available).

It would be much better if you had APC, Xcache or memcache available - try sticking this in YOURSITE/tools/phpinfo.php

<?php
phpinfo();
?>


Then go to the URL http://yoursite.com/tools/phpinfo... (no ...)

Then search for apc, xcache, memcache. If any of those are available there is a define you can put in YOURSITE/config/site.php to similar to this:

define('CACHE_LIBRARY',   'apc');  // or xcache, or memcached, etc
// disable Zend_Cache automatic cleaning - defaults to 10 = 10% of write requests check!
define('CACHE_FRONTEND_OPTIONS', serialize(array('automatic_cleaning_factor' => 1)));
// see http://codepoets.co.uk/2011/zend_cache-automatic-cache-cleaning-can...


Hope that helps,
John Steele - Ashland, OR :)