473,395 Members | 1,915 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,395 software developers and data experts.

extension_dir bug in PHP 5.0.3?


I figured I would drop this out here for comment and general info. PHP
5.0.3 on Windows 2000 SP4 / IIS running as ISAPI. You cannot seem to
change the "extension_dir" value via the php.ini file (and yes I have
only one). No matter what value I give it (c:\php\ext) phpinfo()
always returns c:\php5 as the extensions dir.

Frustrating.

J

Jul 17 '05 #1
2 2069
On 15 Mar 2005 08:56:31 -0800, "James" <st******@gmail.com> wrote:
I figured I would drop this out here for comment and general info. PHP
5.0.3 on Windows 2000 SP4 / IIS running as ISAPI. You cannot seem to
change the "extension_dir" value via the php.ini file (and yes I have
only one). No matter what value I give it (c:\php\ext) phpinfo()
always returns c:\php5 as the extensions dir.


That's the compiled in default. If you're getting that, you've not got php.ini
in the right place or it's not accessible.

See also news:11*************@corp.supernews.com

I've just started up IIS with 5.0.3 and it's picked up extension_dir fine.

--
Andy Hassall / <an**@andyh.co.uk> / <http://www.andyh.co.uk>
<http://www.andyhsoftware.co.uk/space> Space: disk usage analysis tool
Jul 17 '05 #2

Thanks Andy --

I had to grant permissions on the IIS_USR to read the file in c:\winnt.
After that all went well -- despite the php docs PHP didnt pick up the
registry entry that would allow me to specify where the ini file lived.
It was quite a suprise to see php functioning without the ini file ....

Jul 17 '05 #3

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

Similar topics

3
by: Thierry B. | last post by:
Hi, I used Apache and Omnihttpd web servers with php for a long time on my test server without any problem. Recently I installed IIS for W2K workstation. All three servers share the same doc...
19
by: Nancy | last post by:
Hi, When I start my PC(winXP Pro), it always says: Unknown(): Unable toload dynamic library './php_msql.dll' - The specified module could not be found. Then my Apache servre starts, load php...
9
by: Michael Bradley-Robbins | last post by:
How do I set up the extension_dir in windows to point to "c:\php\ext"? I've tried almost everything.
6
by: Damien | last post by:
Dear All, I'm having LOTS of troubles setting the extensions directory under windows. On my "testing" server (windows XP, IIS), I could set the directory to : extension_dir = ./extensions/ ...
3
by: Chris Paul | last post by:
I'm having trouble with PHP & PostgreSQL/OpenLDAP/Apache on Windows. I've set this up countless times on BSD (piece of cake) but I'm trying to do this on Windows now so that my developer can work...
8
by: kevin.baert | last post by:
Hi I'm using PHP 4.3.1 on IIS6 and I'm trying to get GD2 to work ... I've modified PHP.ini (extension_dir= c:\php\extension + removed the ;) but the only result is that php refuses to work after...
15
by: pdhb_1 | last post by:
I'm trying to run Apache2.2.6 with php. However, I keep getting a long list of error messages in the log file indicating that includes are failing. For example, "PHP Warning: PHP Startup:...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
marktang
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,...
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
jinu1996
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...

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.