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!! 12 2169
universalbitmap per wrote: 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!!
A couple of things..
1. when you say 'PHP complains that he doesn't know this function', is
that from running from the command line or from apache?
2. If apache, try moving the libmysql.dll to the apache2/bin directory.
3. If apache, try running a small mysql php file from the command line.
4. What does php_info() tell you?
-david-
universalbitmap per,
Dude, just use MSAS 4.5.2 or whatever release is out now! It's the
easiest way to get all three services up and running.
~pizzy
Hi,
many thanks for your reply,
I'll try points 2 and 3 ASAP but I never ran PHP/MySQL from the command
line, so it's going to take some time.
I have a full .php script that connects to MySQL, serves a query,
extracts the results and displays them in a table and is working on
MySQL 4, that come from a package called WAMP.
Now when I run the exact same script with mysql 5 I get the message in
the Internet Explorer 6 window:
Fatal error: Call to undefined function mysql_connect() in
C:\jbmorla\data \sources\php\ww w\database\data base.php on line 25
In the Wamp site faq, there is a question, why don't u propose MySQL 5
and they reply it's because now MySQL 5 doesnot accept password
authentificatio n, so you have to use mysqli.dll instead of mysql.dll.
Point 4 php_info()
I don't know this function, I'll try it now, I'll keep you posted.
universalbitmap per,
Dude, just use MSAS 4.5.2 or whatever release is out now! It's the
easiest way to get all three services up and running.
~pizzy
Hi,
I just visited the mamboserver site, I did not find any mention of php,
mysql or apache.
But I'll download it, just to check what's in the zip.
Many thanks.
Hi,
about phpinfo(),
I just ran phpinfo(), which should return the full configuration, it
says nothing about MySQL.
I'm pretty sure it's just a question of having the right .dll in the
right directory and some settings in the php.ini.
universalbitmap per wrote: Hi, about phpinfo(), I just ran phpinfo(), which should return the full configuration, it says nothing about MySQL. I'm pretty sure it's just a question of having the right .dll in the right directory and some settings in the php.ini.
If phpinfo does not say anything about MySQL, then the mysql dll is not
being loaded. Typically that means that the php.ini file is not being
read or has not been set up correctly.
Do the other settings you are seeing from phpinfo() make sense? Do they
correspond to the php.ini file? Is there any chance there is another
instance of php on the system?
Also, is there a php_mysql.dll and php_mysqli.dll in c:\php\ext?
-david-
I personally don't like the template idea of Mambo because I like to
code my own stuff, but this MSAS is really an easy way to get a web
server up and running in minutes. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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.
|
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...
|
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
|
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...
|
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...
| |
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-
|
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
|
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
|
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...
|
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,...
|
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...
| |
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...
|
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...
|
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...
|
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...
|
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
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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...
| | |