You are here: Re: php 5 and MySql 5 - how to?? « All PHP « IT news, forums, messages
Re: php 5 and MySql 5 - how to??

Posted by IchBin on 10/11/97 11:59

oaksong@hotmail.com wrote:
> I've been through all the news groups. I've gone through the notes a
> number of times. I've tried all the settings. I can't get PHP 5 to see
> MySql 5. Can this be done short of a compile? I've never tried to
> combine PHP with MySql before. These are both brand new installs. Both
> MySql and PHP seem to be running fine independently.
>
> I am running them in Windows XP SP2 PRO with IIS.
>
> I have the following entries in my PHP.INI file:
>
> include_path = ".;c:\php\ext"
> ; Directory in which the loadable extensions (modules) reside.
> extension_dir = "c:\php\ext"
> enable_dl = On
> extension=php_mysql.dll
> extension=php_mysqli.dll
> mysql.default_port = 3306
> mysql.default_host = localhost
> mysql.default_user = root
> mysql.default_password = xxxx
>
> suggestions would be greatly appreciated....meanwhile, back to the
> docs....
>
I have it all running on a windoze XP SP 2, PHP 5.1.6\MySQL 5.1
installation.

I have not seen instructions to add the PHP extensions to the include
path. Should not hurt.

I never set any of the following:
mysql.default_port = 3306
mysql.default_host = localhost
mysql.default_user = root
mysql.default_password = xxxx

The only thing I did not see is possibly this (I have seen this
instruction on the internet):

- Check the c:\php directory and make sure that the files libmysqli.dll
and php_mysqli.dll are both there. If they are not there, check the
c:\php\ext directory and copy the files into c:\php

In order for the changes to take effect, you need to restart Apache. To
do this, click the Apache symbol in the lower right-hand corner of your
task bar. In the little menu that pops up there, click Apache 2 and then
Restart.

--
Thanks in Advance...
IchBin, Pocono Lake, Pa, USA http://weconsultants.phpnet.us
__________________________________________________________________________

'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)

 

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

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