xampp

Backup a mysql [xampp] database in java

泪湿孤枕 提交于 2020-01-05 07:05:28
问题 So I am still learning programming, I am creating a simple application that can backup a database but the problem is when I click the button for backup, nothing happens, it does not even display the "can't create backup". I am using xampp, in case that is relevant. I have zero idea as to why is it is not working, and I am really curios what is the reason behind it, any help will be greatly appreciated. ... String path = null; String filename; //choose where to backup private void

Apache HTTP Server stopped working

蓝咒 提交于 2020-01-05 04:02:29
问题 I am using xampp and when I run any .php file in my pc, the xampp give me this error and stop any page to run in my browser. When I click " Close the program " then page load successfully but again after 1 minute the same error appear in my screen. I install latest version of xampp 2, 3 times and I'm sure the software is also not corrupt. Anyone know the solution? 来源: https://stackoverflow.com/questions/19077247/apache-http-server-stopped-working

XAMPP : composer returns error instead create new laravel project

北城余情 提交于 2020-01-04 15:32:55
问题 Using ubuntu 16.04 LTS, Installed PHP in two places with different version, in root 7.0 and XAMPP 5.6 , the composer installed globally, now I am not able to create project by composer from lamp/htdocs. xampp running fine. composer installed and running fine. Error : Notebook-PC:/opt/lampp/htdocs$ composer create-project --prefer-dist laravel/laravel blog "5.4.*" Installing laravel/laravel (v5.4.30) - Installing laravel/laravel (v5.4.30): Loading from cache Created project in blog > php -r

XAMPP Apache and MySQL services not starting or stopping after first installation

女生的网名这么多〃 提交于 2020-01-04 06:34:36
问题 Hi I want to start learning PHP and MySql and also polish my knowledge of Javascript witch is very limited at the moment having only use jQuery and knowing only the core sintax of the language.I choose to read Learning PHP MySQL and Javascript witch seemed to fit all my needs. Having always had bad luck when installing something new I immediately hit a dead end with XAMPP 1.7.7. The server runs corectly when is first installed and I can stop MySQL and Apache from running from the control

XAMPP Apache and MySQL services not starting or stopping after first installation

不羁的心 提交于 2020-01-04 06:33:57
问题 Hi I want to start learning PHP and MySql and also polish my knowledge of Javascript witch is very limited at the moment having only use jQuery and knowing only the core sintax of the language.I choose to read Learning PHP MySQL and Javascript witch seemed to fit all my needs. Having always had bad luck when installing something new I immediately hit a dead end with XAMPP 1.7.7. The server runs corectly when is first installed and I can stop MySQL and Apache from running from the control

PHP mail() function return true but no message

吃可爱长大的小学妹 提交于 2020-01-04 02:53:20
问题 This my problem, I have a simple PHP script to send email to localhost with mercury mail server and read it with Mozilla Thunderbird. And it's work. And then, I upgarde XAMPP version to 1.8.1 and my function return true but no email delivered. <?php $to = "root@localhost.com"; $subject = "Hi!"; $body="test"; $headers = "From: root@localhost.com"; if (mail($to, $subject, $body, $headers)) { echo "Message successfully sent!"; } else { echo "Message delivery failed..."; } ?> I tried to send

phpmyadmin 2002 error

爷,独闯天下 提交于 2020-01-04 02:26:27
问题 I have got this error message: #2002 - The server is not responding (or the local MySQL server's socket is not correctly configured) I use Ubuntu 11.10... and Xampp I used the google, and I saw this solution: $cfg['Servers'][$i]['socket'] = '/var/run/mysql/mysql.sock'; or $cfg['Servers'][$i]['connect_type'] = 'tcp'; But these lines in the config.inc.php file, don't fix the problem. Can somebody help me? What else can I do? I want to learn php :) But there are a lot of problem... Maybe on

XAMPP default folder on OSX

柔情痞子 提交于 2020-01-03 15:36:08
问题 Getting Started manual says I can put my files in /Applications/XAMPP/htdocs/ folder and in /Sites/ folder, but when I put files in /Sites folder it gives me this error: Server error! The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script. If you think this is a server error, please contact the webmaster. Error 500 localhost Wed Mar 17 11:29:01 2010 Apache/2.2.14 (Unix) DAV/2 mod_ssl/2.2.14

XAMPP default folder on OSX

只谈情不闲聊 提交于 2020-01-03 15:36:02
问题 Getting Started manual says I can put my files in /Applications/XAMPP/htdocs/ folder and in /Sites/ folder, but when I put files in /Sites folder it gives me this error: Server error! The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script. If you think this is a server error, please contact the webmaster. Error 500 localhost Wed Mar 17 11:29:01 2010 Apache/2.2.14 (Unix) DAV/2 mod_ssl/2.2.14

How to avoid 403 error for image URLs in (local) Wordpress via XAMPP on Windows?

心不动则不痛 提交于 2020-01-03 15:32:47
问题 Windows XP SP3 - Xampp 1.8.1 - PHP 5.4.7 - WordPress 3.5.1 - (all drives use NTFS) I think my problem is similar to this one but these solutions seem only suitable for Unix-like OSs. I'm running Wordpress via XAMPP on Windows XP (SP3) and some ( but not all ) images are not displayed because I seem not to have file permissions to access them. When drilling down (via Chrome Developer) to the URL in a new tab, I get a 403 error. Is changing file permissions the way to go for me too and if so,