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 2 1305
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.u k :: http://www.andyh.co.uk http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
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 ??? This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 box.
It took me a while to track down the go-pear.bat file in the root -
what with all the other garbage in there.
Shouldn't this file get at least a mention in:
|
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 method (in the file "package.xml", in the .tgz
file downloaded from PECL): using Pear ("For install instructions see
the manual at pear.php.net").
|
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 to see if it was
included in my installation?
Just in case it helps I've attached the phpinfo() configure line below
Thanks,
|
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?
Same question for PEAR. Is there a PEAR for PHP4 or only for PHP5? How do I
start using its facilities? Is there a require or include directive?
Lastly, I'd like to start using templates. From what I've read, they
|
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 PHP4
That could mean that pear is installed under the php4/ area, but not
php5 ?
go-pear prompted me to install a number of packages, including DB,
which my webhost already has made available. If I do install DB using
| |
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:
"PHP_PEAR_SYSCONF_DIR"="C:\\php5.2\\PEAR"
"PHP_PEAR_INSTALL_DIR"="C:\\php5.2\\PEAR\\pear"
"PHP_PEAR_DOC_DIR"="C:\\php5.2\\PEAR\\pear\\docs"
"PHP_PEAR_BIN_DIR"="C:\\php5.2\\PEAR"
"PHP_PEAR_DATA_DIR"="C:\\php5.2\\PEAR\\pear\\data"
|
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:
require_once "Mail.php";
and I get the messages:
I've made sure that include_path in my php.ini file is directed to my PEAR folder containing pear.bat. It looks like this (I've tried different capitalizations):
; Windows:...
|
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.
Environment:
Solaris 9
php 5.2.1
GNU Make 3.81
gcc 4.1.1
|
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 under C:\Program Files under their own
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| | |