473,748 Members | 2,891 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

[PHP 5 MySQL 5 Apache2 win32]Hi everybody, I'm really stuck

Am I the only one on this planet to try:

PHP 5
MySQL 5
Apache 2

On Windows XP no firewall

With Symantec Norton Internet

I got apache 2 and PHP 5 to work fine.

Previously, using a package called Wamp 5 ( PHP5, Apache 1.3., MySQL 4)
, I managed to read a table in a PHP page.

No I got an error message at the first MYSQL function:

$database = mysql_connect( $server, $user, $password )

PHP complains that he doesn't know this function.

I have these lines in the php.ini file:
extension_dir = "c:\php\ext "
and both
extension=php_m ysqli.dll
extension=php_m ysql.dll
just in case he wants to pick one.

Also I copied this dll in c:\windows\syst em32
libmysql.dll

So I'm really at a loss, and frustrated, I feel like I done my homework
and got an F--.

I really do need MySQL 5 for the triggers and I don't feel like
configuring Apache 1.3 for security now and having to do it again later
for Apache 2 from scratch.

I'm ready to everything, even reading some wikipedia faq if I have to.

PPPlease help!!

Feb 21 '06
12 2173
Hi, I tried it too, in the end I found that PHP5 no longer supports
MySQL as a built-in component like it used to. The reason for this is
that MySQL gone fully commercial since version 4, PHP doesn't ship with
the driver any longer. The MySQL dll's packed with PHP now only
supports MySQL 3.

It's been such a long time ago that I may have gotten some facts or
info wrong here.

Feb 22 '06 #11
Hi, 200602221028

After a late nite of research I got a message indicating that there is
a new version of WAMP that supports both PHP 5 and MySQL 5.
I just installed it and tried /localhost/ and got the wamp welcome
page. PhPMyAdmin is also included, which spares a lot of make hassle.
Now I'll try MySQL 5.
I'll keep you posted.

Feb 22 '06 #12
Yes! Yes! Yes!

I got the database.php script running first try, MySQL5, PHP 5, Apache
2.
Kudos for the WAMP project.
The world is my fried oyster.

Many thanks for your replies

Feb 22 '06 #13

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

Similar topics

13
7893
by: Gurtaj | last post by:
Hello! I am working with PHP and MySQL in a proyect with some partners of our university, and we are thinking about building some classes and use inheritance and polymorphism. The problem is that we are not sure of PHP implementing polymorphism and we couldn't find info about it. I will really appreciate if someone could give us some recommendations about some books to read about it and/or pages to look for some info. Thanks for all.
7
3364
by: AF | last post by:
I am a real novice to php and MySQL, with about a week's worth of reading and self tutoring. I have an urgent need to publish a database of information and need some guidance on how to do this. This question might be more suited to a MySQL newsgroup, but since php and MySQL seem to have become almost married to one another, and since getting the data out and displaying it is where my problem seems to lie, I thought I would start with...
22
2135
by: godfader | last post by:
I read somewhere that asp is much more better.if someone has plan to do more complex job (like web shop or with databases) than it is better for that person to learn asp. is that true? why? any experience
6
3011
by: surfivor | last post by:
I may be involved in a data migration project involving databases and creating XML feeds. Our site is PHP based, so I imagine the team might suggest PHP, but I had a look at the PHP documentation for one of the Pear modules for creating XML and it didn't look like much. I've used Perl XML:Twig and I have the impression that there is more Perl stuff available as well as the Perl stuff being well documented as I have a Perl DBI book, a Perl...
4
3706
by: billb | last post by:
I installed a perl extension for PHP to use some perl inside my php primarily because I have perl working with oracle and not php and oracle. So I want to use my old perl scripts, and use the functionality of php. The extension uses the '$perl->eval' function. i am kind of stuck with the syntax or how to put the php variable into the perl script. I have a form where the user puts in a grid reference. Then a php script that gets the...
66
4680
by: flarosa | last post by:
Hi, I'm wondering if I can get a reasonably civil (without starting any huge wars) opinion on how server-side PHP compares to server-side Java. I've been strictly a Java developer for almost 10 years now, and I'm pretty happy with it. However, I can't help but notice that there are a significant amount of PHP-based development projects where I live, and I've also noticed when searching around the internet for ready-
4
1522
by: Viator | last post by:
Hi folks, I have a basic question. When I do object-oriented programming using C++ or Java, all my objects reside in RAM. I do not have to think about storing and retrieving them, because they are in RAM and that space has been allocated for them and the program is continually running, so neither program nor objects are going to disappear. It seems to me, having never done OOP in PHP, that this
7
1285
by: Daniel Klein | last post by:
Seeing as PHP is a dynamic language (like Python and Smalltalk), I don't see what use an Interface has other than to satisfy a contract. Why were they even added to the language? Can anyone think of any reason that that they would be required? I guess these are more rhetorical questions, but I woke up this morning and it bothered me so much that I felt like starting a discussion :-) Daniel Klein
69
2911
by: notbob | last post by:
I'm not posting this just to initiate some religious flame war, though it's the perfect subject to do so. No, I actaully want some serious advice about these two languages and since I think usenet is the best arena to find it, here ya' go. So, here's my delimna: I want to start a blog. Yeah, who doesn't. Yet, I want learn the guts of it instead of just booting up some wordwank or whatever. I started to learn python, but heard php was...
0
9366
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
9316
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
9241
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
8239
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
6073
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
4597
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
3303
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
2777
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2211
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.