#32607 [NEW]: path changes in windows
| From: | mark at seriti dot com | Date: | Wed, 06 Apr 2005 12:33:15 +0000 |
| Subject: | #32607 [NEW]: path changes in windows | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969367572@lists.php.net to get a copy of this message | ||
From: mark at seriti dot com
Operating system: windows 2000
PHP version: Irrelevant
PHP Bug Type: Documentation problem
Bug description: path changes in windows
Description:
------------
At last I have installed PHP with Apache 2 on windows 2000
This was after a two day wild goose chase involving php.ini not being
read, dll's not loading, the include_path variable not being recognised
for PEAR extensions.
Anyhow I learnt two things that I hope will save someone else the pain i
have been through.
1.) If PHP does not find PHP.INI it uses hard coded default values that
work fine until you install PEAR extensions and need to change the
"Include_path" varaiable....then your troubles begin unless you knew about
2.) below
2.) To keep PHP files in a separate directory you must add "C:\PHP" TO
YOUR PATH STATEMENT (Control panel, system, advances, environmental
variables, system variables, select path and edit) AND REBOOT THE MACHINE
OTHERWISE THE PATH VARIABLE DOES NOT UPDATE.
The install.txt urges a manual install but neglects to mention the REBOOT
requirement for the PATH statement to take effect. A minor omission but
what a lot of pain it caused me.
--
Edit bug report at http://bugs.php.net/?id=32607&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=32607&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=32607&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=32607&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=32607&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=32607&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=32607&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=32607&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=32607&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=32607&r=support
Expected behavior: http://bugs.php.net/fix.php?id=32607&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=32607&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=32607&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=32607&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=32607&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=32607&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=32607&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=32607&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=32607&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=32607&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=32607&r=mysqlcfg