Page 1 of 1
PHPMYADMIN INSTALLATION AND CONFIGURATION PROBLEMS
Posted: Sat Jul 21, 2007 7:13 pm
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
Posted: Sun Jul 22, 2007 4:24 am
by volka
Have you checked the error log? It's probably the file error.log in the directory logs of your apache installation.
PHPMYADMIN INSTALLATION AND CONFIGURATION PROBLEMS
Posted: Sun Jul 22, 2007 4:51 pm
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
Posted: Sun Jul 22, 2007 5:04 pm
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
to check on the changes.
PHPMYADMIN INSTALLATION AND CONFIGURATION PROBLEMS
Posted: Tue Jul 24, 2007 6:31 am
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
Posted: Tue Jul 24, 2007 7:37 am
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.
Posted: Mon Jul 30, 2007 10:50 pm
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.
Posted: Tue Jul 31, 2007 12:01 am
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.