Fw: Re: [PHP-WIN] Setting the Local Value of a Directive
| From: | Adam Bear | Date: | Tue, 19 Dec 2000 15:50:14 +0000 |
| Subject: | Fw: Re: [PHP-WIN] Setting the Local Value of a Directive | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-4540@lists.php.net to get a copy of this message | ||
I think maybe you can use ini_set() or ini_alter() function to set a INI
configuration option's value.I don't think this is a good practice for secure
reason ,but this is a way if no other way.
BTW, I download the Java extension JDK1.3 Win32 Binary from PHP.net, and
I followed the instructions in README extactly, but it seems doesn't work.under
Win2K+IIS. I use the tool Dependency Walker in Visual Studio 6.0 to check the
dependence of PHP_JAVA.dll and find that the PHP_JAVA.dll required functions in
PHP4ts.dll such as register_internal_class,ts_resource,php_error_cb,etc. but I test
the php4ts.dll in various PHP version include PHP4.0.4b,PHP4.0.1,PHP4.0.2 ,no one
of them can support all functions mentioned above. I don't know why, so I very
want to know how you can setup Java extenstion accomplished on NT. Please teach
me ASAP,I am anxious.
Thanks for the answer anyway.
>Is there a way to set the local value of a directive for an extension from
>within php code? For example, I want to set java.class.path from a php file
>to ensure that the class path I need is available. Also, if this can be
>done, is this considered good or bad practice?
>
>By the way, has anyone had any problems with the Java extension? I have
>configured the extension and run it successfully on NT, but I am having some
>problems with the extension on a Solaris Unix box. After setting the
>java.class.path directive in the ini file and verifying it with phpinfo(), I
>am seeing it get wiped out later (i.e. reset to no value). This is why I
>want to try to set it from the php code before invoking the call to Java().
>
>I know I should ask this last bit on another list, but if anyone has any
>info on it too, I would appreciate it.
>
>Thanks,
>David
>
>--
>PHP Windows Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
>For additional commands, e-mail: php-windows-help@lists.php.net
>To contact the list administrators, e-mail: php-list-admin@lists.php.net