Nileke wrote:
> According to my book I had to add the following line in
the file httpd.conf:
> LoadModule php5_module
c:/php-5.1.2-Win32/sapi/php5apache2.dll
Assuming that your PHP folder is C:\php-5.1.2-Win32, the
correct command is:
LoadModule php5_module c:/php-5.1.2-Win32/php5apache2.dll
> Previous to adding the LoadModule sentence I had:
> I moved the php.ini-dist to c:\Windows and renamed it
php.ini.
> I put the php5ts.dll file in c:\windows\system32.
Ugh. The book is teaching you a way to install PHP that was
abandoned
more than two years ago. Since you're doing it that way, you
will need
to copy libmysql.dll from C:\php-5.1.2-Win32 to
c:\windows\system32.
Check that extension_dir in php.ini is pointing to the
correct folder.
In your case, it should be:
extension_dir = "C:\php-5.1.2-Win32\ext"
You also need to check the Windows extensions section in
php.ini.
*Remove the semicolon* from the beginning of these two lines:
;extension=php_mbstring.dll
;extension=php_mysql.dll
Then add
extension=php_mysqli.dll
Save php.ini and restart Apache when you have made all the
changes.
--
David Powers
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "Foundation PHP 5 for Flash" (friends of ED)
http://foundationphp.com/