Reply to Re: MySQL Problem

Your name:

Reply:


Posted by Tom on 12/04/06 01:18

On 3 Dec 2006 10:37:01 -0800, MarkP wrote...
>
>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.
>


Since you're switching web servers and PHP is parsed on the server end, I wonder
how much you might have to re-install. From my understanding MySQL is an
optional install with PHP and may need to rebuild your PHP, MySQL, and other
components if you're changing the ingredients. Probably have to refresh work
through a new ini file too.

Tom
--
Help a Community by Participating in Ours
We donate your subscription fees to the charity you choose
100% of your first month, 10% thereafter.
http://newsguy.com/charity.asp

[Back to original 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

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