You are here: MySQL Problem « All PHP « IT news, forums, messages
MySQL Problem

Posted by MarkP on 12/03/06 18:37

HI,

Just swapped over from using php running under IIS, to php running
under apache. Finally got apache running and recognising my php files,
but now I can't connect to my MySQL database. Haven't changed my
php.ini file since swapping over, and I'm now getting the following
error :

Fatal error: Call to undefined function mysql_connect() in C:\Program
Files\Apache Software
Foundation\Apache2.2\htdocs\fashion\inc\startup.inc.php on line 32

Is there anything I need to change now that I'm running from apache ??

currently have :

extension_dir = "c:\php\ext"
extension=php_mysql.dll

in php.ini

Mark.

 

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

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