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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 30 01:01:28 2024 UTC