You are here: Re: Where is mysql_connect()? « PHP Programming Language « IT news, forums, messages
Re: Where is mysql_connect()?

Posted by brett on 03/04/07 23:56

On Mar 4, 3:28 pm, Simon Stienen <n...@news.slashlife.org> wrote:
> On 2007-03-04 23-50-08, Hendri Kurniawan wrote:
>
> > If you are running apache however, you need to add
> > PHPIniDir "C:\php5"
> > to your apache config file (where c:\php5 is where you put your php.ini)
> > Restart Apache.
>
> You don't _need_ to add this line. It's still possuble to put the ini file
> into one of the classic locations:
> a) c:\windows
> b) apaches base directory (the one /bin, /conf, /log, ... are located in)
> c) the directory the sapi dll is located in (iirc, not absolutely positive
> on this one)
>
> Regards,
>
> Simon Stienen

As mentioned earlier, I don't have a "c:\php5" folder on this machine
and I'm running Windows Vista. Placing the php.ini folder in the
windows folder doesn't help. After restarting IIS, I get a blank
white page. So I put the file back in my php folder, restart IIS and
it works again but PHP is still pointing to the wrong extension_dir
and the mysqlconnect() isn't recognized.

Thanks.

 

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

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