php_value include_path in htaccess doesn't work

Ask a Question related to PHP Programming, Design and Development.

  1. #1

    Default php_value include_path in htaccess doesn't work

    Hi

    I'm trying to set a 'default' include path for the entire site using an
    ..htaccess file but it doesn't work. The include path always remains the same
    and it tells me it can't find the file. The htaccess file is in the root of
    the site which is run under Apache & Linux. Any idea what I could be doing
    wrong?

    My .htaccess file is simply this :

    php_value include_path /var/www/html/R2/htdocs/includes

    Thanks
    Chris



    Chris Allen Guest

  2. Similar Questions and Discussions

    1. #25753 [Com]: php_value|flag / php_admin_* settings "leak" from vhosts/.htaccess files
      ID: 25753 Comment by: mazurek at shw-networks dot de Reported By: sniper@php.net Status: Critical Bug Type: ...
    2. #25753 [Ctl]: php_value|flag / php_admin_* settings "leak" from vhosts/.htaccess files
      ID: 25753 Updated by: sniper@php.net Reported By: sniper@php.net Status: Critical Bug Type: Apache...
    3. #6374 [Csd]: include_path in .htaccess accross multiple vhosts
      ID: 6374 Updated by: sniper@php.net Reported By: jesper at jdn dot dk Status: Closed Bug Type: ...
    4. Use of php_value in .htaccess is not working
      Hello Everyone, I am running Red Hat Enterprise Linux ES release 2.1 (Panama). Originally I was using the Red Hat PHP package. This package was...
    5. vhost php_value include_path: Seg fault
      Using: - Apache 1.3.27 - PHP 4.2.3 I just changed my httpd.conf to have two virtual hosts. One of them uses php, so I added the include_path,...
  3. #2

    Default Re: php_value include_path in htaccess doesn't work

    here's how u do it

    php_value include_path ".:home/max/Bureau/**/**"
    Unregistered Guest

  4. #3

    Default Re: php_value include_path in htaccess doesn't work

    enjoy here

    -
    [url=http://www.dvdhotdeal.com/house-m-d-seasons-1-6-dvd-boxset.html]House MD DVD 1-6[/url]
    [url=http://www.dvdhotdeal.com/castle-seasons-1-2-dvd-boxset.html]Castle DVD 1-2[/url]
    perrylee is offline Junior Member
    Join Date
    Feb 2011
    Posts
    1

  5. #4

    Default Re: php_value include_path in htaccess doesn't work

    The htaccess file is in the root of
    the site which is run under Apache & Linux.
    http://daxibeidelang.teasm.cn/Index.aspx




    Deri6ck78 is offline Junior Member
    Join Date
    Oct 2011
    Posts
    12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139