tech question! setting php.ini location?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • s9ann0
    Confirmed User
    • Sep 2001
    • 4873

    #1

    tech question! setting php.ini location?

    how do you specify php.ini location in apache?

    i am runnign 2 apache server on one machine and I want seperate php.ini for each one
  • Klen
    • Aug 2006
    • 32235

    #2
    Try to edit httdp.conf,do same thing like you would separate php4 and php5.
    Just type in google php4 and php5 switch and you will found solution.

    Comment

    • darksoul
      Confirmed User
      • Apr 2002
      • 4997

      #3
      you don't set it in apache but in php at compile time.
      Code:
      --with-apxs2=/usr/local/apache2/bin/apxs --with-config-file-path=/usr/local/lib/php2.ini
      1337 5y54|)m1n: 157717888
      BM-2cUBw4B2fgiYAfjkE7JvWaJMiUXD96n9tN
      Cambooth

      Comment

      • Kimo
        ...
        • Jan 2006
        • 11542

        #4
        yeah try doing it in php
        ...

        Comment

        Working...