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

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_mysql.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 1446
> 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
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...
0
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...
5
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...
1
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...
1
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....
33
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 ,...
0
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...
4
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); ...
1
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...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
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...
0
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,...
0
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...

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.