I use PHP5 in Windows XP Professional with Apache and MySQL installed. I
would like to use MySQL. Now, I cannot use mysql_* functions because
mysql_connect(. ..) returns
Fatal error: Call to undefined function mysql_connect()
PHP is problably not correctly configured to use MySQL. I think so, because
when I open:
localhost/phpinfo.php
I receive no information about MySQL.
So far, I have modified c:\windows\php. ini:
;;;;;;;;;;;;;;; ;;;;;;;
; Dynamic Extensions ;
;;;;;;;;;;;;;;; ;;;;;;;
extension_dir = "c:/windows"
extension=php_m ysql.dll
extension=php_m ysqli.dll
extension=libmy sql.dll
But it is probably not correct or not enough, I suspect. All *mysql*.dll
files are in c:\windows folder.
Could you help me plase?
/RAM/ 3 2138
On Feb 20, 5:09 am, "R.A.M." <r_ahims...@poc zta.onet.plwrot e:
I use PHP5 in Windows XP Professional with Apache and MySQL installed. I
would like to use MySQL. Now, I cannot use mysql_* functions because
mysql_connect(. ..) returns
Fatal error: Call to undefined function mysql_connect()
PHP is problably not correctly configured to use MySQL. I think so, because
when I open:
localhost/phpinfo.php
I receive no information about MySQL.
So far, I have modified c:\windows\php. ini:
;;;;;;;;;;;;;;; ;;;;;;;
; Dynamic Extensions ;
;;;;;;;;;;;;;;; ;;;;;;;
extension_dir = "c:/windows"
extension=php_m ysql.dll
extension=php_m ysqli.dll
extension=libmy sql.dll
But it is probably not correct or not enough, I suspect. All *mysql*.dll
files are in c:\windows folder.
Could you help me plase?
/RAM/
did you restart apache after changing your php.ini file? If your
running php as a module you need to restart.
Uzytkownik "ELINTPimp" <sm*****@gmail. comnapisal w wiadomosci
news:3c******** *************** ***********@b29 g2000hsa.google groups.com...
did you restart apache after changing your php.ini file? If your
running php as a module you need to restart.
Yes, I rebooted my computer. Still, the same problem.
/RAM/
Greetings, R.A.M..
In reply to Your message dated Wednesday, February 20, 2008, 13:09:19,
I use PHP5 in Windows XP Professional with Apache and MySQL installed. I
would like to use MySQL. Now, I cannot use mysql_* functions because
mysql_connect(. ..) returns
Fatal error: Call to undefined function mysql_connect()
PHP is problably not correctly configured to use MySQL. I think so, because
when I open:
localhost/phpinfo.php
I receive no information about MySQL.
So far, I have modified c:\windows\php. ini:
;;;;;;;;;;;;;;; ;;;;;;;
; Dynamic Extensions ;
;;;;;;;;;;;;;;; ;;;;;;;
extension_dir = "c:/windows"
??????????????? ??????????????? ???????
I *hope* You didn't install PHP into Your Windows directory...
extension=php_m ysql.dll
extension=php_m ysqli.dll
extension=libmy sql.dll
But it is probably not correct or not enough, I suspect. All *mysql*.dll
files are in c:\windows folder.
Could you help me plase?
Install Your PHP into separate directory as intended.
It may be C:\php or whatever You prefer.
Point the extension_dir to the C:\php\ext (i.e.) where all extensions is
located.
--
Sincerely Yours, AnrDaemon <an*******@free mail.ru> This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Spidah |
last post by:
Looking at the list of changes made in PHP5 one of them is
"Removed the bundled MySQL client library"
Does anyone know exactly what this means? I assume we will still be able to
code for MySQL as we do now?
Thanks
Hamilton
|
by: Philipp Lenssen |
last post by:
OK, I can get PHP5 running on Apache 2 installed on Windows XP Home
Edition. Now I want to add MySQL4 to the package. I installed it but
I'm not sure what to do now. My PHP5 scripts are running fine.
The MySQL server seems to be running though actually I'm not sure. When
I write
$link = mysql_connect("localhost", "mysql");
I get the PHP5 error message
"Call to undefined function mysql_connect()"
Can anyone help? (Or should I be using...
|
by: Sarah Tanembaum |
last post by:
Though I installed MySQL5 and PHP5, how come my phpinfo() shows as follow:
MySQL Support enabled
Active Persistent Links 0
Active Links 0
Client API version 3.23.57 <<<<<<<<<<<<<<<
Instead of saying 3.23.57, shouldn't it show 5.xx.xx? Or, did I do
something wrong?
|
by: AC |
last post by:
Does the Windows Installer version of PHP5 come with MySQL support? As
well, how hard is it to add extensions to the Windows Installer version?
--
Aaron Clausen
mightymartianca@hotmail.com
"My illness is due to my doctor's insistence that I drink milk, a
whitish fluid they force down helpless babies." - WC Fields
|
by: Roy Shaw |
last post by:
When configuring PHP5 (5.0.3) to use the mysqli libraries I get a "No
such file or directory" from the configure script. My goal is to get
PHP5 running with mysql 4.1.09 with both the mysql and mysqli options.
I can get it to configure and work correctly with just the mysql but NOT
the mysqli or both.
Environment:
Red Hat Enterprise Linux 3, rel 4
php 5.0.3 from sources from php.net
| |
by: Nospam |
last post by:
I am trying to get mysql 4, php5, and apache to work on my winxp sp2 comp,
unfortunately even though php5 and apache seems to work ok I am unable to
utilise mysql with php and apache, I have yet to see a guide that has a
problem free installation, if there is such a guide or a fix on how to get
php5, apache and mysql all working on winxp sp2, after having moved
libmysql.dll to the c:\php directory as well as the c:\windows\system...
|
by: frustratedcoder |
last post by:
I have tried to find a good ref. on how to enable soap and mysql in
PHP5 on windows xp but without luck.
Can any one take me through the process? I need to enable both soap and
mysql I'm not running apache.
I need to know how to recomplie my PHP5 on windows xp.
|
by: deko |
last post by:
I've just loaded phpMyAdmin on a Debian Linux server with Apache2, MySql5 and
PHP5.
myserver # dpkg -l | grep php
ii libapache-mod-php5 5.2.0-8+etch4
ii libapache2-mod-php4 4.4.4-8+etch2
ii php4-common 4.4.4-8+etch2
ii php5-common 5.2.0-8+etch4
ii php5-gd 5.2.0-8+etch4
ii php5-mcrypt 5.2.0-8+etch4
|
by: kodaliece |
last post by:
Hello Everyone,
I am trying to configure Tomcat5.5 to run PHP5.2.5 scripts on linux
machine. I got some information from http://wiki.apache.org/tomcat/UsingPhp
as how to do this. First, It says to apply patch to configuration file
and then apply a patch to sapi/servlet/servlet.java. But I am stuck at
the first step it self. In the first step it says to apply a patch.
But I could not get which file I've to modigy and where. I firmly...
|
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: 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();...
|
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: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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...
| |