in

Dotnetpanel Forums

Community support forums for DotNetPanel products

HKLM\SOFTWARE\PHP\Per Directory Values\

Last post 08-31-2007 10:44 AM by marlboroman. 7 replies.
Page 1 of 1 (8 items)
Sort Posts: Previous Next
  • 01-20-2007 8:40 PM

    HKLM\SOFTWARE\PHP\Per Directory Values\

    Make HKLM\SOFTWARE\PHP\Per Directory Values\ support for every directory. Update file manager, please, to set different php.ini values for different CMSes. Thanks.

     

    Example:

     HKEY_LOCAL_MACHINE\SOFTWARE\PHP\Per Directory Values\c\HostingSpaces\DAMONIK\damonik.ru\wwwroot

    register_globals (string) 1

    short_open_tag (string) 1

     

     

    Of cource, many-many thanks to me for this request. Smile))).

  • 01-20-2007 11:25 PM In reply to

    Re: HKLM\SOFTWARE\PHP\Per Directory Values\

    Only if PHP = yes for this space
  • 01-21-2007 6:39 AM In reply to

    Re: HKLM\SOFTWARE\PHP\Per Directory Values\

    Hi,

    Have you been able to use this? I just had a test with it, but it doesn't seem to work. I installed PHP from the zip so not with the installer, does that make any difference?

    Or does IIS need to be restarted every time when a change is made?

    If this could work it would be really great.

     

    IBISS Internet Services & Solutions: ASP - ASP.NET 1.1/2.0/3.0/3.5 - PHP 5 - MySQL 5 - MSSQL 2005
  • 01-21-2007 7:29 AM In reply to

    Re: HKLM\SOFTWARE\PHP\Per Directory Values\

    Hi!

    Yes, I tested this. It works ok, without IIS restart I see new phpinfo(). It is cool!

    I installed PHP from zip too. I don't like installers too, because I don't know about their actions. Smile
    5.2, ISAPI + I install php5-isapi.reg from php folder, php.ini in Windows... Nothing special...

    In article on php.net I read, that I can't change per-dir variables, only user-vars but I turn on register_globals and short tag for one of my clients ok (by default they are off in my php.ini), may be it is new feature in 5.2? I think, you should install 5.2 as ISAPI.

    My default phpinfo() http://e-guu.ru/phpinfo.php, for example.
  • 01-21-2007 8:24 AM In reply to

    Re: HKLM\SOFTWARE\PHP\Per Directory Values\

    Lord Daedra:
    Hi!

    Yes, I tested this. It works ok, without IIS restart I see new phpinfo(). It is cool!

    I installed PHP from zip too. I don't like installers too, because I don't know about their actions. Smile
    5.2, ISAPI + I install php5-isapi.reg from php folder, php.ini in Windows... Nothing special...

    In article on php.net I read, that I can't change per-dir variables, only user-vars but I turn on register_globals and short tag for one of my clients ok (by default they are off in my php.ini), may be it is new feature in 5.2? I think, you should install 5.2 as ISAPI.

    My default phpinfo() http://e-guu.ru/phpinfo.php, for example.

    Well I have PHP (5.1.x) running as ISAPI for a while now. Although I didn't run the .reg file, I don't believe this is necessary for IIS 6 (only for older versions and for PWS).

    But I will have some more tests on this. I would be great if I can get this to work, thanks for the tip.

    IBISS Internet Services & Solutions: ASP - ASP.NET 1.1/2.0/3.0/3.5 - PHP 5 - MySQL 5 - MSSQL 2005
  • 01-21-2007 4:15 PM In reply to

    Re: HKLM\SOFTWARE\PHP\Per Directory Values\

    OK, have it working now. Problem was that I used DWORDs instead Strings. My bad Embarrassed

    Anyway, this is really great. Always thought it wasn't possible to alter settings per vhost in IIS. Thanks again.

    IBISS Internet Services & Solutions: ASP - ASP.NET 1.1/2.0/3.0/3.5 - PHP 5 - MySQL 5 - MSSQL 2005
  • 01-22-2007 5:25 AM In reply to

    Re: HKLM\SOFTWARE\PHP\Per Directory Values\

    Thanks guys, I'll add it to TODO.

    Sincerely yours,
    Feodor Fitsner, Director
    DotNetPanel - professionally developed software for hosting businesses
  • 08-31-2007 10:44 AM In reply to

    Re: HKLM\SOFTWARE\PHP\Per Directory Values\

     Wonderfull... this information must be shared...

     I thought it wasn't possible...

     But u saved my day =) 

     Thanks man! 

Page 1 of 1 (8 items)
Powered by Community Server (Commercial Edition), by Telligent Systems