A Guide to Installing Apache, PHP, MySQL, and PHPMyAdmin on Windows - Page 2 - Techist - Tech Forum

Go Back   Techist - Tech Forum > Computer Software > Programming
Click Here to Login
Reply
 
Thread Tools Display Modes
 
Old 04-28-2009, 11:26 AM   #11 (permalink)
Wizard Techie
 
CrazeD's Avatar
 
Join Date: Feb 2006
Location: Maine
Posts: 3,736
Send a message via AIM to CrazeD Send a message via MSN to CrazeD
Default Re: A Guide to Installing Apache, PHP, MySQL, and PHPMyAdmin on Windows

Code:
[mail function]
; For Win32 only.
SMTP = localhost
smtp_port = 25

; For Win32 only.
;sendmail_from = me@example.com
These are my php.ini mail settings, the same as yours.

All you need to do is install the ArGoSoft mail server (or any other mail server, but I had good luck with this one) and then add the localhost domain, and make a user.


__________________

__________________

Intel Q9400 | Gigabyte EP45-UD3P | G.Skill 2x2GB DDR2 1000 | XFX HD5870

Need website help? PM me!
CrazeD is offline   Reply With Quote
Old 06-04-2009, 10:51 AM   #12 (permalink)
Newb Techie
 
Join Date: Jun 2009
Posts: 1
Default Re: A Guide to Installing Apache, PHP, MySQL, and PHPMyAdmin on Windows

Hey there, firstly many thanks for the guide, followed it step by step, great stuff.

I got an error message in phpMYadmin and took me a while to figure but thought i would share just in case you missed a step or setup has changed since the guide was made.

Error was: The mbstring PHP extension was not found and you seem to be using a multibyte charset. Without the mbstring extension phpMyAdmin is unable to split strings correctly and it may result in unexpected results.

Solution was: Navigate to C:\WEB\PHP. Open php.ini with a text editor.

Find: ;extension=php_mbstring.dll

Remove the ; from the beginning.

Once again many thanks for the guide, really helpful to dip into background of the programs a bit to learn how they work, rather than once click installs etc. (what do i do now??haha)
__________________

tumbleweeded is offline   Reply With Quote
Old 06-15-2009, 06:45 PM   #13 (permalink)
Newb Techie
 
Join Date: Jun 2009
Posts: 3
Default Re: A Guide to Installing Apache, PHP, MySQL, and PHPMyAdmin on Windows

Ok want to start out by saying thank you, but i get this error with my PhPAdmin.

Quote:
Fatal error: Call to a member function getName() on a non-object in C:\WEB\Apache\htdocs\phpmyadmin\libraries\common.i nc.php on line 702

Any help would be good, dont know much about errors, but i did not edit that page.
tcp-ip is offline   Reply With Quote
Old 06-16-2009, 11:25 AM   #14 (permalink)
Wizard Techie
 
CrazeD's Avatar
 
Join Date: Feb 2006
Location: Maine
Posts: 3,736
Send a message via AIM to CrazeD Send a message via MSN to CrazeD
Default Re: A Guide to Installing Apache, PHP, MySQL, and PHPMyAdmin on Windows

What version of PHP are you using?
__________________

Intel Q9400 | Gigabyte EP45-UD3P | G.Skill 2x2GB DDR2 1000 | XFX HD5870

Need website help? PM me!
CrazeD is offline   Reply With Quote
Old 06-16-2009, 03:59 PM   #15 (permalink)
Newb Techie
 
Join Date: Jun 2009
Posts: 3
Default Re: A Guide to Installing Apache, PHP, MySQL, and PHPMyAdmin on Windows

Ok well i switched to the newest version 3.2 and know get this error,


Code:
Cannot load mysql extension. Please check your PHP configuration. - Documentation
Here is my config for it

PHP Code:
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
 * phpMyAdmin sample configuration, you can use it as base for
 * manual configuration. For easier setup you can use setup/
 *
 * All directives are explained in Documentation.html and on phpMyAdmin
 * wiki <http://wiki.phpmyadmin.net>.
 *
 * @version $Id: config.sample.inc.php 12304 2009-03-24 12:56:58Z nijel $
 * @package phpMyAdmin
 */

/*
 * This is needed for cookie based authentication to encrypt password in
 * cookie
 */
$cfg['blowfish_secret'] = ''/* YOU MUST FILL IN THIS FOR COOKIE AUTH! */

/*
 * Servers configuration
 */
$i 0;

/*
 * First server
 */
$i++;
/* Authentication type */
$cfg['Servers'][$i]['auth_type'] = 'config';
/* Server parameters */
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['compress'] = false;
/* Select mysqli if your server has it */
$cfg['Servers'][$i]['extension'] = 'mysql';

/* rajk - for blobstreaming */
$cfg['Servers'][$i]['bs_garbage_threshold'] = 50;
$cfg['Servers'][$i]['bs_repository_threshold'] = '32M';
$cfg['Servers'][$i]['bs_temp_blob_timeout'] = 600;
$cfg['Servers'][$i]['bs_temp_log_threshold'] = '32M';

/* User for advanced features */
$cfg['Servers'][$i]['controluser'] = 'root';
$cfg['Servers'][$i]['controlpass'] = '***';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '***';
/* Advanced phpMyAdmin features */
// $cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';
// $cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark';
// $cfg['Servers'][$i]['relation'] = 'pma_relation';
// $cfg['Servers'][$i]['table_info'] = 'pma_table_info';
// $cfg['Servers'][$i]['table_coords'] = 'pma_table_coords';
// $cfg['Servers'][$i]['pdf_pages'] = 'pma_pdf_pages';
// $cfg['Servers'][$i]['column_info'] = 'pma_column_info';
// $cfg['Servers'][$i]['history'] = 'pma_history';
// $cfg['Servers'][$i]['designer_coords'] = 'pma_designer_coords';
/* Contrib / Swekey authentication */
// $cfg['Servers'][$i]['auth_swekey_config'] = '/etc/swekey-pma.conf';

/*
 * End of servers configuration
 */

/*
 * Directories for saving/loading files from server
 */
$cfg['UploadDir'] = '';
$cfg['SaveDir'] = '';

?>
tcp-ip is offline   Reply With Quote
Old 06-16-2009, 05:26 PM   #16 (permalink)
Wizard Techie
 
CrazeD's Avatar
 
Join Date: Feb 2006
Location: Maine
Posts: 3,736
Send a message via AIM to CrazeD Send a message via MSN to CrazeD
Default Re: A Guide to Installing Apache, PHP, MySQL, and PHPMyAdmin on Windows

Post your php.ini please.
__________________

Intel Q9400 | Gigabyte EP45-UD3P | G.Skill 2x2GB DDR2 1000 | XFX HD5870

Need website help? PM me!
CrazeD is offline   Reply With Quote
Old 06-16-2009, 07:12 PM   #17 (permalink)
Newb Techie
 
Join Date: Jun 2009
Posts: 3
Default Re: A Guide to Installing Apache, PHP, MySQL, and PHPMyAdmin on Windows

PHP.ini


pastebin - collaborative debugging tool


There were to many Char.
tcp-ip is offline   Reply With Quote
Old 06-17-2009, 04:27 PM   #18 (permalink)
Wizard Techie
 
CrazeD's Avatar
 
Join Date: Feb 2006
Location: Maine
Posts: 3,736
Send a message via AIM to CrazeD Send a message via MSN to CrazeD
Default Re: A Guide to Installing Apache, PHP, MySQL, and PHPMyAdmin on Windows

Find this line:

Code:
;extension=php_mysql.dll
And remove the ; from the start to load that module.

Then, find this line:

Code:
extension_dir = "./"
and make sure it points to the correct extensions folder. By default, this is located in <PHP Root>/ext/.

Hope that helps.
__________________

Intel Q9400 | Gigabyte EP45-UD3P | G.Skill 2x2GB DDR2 1000 | XFX HD5870

Need website help? PM me!
CrazeD is offline   Reply With Quote
Old 03-11-2010, 03:03 AM   #19 (permalink)
PC Cutie ^_^
 
Seria's Avatar
 
Join Date: Sep 2004
Posts: 553
Default Re: A Guide to Installing Apache, PHP, MySQL, and PHPMyAdmin on Windows

Does apache work on W7 64bit? and if it does... does this tutorial work on w7?
__________________
Seria is offline   Reply With Quote
Old 03-11-2010, 08:40 AM   #20 (permalink)
Seg Fault'n
 
Join Date: Jul 2005
Location: The dried husk where America came from
Posts: 5,801
Default Re: A Guide to Installing Apache, PHP, MySQL, and PHPMyAdmin on Windows

Quote:
Originally Posted by Seria View Post
Does apache work on W7 64bit?
I believe it worked on the RC so I would be surprised if it didn't work on the final.

Quote:
and if it does... does this tutorial work on w7?
The paths will be different... but the rest shouldn't be radically different.
__________________

__________________


There are in order of increasing severity: lies, darn lies, statistics, and computer benchmarks. - diskinfo man page
"Get your money and let's go to court!" - Craig Mudie, MS
kmote is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -5. The time now is 08:17 AM.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.