Status
Not open for further replies.

Majora

Customer
I have APC installed on my server.

My php.ini:

PHP:
  engine = On
  short_open_tag = On
  date.timezone = Europe/Berlin
  precision = "14"
  y2k_compliance = Off
  output_buffering = 
  output_handler = 
  unserialize_callback_func = 
  zlib.output_compression = 
  implicit_flush = Off
  allow_call_time_pass_reference = On
  safe_mode = Off
  safe_mode_gid = 
  safe_mode_include_dir = 
  safe_mode_exec_dir = 
  safe_mode_allowed_env_vars = "PHP_"
  safe_mode_protected_env_vars = "LD_LIBRARY_PATH"
  disable_functions = 
  highlight.string = "#CC0000"
  highlight.comment = "#FF9900"
  highlight.keyword = "#006600"
  highlight.bg = "#FFFFFF"
  highlight.default = "#0000CC"
  highlight.html = "#000000"
  expose_php = On
  max_execution_time = "90"
  memory_limit = "100M"
  error_reporting = 32759
  display_startup_errors = 
  track_errors = Off
  variables_order = "EGPCS"
  register_argc_argv = On
  post_max_size = 8M
  gpc_order = "GPC"
  magic_quotes_runtime = Off
  magic_quotes_sybase = Off
  default_mimetype = "text/html"
  doc_root = 
  user_dir = 
  enable_dl = On
  file_uploads = 1
  allow_url_include = 0
  arg_separator.output = "&"
  arg_separator.input = "&"

[mail function]
  SMTP = localhost
  sendmail_from = me@localhost.com

[SQL]
  sql.safe_mode = Off

[ODBC]
  odbc.allow_persistent = 1
  odbc.check_persistent = 1
  odbc.max_persistent = -1
  odbc.max_links = -1
  odbc.defaultlrl = 4096
  odbc.defaultbinmode = 1

[MySQL]
  mysql.allow_persistent = Off
  mysql.max_persistent = "-1"
  mysql.max_links = "-1"
  mysql.default_port = 
  mysql.default_socket = 
  mysql.default_host = 
  mysql.default_user = 
  mysql.default_password = 

[PostgresSQL]
  pgsql.allow_persistent = On
  pgsql.auto_reset_persistent = 
  pgsql.max_persistent = "-1"
  pgsql.max_links = "-1"

[bcmath]
  bcmath.scale = "0"

[browscap]
  browscap = 

[Session]
  session.serialize_handler = "php"
  session.gc_probability = "1"
  session.referer_check = 
  session.entropy_length = "0"
  session.entropy_file = 
  session.cache_limiter = "nocache"
  session.cache_expire = "180"
  session.use_trans_sid = 1
  url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"

[Assertion]
  assert.active = On
  assert.warning = On
  assert.bail = Off
  assert.callback = 
  assert.quiet_eval = Off


When i click on System Test i get the following error: Your Opcache Operator extension is functioning, however it is unable to store data. Please check your extension configuration.

Why is that?
 
Try creating these two scripts and run them in turn:
PHP:
<?php apc_store('test', 'Working!', 10);

PHP:
 <?php echo apc_fetch('test');

If the second script does not print "Working!" on the page, then there's something wrong with your APC configuration. Please contact your web host for assistance.
 
Try creating these two scripts and run them in turn:
PHP:
<?php apc_store('test', 'Working!', 10);

PHP:
 <?php echo apc_fetch('test');

If the second script does not print "Working!" on the page, then there's something wrong with your APC configuration. Please contact your web host for assistance.

I get
Code:
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting T_STRING in /blabla/webseiten/test.php on line 9

with the second script i get a blank page on my site.

My configurations:

[APC]
extension = "apc.so"

apc.enabled = 1
apc.shm_size = 64M
apc.ttl = 0
apc.user_ttl = 0
apc.enable_cli = 1
apc.max_file_size = 10M
apc.stat = 1


but this works:

<?php
apc_store('test', 'Working!', 10);
echo apc_fetch('test');
?>

--> http://www.faq4mobiles.de/test_df.php
 

Attachments

  • Unbenannt.webp
    Unbenannt.webp
    59.5 KB · Views: 5
  • APC Cache.webp
    APC Cache.webp
    34.3 KB · Views: 3
Last edited:
The script I posted is not 9 lines long, so the PHP error you described is impossible. Please create a new PHP file and put ONLY the line I mentioned in there :)
 
That is wrong, you need to create two separate scripts as per my original instructions. Your script does not test whether APC can retain cache across pages.
 
That's correct, but calling them in the same script (i.e. in the same request) does not accurately test the ability for it to retain the cache in memory.
 
You need to run the script containing apc_store first as per my original instructions.
 
In that case, APC is not correctly configured on your server. Due to the vast differences in server configurations I'm sadly unable to assist you in fixing the server module, so you should contact your host :)
 
I can't see anything wrong in your configuration, that's why I suggested you request help from your host. Show them the two test scripts you created.

Those test scripts are 100% independent from vB Optimise, so it clearly demonstrates that vBO is not at fault :)
 
Status
Not open for further replies.

Similar threads

Legacy vB Optimise

vBulletin 3.8.x vBulletin 4.x.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
1,980
Customer rating
0.00 star(s) 0 ratings
Back
Top