[PHP-DEV] Bug #10598 Updated: Windows Protocol & ini file placement

2001-11-10 Thread sander

ID: 10598
Updated by: sander
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Closed
Bug Type: *Configuration Issues
Operating System: Windows
PHP Version: 4.0.5
New Comment:

No feedback. Closing.

Previous Comments:


[2001-10-20 19:23:33] [EMAIL PROTECTED]

Did the PHPRC environment variable help or not?




[2001-05-02 03:56:28] [EMAIL PROTECTED]

While I do agree with you that this is a pain, there is a possible solution assuming 
that you can set environment variables on your machine.  Set PHPRC to the path where 
the php.ini file is.  Then PHP will look there instead.



[2001-05-02 03:17:12] [EMAIL PROTECTED]

I've been running PHP with this:
http://www.php.net/do_download.php?download_file=php405-installer.exe&source_site=www.php.net


Basically, I have a problem with the placement of your php.ini. I would have thought, 
hoped it would run from the php directory as well as the windows directory. This is 
standard Windows protocol. A windows *.exe "normally" prioritises looking in the app 
directory and then in the windows directory for the location of *.ini files.

 Your Msvcrt.dll was installed in my network drive: t:\php\ and works like a charm; so 
should the php.ini!.

My at-work installation of windows is NT Server based and I don't have permissions to 
access D:\ntdir where NT was installed. I'm running a http microweb out of a separate 
directory and hoped to make use of PHP at work. I can't because I can't put the php in 
the windows directory. It won't work in my network drive: t:\php\php.ini
While my case may or may not be non-standard, your port to windows lack in basic *.ini 
protocol. It "should" look in the app directory to see if the ini exists there too! 





Edit this bug report at http://bugs.php.net/?id=10598&edit=1


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #10598 Updated: Windows Protocol & ini file placement

2001-10-20 Thread sniper

ID: 10598
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Feedback
Bug Type: *Configuration Issues
Operating System: Windows
PHP Version: 4.0.5
New Comment:

Did the PHPRC environment variable help or not?


Previous Comments:


[2001-05-02 03:56:28] [EMAIL PROTECTED]

While I do agree with you that this is a pain, there is a possible solution assuming 
that you can set environment variables on your machine.  Set PHPRC to the path where 
the php.ini file is.  Then PHP will look there instead.



[2001-05-02 03:17:12] [EMAIL PROTECTED]

I've been running PHP with this:
http://www.php.net/do_download.php?download_file=php405-installer.exe&source_site=www.php.net


Basically, I have a problem with the placement of your php.ini. I would have thought, 
hoped it would run from the php directory as well as the windows directory. This is 
standard Windows protocol. A windows *.exe "normally" prioritises looking in the app 
directory and then in the windows directory for the location of *.ini files.

 Your Msvcrt.dll was installed in my network drive: t:\php\ and works like a charm; so 
should the php.ini!.

My at-work installation of windows is NT Server based and I don't have permissions to 
access D:\ntdir where NT was installed. I'm running a http microweb out of a separate 
directory and hoped to make use of PHP at work. I can't because I can't put the php in 
the windows directory. It won't work in my network drive: t:\php\php.ini
While my case may or may not be non-standard, your port to windows lack in basic *.ini 
protocol. It "should" look in the app directory to see if the ini exists there too! 





Edit this bug report at http://bugs.php.net/?id=10598&edit=1


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] Bug #10598 Updated: Windows Protocol & ini file placement

2001-05-02 Thread Brian Moon

Looking at the API I think I can do this.  The only question I have is how
do I tell from inside the code whether or not PHP is a DLL or an EXE?  The
function call has to be made differently depending on that information.

Brian Moon
--
dealnews.com, Inc.
Makers of dealnews, dealmac
http://dealnews.com/ | http://dealmac.com/


- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 02, 2001 2:56 AM
Subject: [PHP-DEV] Bug #10598 Updated: Windows Protocol & ini file placement


> ID: 10598
> Updated by: brianlmoon
> Reported By: [EMAIL PROTECTED]
> Status: Open
> Bug Type: *Install and Config
> PHP Version: 4.0.5
> Assigned To:
> Comments:
>
> While I do agree with you that this is a pain, there is a possible
solution assuming that you can set environment variables on your machine.
Set PHPRC to the path where the php.ini file is.  Then PHP will look there
instead.
>
> Previous Comments:
> --
-
>
> [2001-05-02 03:17:12] [EMAIL PROTECTED]
> I've been running PHP with this:
>
http://www.php.net/do_download.php?download_file=php405-installer.exe&source
_site=www.php.net
>
> Basically, I have a problem with the placement of your php.ini. I would
have thought, hoped it would run from the php directory as well as the
windows directory. This is standard Windows protocol. A windows *.exe
"normally" prioritises looking in the app directory and then in the windows
directory for the location of *.ini files.
>
>  Your Msvcrt.dll was installed in my network drive: t:php and works like a
charm; so should the php.ini!.
>
> My at-work installation of windows is NT Server based and I don't have
permissions to access D:ntdir where NT was installed. I'm running a http
microweb out of a separate directory and hoped to make use of PHP at work. I
can't because I can't put the php in the windows directory. It won't work in
my network drive: t:phpphp.ini
> While my case may or may not be non-standard, your port to windows lack in
basic *.ini protocol. It "should" look in the app directory to see if the
ini exists there too!
>
> --
-
>
>
>
> ATTENTION! Do NOT reply to this email!
> To reply, use the web interface found at
http://bugs.php.net/?id=10598&edit=2
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>
>


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #10598 Updated: Windows Protocol & ini file placement

2001-05-02 Thread brianlmoon

ID: 10598
Updated by: brianlmoon
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: *Install and Config
PHP Version: 4.0.5
Assigned To: 
Comments:

While I do agree with you that this is a pain, there is a possible solution assuming 
that you can set environment variables on your machine.  Set PHPRC to the path where 
the php.ini file is.  Then PHP will look there instead.

Previous Comments:
---

[2001-05-02 03:17:12] [EMAIL PROTECTED]
I've been running PHP with this:
http://www.php.net/do_download.php?download_file=php405-installer.exe&source_site=www.php.net


Basically, I have a problem with the placement of your php.ini. I would have thought, 
hoped it would run from the php directory as well as the windows directory. This is 
standard Windows protocol. A windows *.exe "normally" prioritises looking in the app 
directory and then in the windows directory for the location of *.ini files.

 Your Msvcrt.dll was installed in my network drive: t:php and works like a charm; so 
should the php.ini!.

My at-work installation of windows is NT Server based and I don't have permissions to 
access D:ntdir where NT was installed. I'm running a http microweb out of a separate 
directory and hoped to make use of PHP at work. I can't because I can't put the php in 
the windows directory. It won't work in my network drive: t:phpphp.ini
While my case may or may not be non-standard, your port to windows lack in basic *.ini 
protocol. It "should" look in the app directory to see if the ini exists there too! 

---



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=10598&edit=2


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]