xampp

PHPMyAdmin doesn't connect after root password change

▼魔方 西西 提交于 2019-11-30 07:30:38
I installed Xampp (for Windows). I was happily using it with its all features. Then I wanted to change MySql password. I set a randomly generated password (rCZ4Xnz78zbLY2Vh). Then PHPMyAdmin stopped logging in. It started to give the following error message, and it is the same ever since: Error MySQL said: Cannot connect: invalid settings. phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL

phpMyAdmin access denied for user 'root'@'localhost' (using password: NO)

拟墨画扇 提交于 2019-11-30 07:11:36
I am unable to connect to my MySQL in xampp I have this error: MySQL said: Documentation 1045 - Access denied for user 'root'@'localhost' (using password: NO) mysqli_real_connect(): (HY000/1045): Access denied for user 'root'@'localhost' (using password: NO) phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server. CONFIG.INC.PHP file <?php /* * This is needed for cookie based authentication

How do I enable XAMPP to locally use the php's mail() function so I can test my mail() scripts locally without having to upload to my server?

浪子不回头ぞ 提交于 2019-11-30 07:01:00
问题 I am currently using XAMPP and Thunderbird 3 and wish to set up my local server to send mail to e-mails like gmail/hotmail/(anymail) so I can test out my php scripts that are using the mail() function. It would save some time as it would bypass the step of tediously saving and uploading the php file every time a minor change is made. Things I have done but have not worked: (through various existing tutorials online) Installed XAMPP (successfully installed as I already use this for my other

How to use composer on windows?

六月ゝ 毕业季﹏ 提交于 2019-11-30 06:51:04
I have installed xampp on my PC. After that I installed composer using window installer. On the website they tell about composer.json which looks something like this in the example { "require": { "monolog/monolog": "1.2.*" } } Where do I put it? How do I run it? I have searched a lot but found nothing. Any suggestion would be great. I ran command prompt as administrator with following command C:\windows\system32>composer It printed out a bunch of commands. I tried typing C:\windows\system32>composer install I got an error that composer could not find composer.json file Okay, let's say your

Apache shutdown unexpectedly

强颜欢笑 提交于 2019-11-30 06:38:22
问题 I am using XAMPPS to host PHP files from my machine. I have recently installed XAMPPs but I am unable to start Apache service as port 80 is in use by PID 4 - NT Kernel & System. I know by using a different port (such as port 8080 etc change in httpd.conf) will get to a workaround for this issue. However I need port 80 to be released by PID 4 process and allocated to Apache service. I have done that in the past but have forgotten the resolution steps over the time. Please help me fix it This

mac系统XAMPP安装phpredis扩展

混江龙づ霸主 提交于 2019-11-30 06:19:51
phpredis扩展(关键是php版本和扩展版本要对应,尤其是有两个PHP环境,需要指定哪个php相关命令来执行): • 1.根据php版本到https://pecl.php.net/package/redis下载扩展源码 本机是mac系统装的xampp,php版本是7.0.2,扩展页面显示redis5.0.0以上就可以支持php7.0.0~7.9.99,本次下载了最新版本5.0.1 • 2.进入源码目录连续执行以下命令 /Applications/XAMPP/xamppfiles/bin/phpize ./configure -with-php-config=/Applications/XAMPP/xamppfiles/bin/php-config-7.0.2 make && make install 可能最后会出现错误: Installing shared extensions: /Applications/XAMPP/xamppfiles/lib/php/extensions/no-debug-non-zts-20151012/ cp: /Applications/XAMPP/xamppfiles/lib/php/extensions/no-debug-non-zts-20151012/#INST@68907#: Permission denied

How do you use MySQL's source command to import large files in windows

别来无恙 提交于 2019-11-30 06:12:37
问题 I have a large (~150mb) sql file that I am trying to import. It is too large to do it through PHPMyAdmin even splitting it into many pieces and it is too large to import through a php script as it times out after 30 seconds of processing the script. So I'm looking for how to directly import the file from MySQL command line. Searching online shows that I want to either use database_name < file_name.sql or source file_name.sql but I can't get either of these to work. Using < gives the generic

XAMPP or MAMP on Mac OS X 10.6.2 (Snow Leopard) [closed]

一个人想着一个人 提交于 2019-11-30 06:04:28
I just bought a new MacBook Pro which comes with Snow Leopard 10.6.2 (Mac OS X 10.6.2). I am used to using XAMPP as my local development server on XP. Since Mac OS X is based on Unix, I was thinking on activating/installing all the necessary stuff as I would normally do on Linux. However, I am not quite ready to be playing around with the system at this point so having an external package would be a nice temporary solution I think. The question is whether I should go with MAMP or XAMPP. Does anybody have any suggestions? The Pro and Cons I suppose. As far as I know, Mac OS X comes with Apache2

PhpMyAdmin not working on localhost

旧巷老猫 提交于 2019-11-30 05:29:06
Xampp version:1.7.7 (installed it on external hard drive), operating system: Windows 8, installed version 4.1.7 of phpMyAdmin and copied config.inc.php from my old version of phpmyadmin to the new phpmyadmin version (4.1.7) When I type localhost/phpMyAdmin I get the error message: Object not found! The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again. If you think this is a server error, please contact the webmaster. Error 404 localhost 02/13/14 17:16:55 Apache/2.2.21 (Win32) mod_ssl/2.2.21 OpenSSL/1.0.0e PHP/5.3.8 So I had a

How do I load a SVG file that's been generated with PHP?

江枫思渺然 提交于 2019-11-30 05:27:07
问题 I want to create a SVG file with PHP, and then include it in a HTML file. Here's what I have so far (following this tutorial) svg.php: <?php header("Content-type: image/svg+xml"); ?> <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/ REC-SVG-20010904/DTD/svg10.dtd"> <svg width="310" height="140" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <g style="stroke:black;fill:lightgreen" transform=