473,700 Members | 2,729 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

"Invalid Access to Memory Location" - PHP and MySQL Configuration Problem

Hi All,

This morning I have installed and configured Apache, MySQL and PHP on a
Windows Server 2003 machine. Everything appears to be working fine, except
that I keep getting an error message each time PHP starts up:

PHP Startup: Unable to load dynamic library 'c:\php\ext\php _mysqli.dll'
Invalid Access to memory location.

I have checked the PHP and MySQL websites and it seems this is a known issue
with MySQL. However I can't find a work around.

Given that I am about to start work on a new PHP and SQL app this is a
problem for me. :)

Any suggestions?

I am using Apache 2.2, PHP 5.2.4 (installed manually) and MySQL 5.0.41.

Thanks,

F
Sep 9 '07 #1
4 6887
Mr Fuzzi wrote:
Hi All,

This morning I have installed and configured Apache, MySQL and PHP on a
Windows Server 2003 machine. Everything appears to be working fine, except
that I keep getting an error message each time PHP starts up:

PHP Startup: Unable to load dynamic library 'c:\php\ext\php _mysqli.dll'
Invalid Access to memory location.

I have checked the PHP and MySQL websites and it seems this is a known issue
with MySQL. However I can't find a work around.

Given that I am about to start work on a new PHP and SQL app this is a
problem for me. :)

Any suggestions?

I am using Apache 2.2, PHP 5.2.4 (installed manually) and MySQL 5.0.41.

Thanks,

F

You said it's a known issue with MySQL. So why are you asking in a PHP
newsgroup?

--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attgl obal.net
=============== ===
Sep 9 '07 #2
Hi Jerry,

Thanks for taking the time to reply to my posting.
You said it's a known issue with MySQL. So why are you asking in a PHP
newsgroup?
I should clarify - from what I can tell from the postings on PHP.net it
seems to be a known issue with *interfacing* between the my SQL DLL and PHP.

Here is some more information:
http://bugs.mysql.com/bug.php?id=28358

I am sure other PHP developers must have come across this - I would
certainly be interested in work around employed to get PHP and SQL talking
to each other. :)

Kind Regards,

Fuzzi
Sep 9 '07 #3

Just managed to fix this.

I downloaded the latest version of MySQL (5.0.45), removed the previous
installation from my machine, installed the new version and hey presto
everything is now working.

Right - now I can get on with some coding. :)
"Mr Fuzzi" <ra****@hotmail .comwrote in message
news:vs******** *************** *******@pipex.n et...
Hi All,

This morning I have installed and configured Apache, MySQL and PHP on a
Windows Server 2003 machine. Everything appears to be working fine, except
that I keep getting an error message each time PHP starts up:

PHP Startup: Unable to load dynamic library 'c:\php\ext\php _mysqli.dll'
Invalid Access to memory location.

I have checked the PHP and MySQL websites and it seems this is a known
issue with MySQL. However I can't find a work around.

Given that I am about to start work on a new PHP and SQL app this is a
problem for me. :)

Any suggestions?

I am using Apache 2.2, PHP 5.2.4 (installed manually) and MySQL 5.0.41.

Thanks,

F

Sep 9 '07 #4
Mr Fuzzi wrote:
Hi Jerry,

Thanks for taking the time to reply to my posting.
>You said it's a known issue with MySQL. So why are you asking in a PHP
newsgroup?

I should clarify - from what I can tell from the postings on PHP.net it
seems to be a known issue with *interfacing* between the my SQL DLL and PHP.

Here is some more information:
http://bugs.mysql.com/bug.php?id=28358

I am sure other PHP developers must have come across this - I would
certainly be interested in work around employed to get PHP and SQL talking
to each other. :)

Kind Regards,

Fuzzi

Yes, and it seems to be a bug in the library for MySQL 5.0.41.

--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attgl obal.net
=============== ===
Sep 9 '07 #5

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

Similar topics

0
2040
by: Andreas Suurkuusk | last post by:
Hi, I just noticed your post in the "C# memory problem: no end for our problem?" thread. In the post you implied that I do not how the garbage collector works and that I mislead people. Since the thread is over a month old, I decided to start a new one with my response. Please see my comments inline.
1
3888
by: Ron | last post by:
I am trying to run asp.net pages. The server is accessed via http://sitename/username I have verified it is using port 80 and aspx extensions are configured. But when I run and asp.net page I get the following error: Invalid file name for monitoring: 'E:\'. File names for monitoring must have absolute paths, and no wildcards. Description: An unhandled exception occurred during the
2
22805
by: hvaisane | last post by:
Valgrind says ==11604== Invalid read of size 4 ==11604== at 0x8048ABB: main (foo.cc:36) ==11604== Address 0x1B92415C is 4 bytes inside a block of size 8 free'd ==11604== at 0x1B90514F: operator delete(void*) (vg_replace_malloc.c:156) ==11604== by 0x804A1BA: __gnu_cxx::new_allocator<Foo>::deallocate(Foo*, unsigned) (new_allocator.h:86) ==11604== by 0x8049C08: std::_Vector_base<Foo, std::allocator<Foo> >::_M_deallocate(Foo*,...
1
4173
by: Andrew McNab | last post by:
Hi folks, I have a problem with an MS Access SQL query which is being used in an Access Report, and am wondering if anyone can help. Basically, my query (shown below) gets some records from a couple of tables in my database using INNER JOINS and the WHERE clause to specify the required constraints. However, I also want to read two fields from a *single* record from a table called 'Locations' and then apply one of these field's values...
7
17877
by: Dica | last post by:
i've used the sample code from msdn to create an encyption/decryption assembly as found here: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/SecNetHT10.asp i'm able to encrypt and then decrypt data okay as in the following code: // encrypt the data // Encryptor enc = new Encryptor(EncryptionAlgorithm.TripleDes); byte key = Encoding.ASCII.GetBytes("0123456789012345");
9
1801
by: mvsguy | last post by:
I'm a Notes admin tasked with fixing an Access problem. I hope someone will be gracious enough to help. The database is getting a 3420, object not defined, and I need to find all the places where the object is referenced. In Notes, I'd just get a synopsis which shows all executable lines of code in the entire database. Does Access have a similar function?
1
2637
by: Dameon99 | last post by:
Hi, I have just spent many hours debugging my code and now when I run it I get the following error: "An access violation (Segmentation fault) raised in your program" I have researched on this and found that it is usually the result of faulty pointers or memory that is not allocated. However I have allocated all of my memory corectly (I feel) and my pointers look to be correct.. Is there another reason my code could be causing this error?...
0
141
by: Steve Holden | last post by:
Hank @ITGroup wrote: Well, now you've told us a little more about your application I can understand that you need to be careful with memory allocation. The best thing you can do is to ensure that your program is reasonably decomposed into functions. That way the local namespaces have limited lifetimes, and only the values that they return are injected into the environment. You also need to be careful in exception processing that you...
9
4557
by: 200dogz | last post by:
Hi guys, I want to have a button which opens up a new window when pressed. <asp:Button ID="Button1" runat="server" Text="Open new window" /> ... Button1.Attributes.Add("OnClick",
0
8714
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
9060
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
8912
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...
0
7797
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...
1
6557
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
4396
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...
1
3082
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
2379
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2021
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.