I installed Apache, php5 and MySQL 5. The usual <?php phpinfo(); ?gives
the php info, but there is no sign of MySQL, so something is wrong.
I installed the latest connectors. Can someone help me getting php and
MySQL interconnect?
--
Groet,
Adriana
[ gooi de vuilnis weg als je me wilt mailen ] www.spinsister.nl 8 2996
A.Translator schrieb:
I installed Apache, php5 and MySQL 5. The usual <?php phpinfo(); ?>
gives the php info, but there is no sign of MySQL, so something is wrong.
I installed the latest connectors. Can someone help me getting php and
MySQL interconnect?
Are the connectors in the binary? If not check if they are loaded in the
php.ini
adlerweb schreef op 5-2-2007
Are the connectors in the binary? If not check if they are loaded in the
php.ini
Thanks for your prompt reply but sorry, I am new to all this. You mean in
the MySql bin folder? No, I understood I had to put them in the PHP and
PHP extensions folders.
I cannot find anything about them getting loaded in de php.ini either.
What should I add?
--
Groet,
Adriana
[ gooi de vuilnis weg als je me wilt mailen ] www.spinsister.nl
Try to add this line to your php.ini
extension = mysql.so
then restart apache and try again. This should load the MySQL-Extension.
A.Translator schrieb:
Thanks for your prompt reply but sorry, I am new to all this. You mean
in the MySql bin folder? No, I understood I had to put them in the PHP
and PHP extensions folders.
I cannot find anything about them getting loaded in de php.ini either.
What should I add?
A.Translator wrote:
Thanks for your prompt reply but sorry, I am new to all this. You mean
in the MySql bin folder? No, I understood I had to put them in the PHP
and PHP extensions folders.
I cannot find anything about them getting loaded in de php.ini either.
What should I add?
On Windows you should have a line in php.ini such as:
extension=php_mysql.dll (or extension=php_mysqli.dll when using mysqli).
On Linux it should be something like: extension=mysql.so
Also make sure the extension_dir setting is set to the right directory.
HTH.
Ruben.
Ruben van Engelenburg schreef op 5-2-2007
On Windows you should have a line in php.ini such as:
extension=php_mysql.dll (or extension=php_mysqli.dll when using mysqli).
OK, thanks. (dank je,aan je naam te zien). The dir is pointing to the
right place, but I had enabled extension_msql.
--
Groet,
Adriana
[ gooi de vuilnis weg als je me wilt mailen ] www.spinsister.nl
A.Translator schreef op 5-2-2007
but I had enabled extension_msql.
No change now that I activated the right extension. I think the problem
has to do with the path to the php.ini. It is actually in C:\PHP\ but the
php.info shows it to be in C:\Windows. So I copied it there. The info
says: C:\WINDOWS not C:\WINDOWS\php.ini as I have seen in several
examples. Can I fix that?
--
Groet,
Adriana
[ gooi de vuilnis weg als je me wilt mailen ] www.spinsister.nl
A.Translator schreef op 5-2-2007
I installed Apache, php5 and MySQL 5. The usual <?php phpinfo(); ?>
gives the php info, but there is no sign of MySQL, so something is
wrong.
Fixed it. The path to windows was messed up.
--
Groet,
Adriana
[ gooi de vuilnis weg als je me wilt mailen ] www.spinsister.nl
A.Translator wrote:
A.Translator schreef op 5-2-2007
>but I had enabled extension_msql.
No change now that I activated the right extension. I think the problem
has to do with the path to the php.ini. It is actually in C:\PHP\ but
the php.info shows it to be in C:\Windows. So I copied it there. The
info says: C:\WINDOWS not C:\WINDOWS\php.ini as I have seen in several
examples. Can I fix that?
Not sure what web server you're using, but Apache "likes" the php.ini to
be in apache/bin This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Eric W. Holzapfel |
last post by:
Hello PHP group,
I have mysql running on a linux box. I have apache (2.0.4) running on a
diff linux box. I have php 4.X. I can connect to the mysql db using
odbc from a windows box, but...
|
by: Lenz Grimmer |
last post by:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
MySQL 4.0.14, a new version of the popular Open Source/Free Software
Database, has been released. It is now available in source and binary...
|
by: I.P. |
last post by:
Hi, it's my story.
I have two 4.0.14 mysql server on one machine with win XP Professional
polish version.
First acts as master: on port 3300
Second acts as slave: on port 3301
below my...
|
by: I.P. |
last post by:
No one has replied to my post.
----- Original Message -----
From: "I.P." <jancio_wodnik@wp.pl>
To: <mysql@lists.mysql.com>
Sent: Monday, August 18, 2003 1:01 PM
Subject: mysql 4.0.14 +...
|
by: Mike Chirico |
last post by:
Interesting Things to Know about MySQL
Mike Chirico (mchirico@users.sourceforge.net)
Copyright (GPU Free Documentation License) 2004
Last Updated: Mon Jun 7 10:37:28 EDT 2004
The latest...
|
by: Charles Crume |
last post by:
Hello all;
I have used dBASE, and other computer languages/databases, for years. They
all have a logical field type. However, the version of MySQL used by the ISP
hosting my site does not...
|
by: Cheryl Langdon |
last post by:
Hello everyone,
This is my first attempt at getting help in this manner. Please
forgive me if this is an inappropriate request.
I suddenly find myself in urgent need of instruction on how to...
|
by: eholz1 |
last post by:
Hello Newsgroup,
I have redhat 3.0 Enterprise, and mysql (3.58.xxx more or less)
installed from a redhat rpm,
and php 4.3.9 (installed from an rpm) - I can access data from my mysql
db using php...
|
by: Bhoget |
last post by:
Hello everyone,
I successfully installed Php in IIS 5, but ran into a big problem in running MySql. I successfully installed MySql in my system but it does not show when I try to run phpinfo()...
|
by: Atli |
last post by:
This is an easy to digest 12 step guide on basics of using MySQL. It's a great refresher for those who need it and it work's great for first time MySQL users.
Anyone should be able to get...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
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
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
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...
|
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...
|
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...
|
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,...
| |