xampp

port 80 for apache server is in use by PID 4 (System) and cannot be stopped

烈酒焚心 提交于 2020-01-07 02:43:06
问题 I am starting apache at port 80 with xampp. However, the port 80 is taken by PID of 4 by the name system. I have tried Taskkill /F /PID 4 to force kill the task by even using the administor's rights but access is still denied. Any idea on how to solve this problem (I don't want to change the port of apache) 回答1: the port 80 is usually being used by this service: "World Wide Web Publishing Service", open "Services" in the Control Panel and stop it 回答2: When I ran into the same problem of yours

Warning: mysql_query() [function.mysql-query]: Access denied for user 'ODBC'@'localhost' (using password: NO)

夙愿已清 提交于 2020-01-07 02:26:25
问题 I'm using XAMPP on Windows 7. and when I try to open a login.php of current project I get this error Warning: mysql_query() [function.mysql-query]: Access denied for user 'ODBC'@'localhost' (using password: NO) in E:\xampplite\htdocs\newfule\mcp\clientlist.php on line 19 Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in E:\xampplite\htdocs\newfule\mcp\clientlist.php on line 19 Warning: mysql_num_rows() expects parameter 1 to be resource, boolean

Running MySQLdump for XAMPP in CentOS

醉酒当歌 提交于 2020-01-07 02:16:33
问题 Hopefully I am posting it in the right forums.. Basically, I am trying to run a script that will do a MySQL database dump which works when I run it manually, but crontab doesn't seem to run that particular script for some reason. My crontab is setup as such (for testing purposes, running every minute): * * * * * /opt/lampp/htdocs/xyz/backup/backup.sh The script is setup as such: #!/bin/bash # Script to backup the database /opt/lampp/bin/mysqldump -u root xyz > backup_$(date +%Y%m%d).sql echo

.env and mail.php files won't update - Laravel 5.1

为君一笑 提交于 2020-01-06 19:25:01
问题 I started a project a few months ago and set the configuration to send mail, everything works great. But now i want to change the sender email address, so i changed the configuration in the .env and mail.php files, but laravel just ignored the updates (still uses the old configuration to send mail). I cleared cache and restarted everything, I even deleted those files and laravel keeps sending emails with the deleted files configuration. What can i do? .env: MAIL_DRIVER=smtp MAIL_HOST=smtp

Form to Email - Xampp, PHP, Javascript, MAC OS

故事扮演 提交于 2020-01-06 18:36:54
问题 How to test "Contact us" page that takes form input, action = "send.php" which consists of mail function? I am using Xampp on Mac OS El capitan. No mail is received in the gmail inbox! 回答1: You can use PHPMailer class with SMTP. Please visit PHPMailer SMTP Example You can use Gmail SMTP server. In this way you don't have to setup Mail Server on your OSX/Windows. 回答2: First of all, you cannot send emails to Gmail from your local computer. Unless you have a SMTP server setup, if you want to

(Embedded?) Ruby/Python, existing XAMPP stack

为君一笑 提交于 2020-01-06 08:49:35
问题 I've been plugging away for about a year and a bit now with PHP on my local XAMPP install. I've learned very much, but am now needing to expand my knowledge base with concern to other languages. So, I figured I'd try tackling Ruby/Python. Now, since I'm sticking to web application development, I would assume embedded Ruby/Python would be the way to go, transitionally, moving from PHP. I have an existing XAMPP install on my Windows 7 x64 machine, which I'd like to pile Ruby and Python on top

(Embedded?) Ruby/Python, existing XAMPP stack

↘锁芯ラ 提交于 2020-01-06 08:49:28
问题 I've been plugging away for about a year and a bit now with PHP on my local XAMPP install. I've learned very much, but am now needing to expand my knowledge base with concern to other languages. So, I figured I'd try tackling Ruby/Python. Now, since I'm sticking to web application development, I would assume embedded Ruby/Python would be the way to go, transitionally, moving from PHP. I have an existing XAMPP install on my Windows 7 x64 machine, which I'd like to pile Ruby and Python on top

cURL acting very strange

北慕城南 提交于 2020-01-06 06:32:09
问题 I'm importing some data from external domains successful with cURL, until I tried with this URI: http://www.airbnb.com/calendar/ical/760186.ics?s=29623a93eb0e693c77591a711f082f06, which is a ics calendar. I can successfully run it on a command line (try for your selves): shell>> curl https://www.airbnb.com/calendar/ical/760660.ics?s=593cc556438a8f0919beb6107b6f508d, so it's not a network issue. but my php script (that do return other URI) DO NOT return this. or better it return false. here is

Visual Studio Xampp data connection

谁说胖子不能爱 提交于 2020-01-06 05:10:09
问题 I want to add a data connection in Visual Studio 2013. I want to use Xampp for hosting my database on localhost. I seted up my database with phpmyadmin. Now i want to add a connection in VS. Under server explorer i choose add new data connection. I choose the micorosoft odbc data structure. Next i wanted to build a new connection string. But i cannot find a Mysql odbc driver for that. So i downloaded it directly from mysql http://dev.mysql.com/downloads/connector/odbc/ and installed it. I

Copy ec2 files to local

拜拜、爱过 提交于 2020-01-06 03:17:16
问题 I would like to create a local copy of a live Magento website, so that I can test and develop on my local version. I did the following so far: installed XAMPP for Mac OS X 1.7.3; created a blank database; installed MySQL Workbench 6.0 for Mac; tried to connect to AWS EC2 and RDS instances via SSH following this scheme http://thoughtsandideas.wordpress.com/2012/05/17/monitoring-and-managing-amazon-rds-databases-using-mysql-workbench/; but I can't connect (it says authentication failed but