Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:74267 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 89943 invoked from network); 17 May 2014 08:25:10 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 May 2014 08:25:10 -0000 Authentication-Results: pb1.pair.com smtp.mail=jblond@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=jblond@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.219.49 as permitted sender) X-PHP-List-Original-Sender: jblond@gmail.com X-Host-Fingerprint: 209.85.219.49 mail-oa0-f49.google.com Received: from [209.85.219.49] ([209.85.219.49:48250] helo=mail-oa0-f49.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B8/A4-35141-5EC17735 for ; Sat, 17 May 2014 04:25:10 -0400 Received: by mail-oa0-f49.google.com with SMTP id eb12so4080446oac.22 for ; Sat, 17 May 2014 01:25:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:cc:content-type; bh=viStSEdXgERwb/B87bzS/xOcQsPth/mFUTmF0kLqUTo=; b=brKVi2Df/H7LJysQGJ7iCgB2fOuFytlcAPje0MRuJ17ozCWNe8TwZxVuKT9OzSQlN7 /YgzLi3p0nlvgpGK7bR9LbW+UjGS9avVCQEB5+8rLJAOFdq5xKry8vQmi6ip2V/182YB 7N6T5nTlrAYyXG07V2fJ19hDZXZ66hrvtvlntQEwLwJ2fpVxq9MPCyz4iMjBwXHHqAGk mTaTaps3XYi0+f+Ud6SQB4v/G3YPw9fIHkUgIoBJ9NNcbs6wK4etPrX6lBEknxwZJ8yz G4hC+cH9GiCT4hx9cJEzzhG0Ml8t2KfS5ZbOc5v/fi0eJaEE3M/hAhXcTuaNFWBY542h evsg== X-Received: by 10.60.65.136 with SMTP id x8mr3437239oes.30.1400315106988; Sat, 17 May 2014 01:25:06 -0700 (PDT) MIME-Version: 1.0 Date: Sat, 17 May 2014 01:25:06 -0700 Message-ID: <-4309956207097695876@unknownmsgid> To: Nicolai Scheer , Pierre Joye Cc: Matt Ficken , PHP Internals Content-Type: text/plain; charset=UTF-8 Subject: AW: [PHP-DEV] opcache not working on windows From: jblond@gmail.com (Mario Brandt) Hi Nico, add a local user with password and assign that user to the apache Service. Cheers Mario Send from my toaster via IPv6 Von: Nicolai Scheer Gesendet: 16.05.2014 21:58 An: Pierre Joye Cc: Matt Ficken; PHP Internals Betreff: Re: [PHP-DEV] opcache not working on windows Hi Pierre, On 16 May 2014 10:59, Pierre Joye wrote: > On Fri, May 16, 2014 at 10:45 AM, Nicolai Scheer > wrote: > > Hi again, > > > > On 16 May 2014 10:01, Nicolai Scheer wrote: > > > >> Hi again, > >> > >> seems that I've narrowed it down a bit. > >> Since fastcgi should just run php-cgi.exe I tried to run php-cgi.exe > >> myself from the command line. > >> > >> So I fetched myself the phpinfo stuff in two ways: > >> > >> php.exe -i > cli.txt > >> php-cgi.exe -i > cgi.htm > >> > >> Both files report the opcache as "Up and running". Since apache runs as > >> local system account it might have something to do with not being able > to > >> create the shared memory realm? But usually the local system account is > as > >> powerful as it gets... I'll try to run it as a different user... > >> > >> > >> Greetings > >> > >> Nico > >> > > > > opcache runs fine when apache service is started as a local admin user. > It > > does not work when running as local system account. > > > > Still no idea why there is a difference... Any suggestions appreciated... > > It tells me that your local user does not have the permission to > create the necessary mapped file. > Well, it works with a local admin user. It does not work when running the service as local system account (i.e. local system account selected for "log on as"). I don't see why the local system account (which usually can do just anything) should not be able to create the mapped file... Greetings Nico