Sharley wrote:First lets get phpMyAdmin working as it is also related to getting MySQL working, they use the same root user/password.
I messed up by adding a password for the xampp phpadmin and I get this:
How did you set this password for phpMyAdmin?
The correct way is to use
http://localhost/ and select the
Security menu item then click on the link:
http://localhost/security/xamppsecurity.phpThen add your root user password in the MySQL section, leave the defaults as they are and click on the Password changing button - try again to access
http://localhost/phpmyadminMaybe for quicker perl answers try posting in our Perl forum, English is acceptable in those forums under Grundlagen und Wissenswertes.
Hopefully there you will find a more competent perl/php coder than I who may be able help by spotting straight away your problem.
Good luck and best wishes.
This is what I got:
- Code: Select all
Security console MySQL & XAMPP directory protection
--------------------------------------------------------------------------------
MYSQL SECTION: "ROOT" PASSWORD
MySQL SuperUser: root
Current password:
New password:
Repeat the new password:
phpMyAdmin authentication: http cookie
Set a random password for the phpMyAdmin user 'pma': Yes No
---- ----
(File: C:\xampp\security\mysqlrootpasswd.txt)
--------------------------------------------------------------------------------
XAMPP DIRECTORY PROTECTION (.htaccess)
User:
Password:
---- ----
(File: C:\xampp\security\xamppdirpasswd.txt)
I had tried to use a blank password, and it was not allowed. I had set the password because the security page
- Code: Select all
http://localhost/security/
flagged this as a security risk.
OK, I got it to work by stopping and restarting the MySQL service. I still have problems with my Perl script. But I also tried running my "basic.php" script, and it complained that it must start with "#!". I did so, and I got a differfent error:
- Code: Select all
(OS 193)%1 is not a valid Win32 application. : couldn't create child process: 720193: basic.php
Update: I was able to move the scripts out of the cgi-bin and into the SCGBG folder. I added the HTMLpurifier library, and I was able to run the PurifierTest.pl script which calls the basic.php script. But I had to comment out the use DateTime; directive in the perl script. So if I can just get that module properly installed I'll be in business.
But in the basic.php script I used backslashes as follows:
require_once '..\library\HTMLPurifier.auto.php'; However I changed them back to "/" and it was still OK. The thing that I needed was the relative path
'../'.
It's getting there. I think the PHP scripts may need to be in the SCGBG folder but maybe not. There were a lot of problems and I probably can restore some of what I changed to keep the scripts almost identical, except possibly for the "shebang". And I'm not sure why the Perl executable module could not be placed in the path
/usr/bin/perl -T.