From: Anton Farygin <rider@altlinux.com> To: sysadmins@lists.altlinux.org Subject: Re: [Sysadmins] php fastcgi cgi.fix_pathinfo Date: Mon, 30 Aug 2010 21:05:28 +0400 Message-ID: <i5gobr$pp2$2@dough.gmane.org> (raw) In-Reply-To: <i5go7u$pp2$1@dough.gmane.org> 30.08.2010 21:03, Anton Farygin пишет: > 30.08.2010 20:45, Denis Kuznetsov пишет: >> Доброго времени суток! >> On Monday 30 August 2010 16:26:10 Anton Farygin wrote: >>> У меня прекрасно всё работает без cgi.fix_pathinfo >> Первое что сделал - не помогло. >> пришлось отказаться от использования переменной, теперь придется >> выяснять чем это чревато. > > А чем не устраивают другие варианты ? > _SERVER["REQUEST_URI"] > _SERVER["SCRIPT_NAME"] Кстати, в связке nginx+php-fastcgi переменная есть в $_SERVER["PHP_SELF"] > >>> >>> Если есть необходимость её выставить, то добавьте её в конфиг. >>> >>> 30.08.2010 16:59, Denis Kuznetsov пишет: >>>> Доброго времени суток! >>>> В выводе php.ini не наблюдаю значения cgi.fix_pathinfo, >>>> соотвестственно $PHP_SELF и $_SERVER["PHP_SELF"] - 'no value'... >>>> Это только у нас такое или так и должно быть (сильно сомневаюсь)? >>>> >>>> # rpm -qa | egrep '(php5|lighttpd)' >>>> php5-5.2.14.20100721-alt1 >>>> lighttpd-1.4.25-alt1.svn.2710 >>>> php5-ldap-5.2.14.20100721-alt1 >>>> php5-snmp-5.2.14.20100721-alt1 >>>> php5-suhosin-0.9.31-alt2 >>>> php5-cgi-5.2.14.20100721-alt1.1 >>>> php5-mysql-5.2.14.20100721-alt1 >>>> php5-gd2-5.2.14.20100721-alt1 >>>> php5-sockets-5.2.14.20100721-alt1 >>>> php5-libs-5.2.14.20100721-alt1 >>>> >>>> ОС: сегодняшний Сизиф ... >>> >>> _______________________________________________ >>> Sysadmins mailing list >>> Sysadmins@lists.altlinux.org >>> https://lists.altlinux.org/mailman/listinfo/sysadmins >> >> >> > > > _______________________________________________ > Sysadmins mailing list > Sysadmins@lists.altlinux.org > https://lists.altlinux.org/mailman/listinfo/sysadmins
next prev parent reply other threads:[~2010-08-30 17:05 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-08-30 12:59 Denis Kuznetsov 2010-08-30 13:26 ` Anton Farygin 2010-08-30 16:45 ` Denis Kuznetsov 2010-08-30 17:03 ` Anton Farygin 2010-08-30 17:05 ` Anton Farygin [this message] 2010-08-31 4:03 ` Denis Kuznetsov 2010-08-31 4:05 ` Denis Kuznetsov
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to='i5gobr$pp2$2@dough.gmane.org' \ --to=rider@altlinux.com \ --cc=sysadmins@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux sysadmins discussion This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \ sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com public-inbox-index sysadmins Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sysadmins AGPL code for this site: git clone https://public-inbox.org/public-inbox.git