Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

#29694 [Opn->Csd]: SetEnv PHPRC in httpd.conf has no effect
ID:               29694
Updated by:       aidan@php.net
Reported By:      mvl22 at mailinator dot com
-Status:           Open
+Status:           Closed
Bug Type:         Documentation problem
Operating System: Windows XP
PHP Version:      5.0.1
New Comment:

With Apache/1.3.31 (Win32) PHP/5.0.2 setting PHPRC did not work.
Setting the system enviroment variable did work.

I'm not sure what you did vrana, but I think if it doesn't work in all
cases it's best to pretend it doesn't exist!

I've changed the documentation to reflect these new steps.

Thanks for the bug report and help making our documentation better.


Previous Comments:
------------------------------------------------------------------------

[2004-09-27 20:14:48] ipa at beta dot lt

Tried 5.0.2 + apache 1.3.27 (instead of 5.0.1)

1. putting php.ini into apache dir started working
2. adding PHPRC into environment works (Rasmus was right)

------------------------------------------------------------------------

[2004-09-27 09:57:32] vrana@php.net

Result of a test under Windows XP:

Apache 2.0.50 - PHP 5: SetEnv PHPRC works
Apache 1.3.27 - PHP 5: SetEnv PHPRC works
Apache 1.3.27 - PHP 4: SetEnv PHPRC doesn't work
Apache 2.0.50 - PHP 4: SetEnv PHPRC doesn't work

Strange, it's different from what other people say.

------------------------------------------------------------------------

[2004-09-27 01:44:07] rasmus@php.net

PHP checks the real environment, not the apache environment for PHPRC.
Changing this to a documentation problem.

------------------------------------------------------------------------

[2004-09-26 12:35:55] astervick at infinito dot it

PHP 5.0.2
W2000 with all the patches about security
Apache 1.3

Php.ini is not read where I tell apache with setenv PHPRC..
in httpd.conf

I put it in c:\WINNT and php.ini is read and it's ok

Thanks to people who wrote about this before me!
Ciao

------------------------------------------------------------------------

[2004-09-10 19:24:13] bgleason at mwgl dot org

Same here... It kept trying to set the directory to c:\php5 for me even
though I specified d:\php...

windows 2003 server running apache 1.3.31. If you need any other
information just shoot me an email...

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/29694

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

Report this thread to moderator Post Follow-up to this message
Old Post
aidan@php.net
09-28-04 09:01 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

PHP Documentation archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 05:30 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.