Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Computer Forums > Programmers Lounge > Programming Discussions » A Guide to Installing Apache, PHP, MySQL, and PHPMyAdmin on Windows
Reply
Old 04-28-2009, 11:26 AM   #11 (permalink)
CrazeD's Avatar
 
Wizard Techie

Join Date: Feb 2006

Location: Maine

Posts: 3,681

CrazeD will become famous soon enough

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.



__________________

Need website help? PM me!
CrazeD is online now   Reply With Quote
Old 06-04-2009, 10:51 AM   #12 (permalink)
 
Newb Techie

Join Date: Jun 2009

Posts: 1

tumbleweeded is on a distinguished road

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

tcp-ip is on a distinguished road

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)
CrazeD's Avatar
 
Wizard Techie

Join Date: Feb 2006

Location: Maine

Posts: 3,681

CrazeD will become famous soon enough

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?
__________________

Need website help? PM me!
CrazeD is online now   Reply With Quote
Old 06-16-2009, 03:59 PM   #15 (permalink)
 
Newb Techie

Join Date: Jun 2009

Posts: 3

tcp-ip is on a distinguished road

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)
CrazeD's Avatar
 
Wizard Techie

Join Date: Feb 2006

Location: Maine

Posts: 3,681

CrazeD will become famous soon enough

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.
__________________

Need website help? PM me!
CrazeD is online now   Reply With Quote
Old 06-16-2009, 07:12 PM   #17 (permalink)
 
Newb Techie

Join Date: Jun 2009

Posts: 3

tcp-ip is on a distinguished road

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)
CrazeD's Avatar
 
Wizard Techie

Join Date: Feb 2006

Location: Maine

Posts: 3,681

CrazeD will become famous soon enough

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.
__________________

Need website help? PM me!
CrazeD is online now   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 On