Where is the php.ini file?

Ask a Question related to Macromedia Dynamic HTML, Design and Development.

  1. #1

    Default Where is the php.ini file?

    I need to go into my php.ini file to change the register_globals setting to on, but I have no idea where to find the php.ini file.
    Please help!
    xSabbiex Guest

  2. Similar Questions and Discussions

    1. problem in binding xml file data to datagrid xml file isgenerated through JSP file
      problem it that i am creating xml file using JSP file and i want to bind DataGrid with xml file data that is created using JSP but it will not Bind...
    2. File Viewer / Bloated file sizes / What is the best file format?
      I would like to find a viewer capable of looking at the main Adobe formats as well as the standard formats such as JPG and WMF ... but yet the only...
    3. Open file, make changes, save file, close, re-open, file contents not changed
      I've now run into this several times and it's completely destroyed all of my confidence in Ilustrator CS on Mac. I'm hoping someone can confirm that...
    4. [BUG] File#rewind, File#syswrite, File#pos on Cygwin build
      On the cygwin build of ruby v1.8.0, I have encountered a strange bug when using rewind, syswrite and pos. If you open a file in read/write mode,...
    5. Confused about locking a file via file.flock(File::LOCK_EX)
      I am writing a ruby appl under AIX where I need to update the /etc/hosts table. I would like to make sure that during my update nobody else can...
  3. #2

    Default Re: Where is the php.ini file?

    Create a .php (i.e. info.php) page that just contains the following line of
    code:

    <?php phpinfo() ?>

    Then call the page from your browser. You should get an information page
    about your PHP installation. About the sixth line down should show you your
    ..ini file location.

    You could also enable register_globals using a .htaccess file. Just put the
    following in your .htaccess file in the root web directory:

    php_flag register_globals on

    Of course, you do realize that register_globals is frowned upon now, and can
    introduce security problems into your scripts, right? It's best to avoid it
    if possible, although I realize some third-party apps absolutely require it.

    Joseph


    "xSabbiex" <webforumsuser@macromedia.com> wrote in message
    news:dgo9tk$j7a$1@forums.macromedia.com...
    >I need to go into my php.ini file to change the register_globals setting to
    >on, but I have no idea where to find the php.ini file.
    > Please help!

    Joseph Szobody Guest

Posting Permissions

  • You may not post new threads
  • You may 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