xampp

Not able to connect ti phpmyadmin

◇◆丶佛笑我妖孽 提交于 2019-12-11 08:32:17
问题 I Uninstalled XAMPP1.6 and then installed XAMPP3.2.2 apache and other working fine but getting issue with phpmyadmin i'm not able to login into PMA Getting below error I tried this this but still same issue coming . 回答1: Try to check whether your MySQL instance is the current one bundled with the new version or still the old one. May be your xxamp is still referencing the old MySQL. Make sure your old MySQL was killed before you install new version of XXAMP. 来源: https://stackoverflow.com

Install YII framework in xampp for ubuntu

故事扮演 提交于 2019-12-11 08:17:13
问题 I m not any knowledge of YII framework just start work on YII . I want to install YII framework in my system . So please let me how i install . 回答1: Download the yii zip file and unzip it. Then copy the unzipped folder to: /var/www/htdocs/ (Default Location) Then run the following command : /var/www/htdocs/Yii/framework/yiic webapp anyname Done!!! Open your browser and type "localhost/anyname" 回答2: Download the YII framework from the website Extract the folder in Downloads Open the Terminal

Postgresql, phpPgAdmin in xammp

无人久伴 提交于 2019-12-11 08:14:41
问题 Hi I have this error while I'm trying to launch phpPgAdmin. Your PHP installation does not support PostgreSQL. You need to recompile PHP using the --with-pgsql configure option. Im using xampp ver 1.7.7 , Postgresql 9.2.4 64 bits , and phpPgAdmin 5.1 I already did the following: 1. open "config.inc.php" found in C:\xampp\phpPgAdmin\conf\ and set "extra_login_security" to false $conf['extra_login_security'] = false; 2. Find php.ini file, in C: \ xampp \ php \ php.ini, then look for the line "

mail cannot be delivered in PHP even SMTP server is running and PHP mail() returns true

梦想与她 提交于 2019-12-11 08:11:34
问题 I am trying to use PHP to send a simple mail. I have tried to use telnet to check whether Mercury is running, and it replys yes. Also mail() returns true, therefore my scripts should be okay, however mail still can not be sent, what may be the cause of this problem? Here is my PHP code: $subject = "Simple mail"; $message = "Here is a test mail"; $to = "me@gmail.com"; $from = "me@test.com"; $header = "From: ".$from; if(mail($to, $subject, $message, $header)) print "success<br>"; else print

XAMPP 1.7.7 in Windows 7 returns nothing using curl

霸气de小男生 提交于 2019-12-11 07:45:23
问题 I have a problem working with curl_getinfo I have already checked the php.ini for curl extension and everything seems to be fine and inside phpinfo(); , curl is enable so I know that It shouldn't have any problem. This function runs fine in my web server. It is my local machine with XAMPP 1.7.7 that gives me a hard time. Could this be because of firwall settings of my laptop? Please note that the jpg file exists inside the Amazon s3 URL and I have checked the Amazon URL on the browser and it

Mock mail on xampp development box

隐身守侯 提交于 2019-12-11 07:44:50
问题 I have a local development box that I code on before I transfer my programs to a test server. It's a basic xampp set up. However, this limits my ability to test on the local box when I have to send mail in my program. Is there a way to mock this? I don't have any desire to set up a mail server on my local machine. Most questions on this subject on stack deal with setting up a mail server. That's why I'm asking this particular question. As always, Thank you for your help and advice. 回答1: I

Apache cannot start

佐手、 提交于 2019-12-11 07:17:12
问题 I installed xampp in this path (C:\m_server\xampp) When I start from control panel, the following error occur Error: Apache shutdown unexpectedly. Then I start httpd.exe from cmd the following error occurs. How to solve this error? httpd.exe: Syntax error on line 531 of C:/m_server/xampp/apache/conf/httpd.conf: Syntax error on line 17 of C:/m_server/xampp/apache/conf/extra/httpd-xampp.conf: Cannot load /xampp/php/php7ts.dll into server: \x8ew\x92\xe8\x82\xb3\x82\xea\x82\xbd\\xc2\x82\xa9\x82

Mysql password Error in PHP

拟墨画扇 提交于 2019-12-11 07:09:22
问题 When i try to connect a remote mysql server from my localhost i get this error: Could not connect: mysqlnd cannot connect to MySQL 4.1+ using the old insecure authentication. Please use an administration tool to reset your password with the command SET PASSWORD = PASSWORD('your_existing_password'). This will store a new, and more secure, hash value in mysql.user. If this user is used in other scripts executed by PHP 5.2 or earlier you might need to remove the old-passwords flag from your my

PHP5: Why is try/catch failing?

喜夏-厌秋 提交于 2019-12-11 07:08:22
问题 On my XAMPP/Win XP build, PHP5.2.3 fails to catch any exceptions. None of the examples work, and this: try { throw new Exception('Fail'); } catch (Exception $e) { echo 'Succeed'; } ...results in: Fatal error : Uncaught exception 'Exception' with message 'Fail' in M:\path\to\test.php:4 Stack trace: #0 {main} thrown in M:\path\to\test.php on line 4 All of PHP's error settings seem standard. Server is Apache/2.2.4 回答1: This depends on eAccelerator's build in XAMPP. At one point, it had trouble

(PHP): Warning: include_once, failed to open stream: Permission denied

纵然是瞬间 提交于 2019-12-11 06:38:31
问题 Im learning how to write a Sign Up page using Php and Mysql (XAMPP). Now, I downloaded the source code in this website: http://net.tutsplus.com/tutorials/php/create-a-signup-form-with-email-confirmation/ and tried to make sure it works. But when openning: http://localhost/source/index.php I got the following warnings: Warning: include_once(C:\xampp\htdocs\source\inc\php\config.php) [function.include-once]: failed to open stream: Permission denied in C:\xampp\htdocs\source\index.php on line 3