You are here: Re: [PHP] php mySql question « PHP « IT news, forums, messages
Re: [PHP] php mySql question

Posted by "Mark Rees" on 09/25/04 11:22

Yes, it is quite possible that you have more than one php.ini file. Check
this and delete as appropriate.
""Shaw, Chris - Accenture"" <cshaw@revenue.ie> wrote in message
news:7B24DAD09A74C649AE93B516E88946690115C9AA@revchsemail01.revenuedomain.ie
....

Have you tried doing a search for the text "php5" in the php.ini file that
sits in your c:\windows folder?

C.

-----Original Message-----
From: Ned Kotter [mailto:nedkotter@yahoo.com]
Sent: 26 July 2005 04:03
To: php-general@lists.php.net
Subject: [PHP] php mySql question


I have installed php 5.0.4 on my windows 2000, IIS 6.0 server. PHP works
but
when I try to connect to MySQL I get the Fatal error: Call to undefined
function mysql_connect(). I have uncommented the line in the php.ini file
that says 'extension=php_mysql.dll'. I have path variables set for both
c:\php and c:\php\ext. One very peculiar thing that I noticed when I ran
phpinfo() is that it shows the extension_dir is set to c:\php5 even though
in
my php.ini file it is set to c:\php. I have a feeling that this is where
the
problem exists. Any advice would be appreciated.

Thanks,
NK


__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


************************

This message has been delivered to the Internet by the Revenue Internet
e-mail service

*************************

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация