473,749 Members | 2,402 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 1630
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
2560
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
2529
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
8219
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
2443
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
1559
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
2791
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
7488
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
151656
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
1902
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
6361
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
8832
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
9566
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, 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...
0
9388
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...
1
9333
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,...
0
9254
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 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...
1
6800
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6078
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();...
1
3319
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
2791
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.