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