PHPMYADMIN INSTALLATION AND CONFIGURATION PROBLEMS

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
antoine0579
Forum Newbie
Posts: 3
Joined: Sat Jul 21, 2007 7:08 pm

PHPMYADMIN INSTALLATION AND CONFIGURATION PROBLEMS

Post by antoine0579 »

hello :
I have been able to install, configure, and use apache 2.2, php5, and mysql 5 on windos xp system.
Everything working fine. for example I am able to run mysqli from php and run php programs such as
localhost/myprogram.php.
However, when I extracted phpmyadmin stuff into phpmyadmin folder below the htdocs subfolder, then tried to run
localhost/phpmyadmin/index.php, I got the following error msg:

phpmyadmin error
Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly.

the phpmyadmin subfolder and its files are totally ignored, why?
tony serfaty
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

Have you checked the error log? It's probably the file error.log in the directory logs of your apache installation.
antoine0579
Forum Newbie
Posts: 3
Joined: Sat Jul 21, 2007 7:08 pm

PHPMYADMIN INSTALLATION AND CONFIGURATION PROBLEMS

Post by antoine0579 »

thank you for your reply. I checked the error log file. But there is nothing. It is as if apache does not recognize what is going on inside the phpmyadmin folder
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

antoine0579 wrote:I have been able to install, configure, and use apache 2.2, php5, and mysql 5 on windos xp system.
Unless it's a production server please run

Code: Select all

<?php echo 'ini: ', get_cfg_var('cfg_file_path'); ?>
Open that file in a text editor and change the following parameters

Code: Select all

error_reporting = E_ALL
display_errors = true
display_startup_errors = true
Also check the value of session.save_path. It must point to an existing directory or have an empty value.
Save the php.ini file and restart apache. Use

Code: Select all

<?php phpinfo(); ?>
to check on the changes.
antoine0579
Forum Newbie
Posts: 3
Joined: Sat Jul 21, 2007 7:08 pm

PHPMYADMIN INSTALLATION AND CONFIGURATION PROBLEMS

Post by antoine0579 »

thank you for your help.
I was finally able to display the welcome page after entering my password.
However, at the bottome of the page I get these two error messages:

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

2.Cannot load mcrypt extension. Please check your PHP configuration

I uncommented the appropriate extensions in the php.ini file. It still did not work

Do I have to reinstall the entire php or try to download separately php_mbstring.dll and mcrypt.dll?

Any feedback would be greatly appreciated.

antoine
User avatar
phpdevuk
Forum Contributor
Posts: 220
Joined: Mon Jul 04, 2005 5:31 am
Location: UK
Contact:

Post by phpdevuk »

just a thought, but why not try something like http://www.wampserver.com/en/ its a preconfigured apache/mysql/php single installer with phpmyadmin, might save you some headaches.
busycloud
Forum Newbie
Posts: 1
Joined: Mon Jul 30, 2007 10:42 pm

Post by busycloud »

Wow! I have been experiencing the same issue on my pc using Apache2/php5 and all paths/dirs/ext's have been set and enabled correctly. After installing phpMyAdmin I came across the following error:
Cannot load mcrypt extension. Please check your PHP configuration.

I have been scouring the net looking for solutions and have not found anything solid.
Using WAMP would be good however it would still be nice to see how to resolve this issue. Since my machine is strictly for tests I'm not too pressed.

Hopefully someone will come along with a valid solution.
User avatar
iknownothing
Forum Contributor
Posts: 337
Joined: Sun Dec 17, 2006 11:53 pm
Location: Sunshine Coast, Australia

Post by iknownothing »

I have noticed with several packages, such as EasyPHP, where you may have to select a few extensions separately. Maybe on your Server Admin Window (or something of similar nature), find how to access the extensions, click on the "mcrypt" one, maybe a tickbox, to utilise it, and save changes.
Post Reply