|
Posted by Tim Van Wassenhove on 06/14/06 11:20
On 2006-06-14, NewbieSupreme <newbiesupreme@yahoo.com> wrote:
> I installed Apache 2.0.58, tested it, got the "working" page. Installed
> MySQL 5.0.22, and didn't really see how to test that, but there is a mysql
> process running in the task manager. Ran through the PHP 5.1.4 installation
> directions, and that seems to work, since I can use phpinfo() and get all
> the information on a test php page.
Ran through the php5.1.4 installation? Afaik, the installer doesn't come
with modules for mysqli etc.. I think the zip package is what you need.
And read through the INSTALL.TXT that comes with it.
First configure a PHPRC environment variable, eg: C:\Program
Files\php-5.1.4-Win32 (php will look in this directory for a php.ini
file)
All your httpd.conf needs are the following lines:
LoadModule php5_module "C:/Program Files/php-5.1.4-Win32/php5apache2.dll"
AddType application/x-httpd-php .php
And make sure to uncomment the line(s) where the mysql and mysqli
extensions are loaded in the php.ini file.
In my experience, it may be possible that you also have to make sure
that the mysql/bin directory is in your path.
--
Met vriendelijke groeten,
Tim Van Wassenhove <http://timvw.madoka.be>
[Back to original message]
|