Welcome to the JaguarPC Community
JaguarPC
Sales: (888) 338-5261
Support: (888)-551-3050
Results 1 to 5 of 5

This is a discussion on php5 and php.ini in the Shared & Semi-Dedicated forum
I'm using php5 and it appears that I need to place my modified php.ini in every folder to make it work. Should this be the ...

  1. #1
    JPC Member
    Join Date
    Sep 2007
    Posts
    12

    php5 and php.ini

    I'm using php5 and it appears that I need to place my modified php.ini in every folder to make it work. Should this be the case?

  2. #2
    Jag Veteran EuroNut's Avatar
    Join Date
    Aug 2007
    Location
    UK
    Posts
    529
    Quote Originally Posted by ericgodfrey View Post
    I'm using php5 and it appears that I need to place my modified php.ini in every folder to make it work. Should this be the case?
    Eric, you must have deja vue This has just come up in another thread you might want to take a look at: Register_globals
    EuroNut (The mad Brit)
    If it ain't broke, don't ping it...

  3. #3
    JPC Member
    Join Date
    Sep 2007
    Posts
    12
    Thanks for your response, but that is the thread that is resulting in current confusion.

    Maybe I'm reading that wrong, but I gathered that you should only need to place the php.ini in the document root. I have it uploaded in the document root, but files in my other folders don't work unless I upload a copy of php.ini into every folder that contains a php file. (The all need the include_path)

    So, did I read that wrong, or am I only supposed to need one copy of php.ini?

  4. #4
    the Windlord Gwaihir's Avatar
    Join Date
    Jun 2002
    Posts
    2,562
    You read correctly, for PHP5. Are you sure you're not accidentally using PHP4 (phpinfo(); can tell you)? If you are indeed using PHP5, your server is apparently not configured as advertised and you should open a ticket to have them fix that setting.
    Regards,

    Wim Heemskerk
    ---
    Visit MeCCG.net - Cardgaming in J.R.R. Tolkien's Middle-earth
    And Gwaihir.net - The Middle-earth CCG store

  5. #5
    JPC Member
    Join Date
    Sep 2007
    Posts
    12
    The noob strikes again.

    I haven't changed my domain name over yet, so I'm still using the ip address.

    123.234.34.56/~username doesn't work, because it pulls the php.ini for the ip based site. Apparently when I switch my site over, all will be well.

    Thanks for the help guys.

    Sorry about not mentioning that. Didn't know it would be an issue.

Bookmarks

Posting Permissions

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