473,699 Members | 2,745 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How do I get extensions to load?

I am unable to get IIS on Vista to pick-up the php extension
directory.

This is what I have coded in php.ini yet phpinfo() doesn't reflect it.
I have stopped/started the web server several times. I haven't
rebooted my machine yet and hope it's unnecessary. Does anyone have
any suggestions?
extension_dir = ".;c:\php5\ ext"

<?php phpinfo(); ?output:

Loaded Configuration File C:\Windows\php. ini
local value master value
extension_dir ./ ./

Thank you!
Nov 29 '07 #1
2 1625
Big Moxy wrote:
I am unable to get IIS on Vista to pick-up the php extension
directory.

This is what I have coded in php.ini yet phpinfo() doesn't reflect it.
I have stopped/started the web server several times. I haven't
rebooted my machine yet and hope it's unnecessary. Does anyone have
any suggestions?
extension_dir = ".;c:\php5\ ext"

<?php phpinfo(); ?output:

Loaded Configuration File C:\Windows\php. ini
local value master value
extension_dir ./ ./

Thank you!
Most probably your are editting the wrong php.ini file.
Check in your phpinfo() which php.ini IIS is using.
The path is listed.

Even if php doesn't find a php.ini, it will use a default version, which
you , of course, cannot control.

Regards,
Erwin Moller

PS: I am running PHP5 on Vista too. Do you also get the dreaded 'Worker
thread stopped responding' from time to time while all applications keep
running?
Nov 29 '07 #2
On Nov 29, 1:08 am, Erwin Moller
<Since_humans_r ead_this_I_am_s pammed_too_m... @spamyourself.c omwrote:
Big Moxy wrote:
I am unable to get IIS on Vista to pick-up the php extension
directory.
This is what I have coded in php.ini yet phpinfo() doesn't reflect it.
I have stopped/started the web server several times. I haven't
rebooted my machine yet and hope it's unnecessary. Does anyone have
any suggestions?
extension_dir = ".;c:\php5\ ext"
<?php phpinfo(); ?output:
Loaded Configuration File C:\Windows\php. ini
local value master value
extension_dir ./ ./
Thank you!

Most probably your are editting the wrong php.ini file.
Check in your phpinfo() which php.ini IIS is using.
The path is listed.

Even if php doesn't find a php.ini, it will use a default version, which
you , of course, cannot control.

Regards,
Erwin Moller

PS: I am running PHP5 on Vista too. Do you also get the dreaded 'Worker
thread stopped responding' from time to time while all applications keep
running?- Hide quoted text -

- Show quoted text -
I provided the phpinfo() output in my original post. It is using
php.ini from c:\Windows.

I searched all of my hard drives and there are two php.ini files. One
in c:\Windows and one in c:\php5 (my php installation directory). Both
files are identical as I edit the c:\php5 file and then copy it to c:
\Windows.

Yes, I do get the dreaded 'Worker thread stopped responding' message.
It happens all too frequently for my liking.

What else could be happening?
Nov 29 '07 #3

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

Similar topics

1
2558
by: Dennis Lee | last post by:
My OS is Winxp . My web server is apache 2 which is installed as a NT service . My php version is 4.32 , and I extracted it into "c:\php" . I run php as a apache module . I want to load Additional extensions .They are php_mbstring.dll, php_xslt.dll and php_domxml.dll .
3
2528
by: Dennis Lee | last post by:
My OS is Winxp . My web server is apache 2 which is installed as a NT service . My php version is 4.32 , and I extracted it into "c:\php" . I run php as a apache module . I want to load Additional extensions .They are php_mbstring.dll, php_xslt.dll and php_domxml.dll .
1
8218
by: George Adams | last post by:
I like the idea of compiling DSO modules for Apache. It allows me to turn on or off things we may or may not need at a given time (like mod_ssl, mod_auth_mysql, mod_auth_ldap, etc.) and also allows me to compile in new versions of modules without having to rebuild Apache from scratch. Now, when I build PHP, I tend to put in a lot of things. Like:
2
2442
by: Sebastian Morawietz | last post by:
Hi, I'm busy porting a PHP-Extension written by the company I work for from Linux to Win32 (XP). Everything worked fine. I fixed the errors and warnings, copied the dll to the extensions directory, entered the dll as extension into php.ini and this is, where trouble starts. When PHP is called on apache starting up, it throws an error at me saying "Unknown(): Unable to load dynamic library '...' Module not found.
0
1557
by: Unknown User | last post by:
Yesterday I did a fresh install of Apache 2, PHP5 as CGI and MySQL 4 on WinXP. Apache and PHP work fine, MySQL works fine in the command line, but I can't have PHP to find the MySQL extensions. I installed phpMyAdmin, and this is how I found out that PHP didn't find the extensions because I got this error message: "PHP Startup: Unable to load dynamic library 'C:/Arquivos de Programas/PHP5/php_mysql.dll'"
4
2785
by: Thomas | last post by:
I would like to use something like .x rather than .aspx for my asp.net projects. One reason is, I'd rather everyone not know what language/platform our projects are written in. (I like security AND obscurity on our site.) Right now it is trivial to use Google to find all pages using asp.net, with a google search for .aspx files. If an exploit comes out for .net stuff, Google becomes a hacker's tool to locate pages to exploit quite easily....
3
7486
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 on her local machine. Everything looks pretty good. OpenLDAP/cygwin works great. PostgreSQL works great. Apache runs. PHP runs. But when I try to connect to my PostgreSQL server using PHPPgAdmin, I
2
151650
by: antonyliu2002 | last post by:
I am testing AJAX. I've downloaded the AJAX Extension and the CTP December package and installed on BOTH my development machine and the production server. Then I created a very very simple web application, which contains a button and a label. When the button is clicked, some message is shown on the label. That's it. The AJAX works great on my development machine, but on the production server, I got the typical error as follows:
0
1900
by: dirtycow | last post by:
Hi all, I'm trying to compile PHP 5.2.1 on my Ubuntu 6.10 server. I've downloaded the source code from php.net and am running the following "configure" command on it: ../configure --with-apxs2=/usr/bin/apxs2 --with-mysql --with-informix=/opt/informix --enable-shared --enable-pdo=shared --without-sqlite --without-pdo-sqlite --with-pdo-mysql=shared --with-zlib --with-xml --with-pdo-informix=shared,/opt/informix
0
6354
by: Adam Salisbury | last post by:
**To members of microsoft.public.dotnet.framework, apologies for the crosspost. I originally posted this message into that group however have since realised this may have been a better destination** Hi all, Wondering if anyone can help me out with an assemblies problem I'm having.
0
8705
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, 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...
0
8623
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,...
0
9054
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 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...
0
7784
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4390
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4637
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3071
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2362
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2015
bsmnconsultancy
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...

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.