You are not logged in.

  • Login

Dear visitor, welcome to Coder Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Tuesday, June 8th 2010, 2:52pm

php5 apc_fetch -> false (dateiupload)

Hey!

Wollte mich jetzt nochmal mit Dateiupload-Bars über APC versuchen.
Habe also auf meinem Debian 5.0 Root APC nach der Anleitung hier im Forum installiert.
(Webserver ist APache).

APC läuft auch, allerdings verändert sich der Upload-Fortschritt nicht..
Wenn ich per Hand die progress.php?progress_key=KEY aufrufe, gibt APC mir nur false aus..

phpinfo: http://212.117.177.120:81/phpinfo.php

Hier könnt ihrs testen: http://212.117.177.120:81/progress.php

Danke schonmal für Antworten verzweifel hier schon fast :D

2

Wednesday, June 9th 2010, 8:19pm

hat es denn mit der print_r variante noch funktioniert?
Muss es später nochmal auf meinem server testen...

Für alle interessierten hier übrigens der Link zur Wiki Seite: Upload Fortschritt mit PHP + AJAX

3

Sunday, July 11th 2010, 8:06pm

Hallo,
ich habe das gleiche Problem. Hat denn nun schon jemand eine Lösung??

Wenn ich das Tutorial befolge, dann wird garnichts angezeigt in der status.php

Wenn ich die status.php verändere von

Source code

1
2
3
4
<?php
$arr = apc_fetch("upload_{$_GET['uid']}");
printf("<pre>%s</pre>", print_r($arr,true));
?>


in

Source code

1
2
3
<?
var_dump(apc_fetch('upload_' . '$_GET['uid']'));
?>


...gibt er ein bool(false) aus

Wer hat einen Plan wie es gehen könnte??

4

Sunday, July 11th 2010, 8:58pm

hast du alle Einstellungen gesetzt wie unter APC unter Linux installieren beschrieben?

konkret ist das rfc1867 ja sehr wichtig:

Source code

1
2
3
4
5
6
7
8
9
apc.enabled=1
apc.shm_segments=1
apc.optimization=0
apc.shm_size=128
apc.ttl=7200
apc.user_ttl=7200
apc.num_files_hint=1024
apc.enable_cli=0
apc.rfc1867=1

Similar threads

Social bookmarks