SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Oct 2011
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question about the book “Build Your Own Database Driven Web Site Using PHP & MySQL”,

    In the book, “Build Your Own Database Driven Web Site Using PHP & MySQL”, 4th edition, page 15, it says “Find the file called php.ini-development in the PHP folder…” There is NO file by that name in that folder or in any of the sub-folders. The version of PHP that I downloaded is the VC6 Thread Safe version of PHP 5.2 for Windows. Should I have downloaded the VC6 Thread Safe version of PHP 5.3 for Windows? Or does that file now have a different name?

    Please advise.

    Thanks,

    Dave Vandermey

  2. #2
    Programming Team silver trophybronze trophy
    Mittineague's Avatar
    Join Date
    Jul 2005
    Location
    West Springfield, Massachusetts
    Posts
    16,454
    Mentioned
    160 Post(s)
    Tagged
    1 Thread(s)
    My localhost server (xampp) has 4 "php.ini" files.
    ../apache/bin/php.ini
    ../php/php.ini
    ../php/php.ini-dist
    ../php/pjp.ini-recommended

    AFAIK the "-" files serve as example settings, but the "php.ini" files are what is used. (I'm still not sure why 2, and as making sure both are identical works I've never bothered to find out - anyone know?)

    As long as you can find one without the "-" you'll be OK, but best to save a backup of the original before you make changes to the working file(s).


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
  •