RE: PHP and MySQL

LE Backup <[email protected]>
Newsgroups gmane.comp.db.mysql.windows
Message-ID <0ISP00I9T3OUSJ10@l-daemon>
Contrary to belief, and the installation documentation (and I know I'll
confuse this poor person so kinda ignore me, but for everyone else...)

You do NOT need to put any of these files in the %windir% or %system%,
matter of a fact our machine build policies will NOT allow any NON-Microsoft
product to install ANYTHING in the %windir%, and if it insists, we simply
will not use it.

For WAMP setup, we left the libmysql.dll and libmysqli.dll in the apache/bin
dir.

Cheers,

James Friesen, CIO

Lucretia Enterprises
"Our World Is Here..."
Info at lucretia dot ca
http://lucretia.ca


> I'm reading up on the integration of MySQL, Apache, and PHP
> in a book called "How to Do Everything with PHP and MySQL" by
> Vikram Vaswani
> (McGraw-Hill/Osborne) which lists several steps to configure
> the connection between Apache and PHP.  Since I haven't
> reached the point of doing this yet, I can't say if it works,
> but here are the steps Vikram lists:
>
> 1.  Extract the PHP distribution file to c:\php.
> 2.  Copy the file php.ini-recommended from c:\php to
> c:\windows as php.ini.
> 3.  Copy the file libmysql.dll from c:\php to c:\windows\system32.
> 4.  Edit the c:\windows\php.ini file as follows:
>     change the string 'extension_dir = "./"' to
> 'extension_dir = "c"\php\ext"'.
>     Delete the ';' from the line ';extension=php_mysql.dll 5.
>  Open the Apache configuration file "httpd.conf" (in the
> Apache/conf/ subdirectory of the Apache installation
> directory) and add the following lines to it:
>     AddType application/x-httpd-php .php
>     LoadModule php5_module "c:\php\php5apache.dll"
>     SetEnv PHPRC C:\windows



-- 
MySQL Windows Mailing List
For list archives: http://lists.mysql.com/win32
To unsubscribe:    http://lists.mysql.com/[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.