RE: PHP and MySQL
dave schuppert <[email protected]>
| Newsgroups | gmane.comp.db.mysql.windows |
|---|---|
| Message-ID | <[email protected]> |
The old DOS path statement still works. I got stuck once by having duplicate files in the path an modifying the second file in the path. The last time I loaded WAMP nothing worked correctly. I am just starting a new project and will have to load everything from scratch quite soon, so I'm interested in what you find. The PHP group in Chicago disbanded, so I have no one local to work with. -dave At 05:53 PM 1/6/2006, LE Backup wrote: >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] -- MySQL Windows Mailing List For list archives: http://lists.mysql.com/win32 To unsubscribe: http://lists.mysql.com/[email protected]