Local PHP.INI reference setup in apache

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • avenuex
    Member
    • Apr 2004
    • 51

    #1

    Local PHP.INI reference setup in apache

    Hi All,
    Probably a more general question, but I'm a web developer and Andrew I'm trying to mimic your environment as best as I can so I can easily just ftp my apps (php apps) up to the server and have it work without too much mucking around.

    That said I setup apache2 on my Win environment (yea yea, i don't have a spare box for linux) but haven't found how to have a local directory php.ini append/overwrite the main php.ini as you have setup on dathorn servers..

    Does anyone know how this is setup?

    thanks in advance,
    W.
  • AndrewT
    Administrator
    • Mar 2004
    • 3655

    #2
    That is a part of phpsuexec or you can run PHP as CGI and use a wrapper. The "normal" way is to use PHP w/ Apache (not AS CGI) and change PHP settings on a domain via the .htaccess file.

    Comment

    Working...