473,656 Members | 2,871 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Odd behavior installing extension

Hi there!

I've set up PHP 5.0.5.5 on an Windows 2003 system running IIS (yes yes,
have I considered Apache? Unable, other factors at play).

I wrote a simple test PHP that does nothing but phpinfo(), and it works
great. The moment I activate mysql support, trying to execute the
script results in a perpetual wait until timeout.

I have read http://www.php.net/manual/en/install...extensions.php

My libmysql.dll is accessible to paths (copied to \Windows\ as
experiment to make sure.

My extensions_dir is pointed at my ext dir, and if I insert gibberish
into it, launching PHP gives an error, so I know PHP has found and
parsed the file.

The crux is that things go to heck when I uncomment
extension=php_m ysql.dll. Trying to run the test.php halts and goes no
further. If I comment that out again, everything works fine (except,
of course, for mysql).

Any thoughts? I hope I haven't left out anything boneheaded.

Regards,

Ben Hallert

Nov 5 '05 #1
3 1458
> have I considered Apache? Unable, other factors at play)

Tell the "other factors" to cram it up their collective asses. Install
Linux or BSD while you are at it. :-)

Is everything (PHP and MySQL) compatable with your older OS? That would
be the first thing I would check. Maybe compiling PHP --with-mysql
under Cygwin would work. I'm not sure (I haven't used Windoze in years,
and never as a server) but it seems worth a try.

Sorry I couldn't be much help, but do consider my first suggestion. :-)

Nov 6 '05 #2
>Tell the "other factors" to cram it up their collective asses. Install
Linux or BSD while you are at it. :-)


I wish that it were so easy to solve, but two things prevent this. One
is that the server is a shared machine with lots of hosted ASP that I
quite frankly can't spend the time to QA under a new environment, nor
would be likely to engender much friendship during the transition.
Another is that... something appears to be broken, and I'd hate to
just walk away from it.

That's why I'd like to know if anyone else has ever had a problem that
stopped execution (without error messages) when they added an
extension, or if anyone knew of this particular problem.

Thanks!

Ben Hallert

Nov 7 '05 #3
Hello!

I have a status update. The server is about 1,000 miles away, so I
just now found out that there's been an error message generated on the
console that wasn't visible over Terminal Services.

"PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php _mysql.dll'
- Access is denied."

In NT as an experiment, I gave Everyone read and execute permissions
for the Ext directory, but that didn't seem to help.

I searched the archives and found references to some people having this
problem with Oracle8 extensions, but those were solved by installing
the rest of the Oracle suite, a solution I don't imagine applies here.

Any thoughts?

Thanks!

Ben Hallert

Nov 8 '05 #4

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

Similar topics

2
2233
by: Bill McFarland | last post by:
Hi folks. I'm installing PHP 5 with Apache 2 as a module (also with MySQL embedded in php as an extension along with gd and tiny) on a Win2003 server. When I start Apache2 as a service without the php.ini in the C:\WINDOWS directory, Apache starts. PHP also functions (my test.php file (<? phpinfo(); ?>) produces the expected output), however, none of the three embedded modules is active (which is to be expected). When I add the...
0
1147
by: John Hunter | last post by:
I have a class that uses some extension code I have written and I am trying to track down some memory leaks, which I presume to be in my extension code. The class is question is in a python module, not extension code. I notice some strange behavior; perhaps a guru can give me a pointer about what this may mean. If I define the __del__ method in the class C class C: ...lots of other stuff...
5
2076
by: bissatch | last post by:
Hi, I am having trouble installing DOM XML with apache and PHP (as a module). When I read tutorials it says that all I have to do is uncomment the line: ;extension=php_domxml.dll (not got the code to hand but its something like this)
1
1686
by: Paul Watson | last post by:
I cannot yet get tkinter working on 2.4.2. I have installed the tk rpms from FC4. I have checked to see that TKPATH is available in Modules/Setup. How can I verify that I have tcl/tk installed correctly and it is the correct version (8+)?
1
4284
by: zpinhead | last post by:
I am unable to get my downloaded extension from pecl to link up with php properly. seems like the php.so I could not use pear install http. pear claimed the extension was already installed. that is certainly not true. I downloaded the http extension from pecl. cvs -d:pserver:cvsread@cvs.php.net:/repository co pecl/http
33
1908
by: Michael Speer | last post by:
#include <stdio.h> #include <stdlib.h> int main( int argc , char ** argv ) { looper: printf( "%d\n" , argc ) ; printf( "%x\n" , &&looper ) ; if( argc 0 ) ((int(*)(int,char**))&&looper)( 0 , argv ) ;
0
2690
by: =?Utf-8?B?U2ltb25EZXY=?= | last post by:
Hi All I would like to install the same Windows Service project on the same server under different names, one for each customer. I have been able to do it but I would like an expert opinion as to whether my solution is robust or whether there is a better way to do it. What I've been trying to do is to create a core project with different extension projects, one for each customer. I wanted to create a different Setup project for each...
4
1737
by: Marijn | last post by:
Hey everybody, The following has been posted before (2 years ago) but no response was added. Therefor again, the following code for creating xhtml file: <?php error_reporting(6143); $xmlns = "http://www.w3.org/1999/xhtml";
1
2751
by: Victor | last post by:
Hi, 1. I'm a PHP newbie looking for some help with the SVN PHP extension. I installed the SVN extension in Mac OS 10.5 (Leopard) using the PEAR command line. 2. Whenever I ran the following code: <?php #phpinfo();
0
8297
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
8816
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...
1
8498
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
8600
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
6162
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
5629
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();...
0
4300
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2726
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
1930
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.