Reply to Re: PHP & Apache

Your name:

Reply:


Posted by Joaquim Amado Lopes on 07/07/06 22:04

Greetings.

On Fri, 07 Jul 2006 23:43:31 +0200, David <dgold1958@yahoo.de> wrote:
[snip]
>>Is there something I should check in the PHP config file?
>>Files that need to be placed in certain directories?
>
> In your /php/ext directory there should be a file: php_mysqlidll.
>You need to modify your php.ini file. Look for the line that has:
>extension=php_mysql.dll
>
> Make sure that it is uncommented (no semicolon) and change it to
>read:
>extension=php_mysqli.dll
>
>note: the change is adding an "i" to the mysql portion
>
>Restart your apache server. I don't know where you keep the php.ini
>file. Make sure it is in c:\windows.
>
That was it. I needed to uncomment the extension instruction.

There may be some details to correct in the setup but I finaly have
Apache/PHP/MySQL running. :-D

>>I appreciate your help as I'm to start a new project and can't do it
>>without MySQL.
>
> Note that the mysqli functions are slightly different than the
>mysqli functions. Instead of "echo mysql_query()", for example, you
>would use "echo mysqli_query()". Also, some things are backwards from
>mysql--mysqli_db_connect($link,$database) instead of
>mysql_db_connect($database,$link).
>
I decided to go with mysql instead of mysqli because the scripts will
be loaded to a server with the mysql extension.

Thank you very much, David. You're a life saver. :-]
If you come to Lisbon let me know so I can buy you a beer.

Cheers,
Joaquim Amado Lopes

[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

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