473,396 Members | 1,849 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

latest PEAR on W32, refers to PHP5, bug

latest PEAR on W32, refers to PHP5 inaccurately.
I've seen posts regarding path's that get messed up, by lost ini's or
registry settings.
I don't think that's my case, because I can't find PHP5 in registry or
any left-over ini's.
This is a new PC that I use on the weekends mostly.

The latest Pear version 1.4.5-I believe, also seems to have changed
(written over) include_path and extension_dir settings of php.ini
changing them to .;C:\php5 and C:\php5\ext when there is no dir
or reference to php5 in ini's registry etc ( only C:\php )

I've run into some other related obstacles using Pear and Smarty on
shared-host env.
I'd like to be able to use Smarty, even in subdirectories and not have
to hardcode path.
While a recent version of Pear (1.4.0) claims to sync local and
shared-host Pear modules, the instructions ask you to install locally
in a very non-standard area. ??? why ???

I'm running PHP 5.0.5 on WinXP - anyone else have this experience ?
What's the best way to fix it ? TIA

Jan 4 '06 #1
2 1294
On 4 Jan 2006 15:11:18 -0800, "awebguynow" <i_****@hotmail.com> wrote:
I don't think that's my case, because I can't find PHP5 in registry or
any left-over ini's.
This is a new PC that I use on the weekends mostly.

The latest Pear version 1.4.5-I believe, also seems to have changed
(written over) include_path and extension_dir settings of php.ini
changing them to .;C:\php5 and C:\php5\ext when there is no dir
or reference to php5 in ini's registry etc ( only C:\php )


If you're seeing these paths, it is more likely that it's not reading _any_
configuration data, and is instead falling back to these compiled-in defaults.

Check permissions, and the output of phpinfo() to see whether it's claiming to
see a configuration file.

--
Andy Hassall :: an**@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
Jan 5 '06 #2
Well, I'll be darn. It stated it was using
C:\Windows\php.ini
when there was none there !!!
Because I forgot to set the Apache2 directive: PHPIniDir
it assumes C:\Windows\
Situation solved, thank you for you help.

ps: I'm still curious about this issue, as I restate it here:
While a recent version of Pear (1.4.0) claims to sync local and
shared-host Pear modules, the instructions ask you to install locally
in a very non-standard area. ??? why ???

Jan 14 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
by: Tim Tyler | last post by:
I've been using PHP for a while now - and have recently been trying to set up PHP, MySQL and Apache on Windows (for a client). It seems like all the PEAR stuff under PHP 5 doesn't work out of the...
0
by: Michel P. | last post by:
Hi, I'm trying to install the bcompiler extension, under PHP 5.0.4 / Apache / FreeBSD, but can't finalize the install process... Has anybody allready done it ? I'm using the recommended...
4
by: petermichaux | last post by:
Hi, I have installed PHP 5.0.3 for OS X. I have read in several places that PEAR is included in recent installations of PHP. I'm having trouble getting PEAR DB working. How would I know or test...
2
by: Jay | last post by:
Newbie alert. Is the standard php library exclusively for PHP5 or is there one for PHP4? How do I start using it? Is there a require or include directive needed in order to make use of it? ...
1
by: webguynow | last post by:
I've installed PEAR in my local area, on my shared host, under htdocs but I'm anticipating a number of issues. I'm forcing use of PHP5 with an .htaccess file, but by default the host runs ...
1
by: IchBin | last post by:
I am new to PHP and I am running on Windoze XP SP 2. Just noticed that the PEAR installed dir structure I have (to DB subdir) is : C:\php5.2\PEAR\pear\DB My registry vars are:...
0
snowdonkey
by: snowdonkey | last post by:
I'm trying to use the Mail package from PEAR in a script that sends an e-mail over SMTP. The problem is that the Mail class in Mail.php provided by the package isn't found by the script. I'm using:...
4
by: inetquestion | last post by:
php has been configured with the following two configure lines and core's during "make install" on the PEAR section. Is there something simple i'm missing? Any help would be appreciated. ...
5
by: john | last post by:
All: Very experienced developer, newbie to PHP. My situation: I have installed on my WIndows XP machine the following: * PHP 5.2.1 * MySQL 5.0 * Apache 2.2 All of these are installed...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.