php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #32607 path changes in windows
Submitted: 2005-04-06 14:33 UTC Modified: 2005-04-06 15:32 UTC
From: mark at seriti dot com Assigned:
Status: Not a bug Package: Documentation problem
PHP Version: Irrelevant OS: windows 2000
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: mark at seriti dot com
New email:
PHP Version: OS:

 

 [2005-04-06 14:33 UTC] mark at seriti dot com
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.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-04-06 15:06 UTC] dmytton@php.net
Where exactly are you referring to in the manual? At http://www.php.net/manual/en/faq.installation.php#faq.installation.phprc  it says you must reboot your system as the last step.
 [2005-04-06 15:28 UTC] mark at seriti dot com
I was refering to install.txt which comes with the zip download file. Yes it is in the online manual but by the time I got there i was chasing my tail. Thanks for your help.
 [2005-04-06 15:32 UTC] vrana@php.net
There's a FAQ: http://php.net/faq.installation#faq.installation.addtopath

You have to know how to modify PATH and other basic facts if you read only install.txt.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 10 12:01:33 2025 UTC