Reply to Re: PHP & Apache

Your name:

Reply:


Posted by David on 07/07/06 23:39

On Fri, 07 Jul 2006 23:04:53 +0100, Joaquim Amado Lopes
<jal-2005@jalopes.net.> wrote:

>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.

I am not sure that you can, in fact, use the mysql extension, due to
the authentication problem. If it works for you, great. I could only
get me php programs to connect to the mysql server using the mysqli
library.

>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.

I live in Germany. If I ever make to Lisabon, I will surely take you
up on the offer :-)

I have received much help from others online. Glad that I could
help someone else, as well :-)

>Cheers,
>Joaquim Amado Lopes

David

[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

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