How do I limit PHP apps to their own directories and their own php.ini?

前端 未结 6 740
走了就别回头了
走了就别回头了 2021-01-01 00:38

I am running multiple PHP apps on my Mac, running OS X 10.5.6, Apache 2, PHP 5. I have subdomains setup for each project, a host file entries for each subdomain, and Virtua

6条回答
  •  失恋的感觉
    2021-01-01 01:21

    I believe it's possible to set a php.ini per virtual host

    
        ...
    
        PHPINIDir /full/path/to/php/ini/
    
    
    

    this way you can customize open_basedir and others

提交回复
热议问题