FAQ Database Discussion Community


How to use MemcacheD instead of Memcache on PHP and Windows Xampp?

php,caching,xampp,memcached,amazon-elasticache
Sorry but, I've searched this question and I found a lot of old answers. Now, I can use memcacheD instead of memcache on windows? http://www.codeforest.net/how-to-install-memcached-on-windows-machine I installed php_memcache.dll extension and memcached.exe server service, but this is memcache! (without "D"). in fact if I use new Memcache; it works fine, instead...

MySQL I/O Performance in XAMPP

mysql,database,xampp,database-connection
Is there a way to monitor MySQL I/O performance in XAMPP? I am building an application that will interface with the MySQL database and for testing in XAMPP MySQL, I would like to be able to monitor I/O performance....

Admin page access using IP address

php,pdo,xampp
I have created an admin page with name admin.php. But I want it to be accessed when I enter an IP address in format say XXX.XXX.X.X in the address bar. Please, can anyone help on how do I do that? I am using pdo php on XAMPP on mac yosemite.

UAC error while installing Xampp 1.8.35 on windows 8

windows,xampp,localhost
I am trying to install xampp but before installation it gives me the following error: I have disabled UAC and it gives me this error.When I press ok and install the thing anyway it still won't let start apache and my sql up. Also installation was done in Program file...

Laravel 5.0's Route::post renders an empty page, why is this when Route::get works just fine

php,laravel,xampp
I am new to laravel and php. I'm trying to get basic forms to work but when I want to use Route::post() I get an empty page. I have viewed multiple tutorials but can't find any differences between my (failing) code and the working examples. My routes.php: <?php Route::get('/', function()...

How can i solve the error when running xampp saying that the port/s are in use by another program?

xampp
I have xampp v 3.2.1 and i'm getting this error in red: You need to uninstall/disable/reconfigure the blocking application or reconfigure Apache and the Control Panel to listen on a different port Problem detected! Port 21 in use by "C:\WINDOWS\system32\svchost.exe -k ftpsvc"! FileZilla WILL NOT start without the configured ports...

Wordpress and Xampp not open child pages

php,wordpress,xampp
I'm working with wordpress + xampp but I can not see the child pages. Appears: Object not found! The requested URL was not found on this server. The link on that page seems to be in an error or out of date. Please inform the author of that page about...

Connecting to ldap securely for Dummies

php,ssl,active-directory,ldap,xampp
I have been struggling for days with no progress, to start with I have very little knowledge with LDAP and Active Directory. I need to use php to connect with an ldap server over an enterprise and then simply run a bind. I went through a lot of material around...

XAMPP: apache won't start but already running in port 80?

apache,xampp
Not a serious problem, and easily solved. Just a curious question. I'm running Linux Mint, and am trying to build a website using a small database. To this end, I've installed XAMPP. Previously it worked fine, but then I started running into problems (browser is downloading .php files, even though...

Installing PHP Project Dependencies with Composer

php,xampp,composer-php,nette
I am trying to install Nette2.3.1 using Composer (on XAMPP). In c:\x\php folder I run this command: composer create-project nette/sandbox myprojectname When I do this, getting following error: [Seld\JsonLint\ParsingException] "c:\x\php\php.exe" does not contain valid JSON Parse error on line 1: MZÉ ♥ ♦    ╕ ^ Expected one of: 'STRING',...

php artisan migrate throws PDOException

php,mysql,laravel,xampp
I found other thread with the same issue however I didn't fix it. The doc says I should just uncomment the extension=php_pdo_mysql.dll line which I did. I'm running Windows with xampp and I'm trying to connect to the MySql db. However I get this error: $ php artisan migrate exception...

website 404 error from external webbrowser

xampp,http-status-code-404,external
I can't get access to my website from external over the ip adress. this works: localhost/my_website // shows my web_site https://IP-adress/ // I see xampp startpage this doesn't work: https://IP-adress/my_website //-> I get 404 error when i add to the httpd.config file "listen 443" or "listen 80" the server doesn't...

How check if the sum of the values of two columns, in the same row have exactly 100 as result in mysql

mysql,sql,phpmyadmin,xampp,checksum
I have this problem in mysql (phpmyadmin).. I should want to check if the values of 2 columns do 100… for example I have this table | BLABLABLA | BLABLABLA | VALUE1 | VALUE2 | and user want add this values(bla, bla, 20, 30).. I would that 20 and 30...

How do I send an email of the current page using a button?

javascript,php,html,email,xampp
I am trying to send an email of my html page. This is the code I have so far: <script language="javascript"> function emailCurrentPage() { window.location.href = "mailto:?subject=" + document.title + "&body=" + encodeURI(document.location); } </script> <button onclick="emailCurrentPage()">Email page</button> Which sends the link of the current page but I want the...

xampp control panel Apache port is not opening

php,mysql,xampp
I have downloaded XAMPP control panel and installed it, but when I run the control panel it shows the error below. I have changed the port id and the PID, but the same error is reported despite that. I have also reinstalled XAMPP three times, but the issue persists. [Apache]...

Local site redirecting to live site

apache,.htaccess,xampp
I'm trying to set up my web files locally for testing. I have my site files in my documents folder. I have xampp installed and have set up apache to use baseball.dev to bring up my local website. But when I try to use it, baseball.dev redirects to the live...

How to use font-face on a local server (xampp)?

css,fonts,xampp,font-face
I'm experimenting with custom fonts using font-face and a local font I have on my computer. I'm using XAMPP for local server and Dreamweaver as the IDE (not sure it matters, though I "managed" my fonts there and added the font I'm trying to use). Anyways, I keep getting the...

Using exec() to run python script in PHP

php,python,xampp
I want the user to upload a file and then a php file checks if it is valid or not. My problem is in running the script_template.py , i used the function exec() to run in command line but it does not return something and i don't understand why. Thanks...

How can I set up a load balancer for multiple virtual hosts (apache)

apache,xampp,load-balancing,virtual-hosts
I am trying to set up a load balancer for a couple of virtual hosts on my apache server. These virtual hosts are added by adding the following lines for the file "C:\Windows\System32\drivers\etc\hosts": 127.0.0.1 localhost 127.0.0.1 vhosta 127.0.0.1 vhostb 127.0.0.1 vhostc 127.0.0.1 load-balancer ::1 localhost Then I've added the following...

xampp showing folder empty in htdocs

php,xampp,localhost,htdocs
I have a folder called myfiles in htdocs and this folder contains a file with name home.php. When I open http://localhost:8080/myfiles/ it was showing no files in it. After trying few things, somehow I get a thought of changing the file name to home1.php and then the file are being...

Multiple VirtualHosts For XAMPP Not Working

wordpress,apache,xampp,virtualhost,virtual-hosts
Ok, so I'm at my wits end. I've been trying to get this up and running for the better part of a week and it I don't understand why it's not working. Background I have two wordpress sites, one dev and one prod. I would like to be able to...

Catching requests made in xampp with fiddler

php,soap,xampp,fiddler
I have a simple php file which makes SOAP requests. This is running on my local computer with XAMPP as a webserver. I am trying to catch the request made in fiddler, I can see the request to my php file but that just returns the html for the page....

Error #2002 in localhost/phpmyadmin. in Ubuntu using XAMPP

ubuntu,phpmyadmin,xampp
After starting XAMPP on my Ubuntu 12.04.5 on KDE interface and trying to open phpmyadmin on the localhost I am getting this error: 2002 - No such file or directory The server is not responding (or the local server's socket is not correctly configured). Connection for controluser as defined in...

PHP parse int wrong in XAMPP windows

php,windows,xampp,parseint
demo $code = '40001042901'; echo (int)$code; //intval($code) //same I test on linux (Ubuntu) that result is 40001042901 but on windows result is 2147483647, what wrong with that? XAMPP 1.8.3, PHP 5.5.15, Apache 2.4.10 (Win32)...

Why CodeIgniter install error occur

php,codeigniter,ubuntu,frameworks,xampp
I already install CodeIgniter 3 at XAMPP/Ubuntu Envirement. When I do the same actions (Copy,start apache) and open localhost/ci dir on Widows I get welcome message. But on Ubuntu i'm getting a message: "Your view folder path does not appear to be set correctly. Please open the following file and...

What is the xampp localhost password to connect with putty?

linux,shell,xampp,server,putty
I need to learn Linux shell commands ,so i tried to connect to my local host Xampp server via Putty. I have installed a free ssh from this link: http://www.freesshd.com/?ctt=download I could connect by Putty to this IP / port : 127.0.0.1:22 . But it needs a Username & Password...

Location of Including PHP File Affects Global Variable Scope

php,xampp,global
It appears that the location of my including file affects global variables inside of the included file. It's complicated. See below: /config.php <?php $domain = 'localhost'; $database = 'db'; ?> /functions.php <?php require_once("config.php"); function getDatabase() { global $database; return $database; } ?> /endpoint.php <?php require_once($_SERVER['DOCUMENT_ROOT']."/functions.php"); print(getDatabase()); ?> /api/endpoint.php <?php require_once($_SERVER['DOCUMENT_ROOT']."/functions.php");...

PHP OSX XAMPP - exec mount command

php,osx,apache,xampp
Good Afternoon, I am currently working on a PHP project which requires a php script to mount a windows shared drive. Currently building using OSX with XAMPP. exec('mount -t smbfs //user:[email protected]/Share /Volumes/Share 2> temp/error.txt'); Now i understand why this does not work. Its due to permissions. Apache is running as...

Python Requests Library post requests failing on local development server?

php,python,post,xampp
Ok so I have been looking at the code I have for far too long I know through I number of tests that I must be facing an issue beyond the scope of my knowledge. In short, I am trying to send data that I have received from an Arduino...

Correct source code, but I got parse error: syntax error, unexpected '}' [duplicate]

php,apache,xampp,syntax-error
This question already has an answer here: PHP Parse/Syntax Errors; and How to solve them? 10 answers Now I am trying to set up a local mirror of a website. I have whole database and source code of this website. The website runs smoothly in the server, but when...

.htaccess rules work in XAMPP but not on IIS 6

.htaccess,iis,xampp
I use .htaccess rewrite rules to redirect urls with the extension .html to .php. These are my current rewrite rules: RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)\.html$ a/$1.php [NC] How do I get these to work on IIS6?...

Mysqldump generat empty file in php

php,mysql,xampp
I try to save my database in PHP but not work its work only with Shell With shell (work good) mysqldump --user=root --password= --host=localhost site > C:\xamppp\htdocs\site\sql\tests.sql With php (file is created but empty) system('mysqldump --user=root --password= --host=localhost site > C:\xamppp\htdocs\site\sql\test.sql', $result); for $result i have 1 I work with...

Update ICU extension within xampp?

php,xampp,icu,intl
I'm running xampp and I need to upgrade ICU (php_intl extension) to the latest version - I downloaded 54 from the ICU page but unsure how to go about upgrading it. There is a bin, include and lib folder - where do I put these files and do I have...

Sending email - PHP XAMPP in MAC

php,osx,email,xampp
I am developing a PHP application locally in a mac. I need to develop functionalities where I would need to send emails on certain scenarios. In order to develop and test, I did some research on how to do this in MAC/XAMPP. For the development purpose I want to use...

Localhost, subdomain, using XAMPP

php,windows-7,xampp
I am a web developer and frequently want to view different projects on my local machine. Currently my localhost is set to "C:/xampp/htdocs/". I would like to create a "company.localhost" that points to "C:/xampp/htdocs/company/". I have edited c:\windows\system32\drivers\etc\hosts to include the line 127.0.0.1 company.localhost I have edited c:\xampp\apache\conf\extra\httpd-vhosts.conf to include...

SQL result show empty results in phpmyadmin xampp [closed]

php,sql,phpmyadmin,xampp
i have make a login and register page in php and every thing work fine and it show me that user register successful . my question is that when i navigate to localhost/phpmyadmin and try to get the user and password i just entered it so i use : SELECT*FROM...

Xampp Config Files AWS

amazon-web-services,xampp,bitnami
I've setup my Bitnami AMI on AWS. I now want to know if there is a way I can change my Xammp config files to access apache and MySQL on the AWS server. Please help....

Configure Apache web server to perform SSL authentication

linux,apache,security,ssl,xampp
I'm trying to perform SSL authentication in apache web server, using XAMPP in Linux. After I configure httpd.conf like this, Apache server is failing to start. Can some one help me to fix this ? What is wrong with my configuration ? Alias /bitnami/ "/opt/lampp/apache2/htdocs/" Alias /bitnami "/opt/lampp/apache2/htdocs" <Directory "/opt/lampp/apache2/htdocs">...

I update my xampp and i face this errors Notice: Undefined variable: session in

xampp,localhost
I update my xampp and i face this errors Notice: Undefined variable: session in I try to php.ini but no solution i have more than 30 scipts in my localhost and i want to ignore this errors. How can i do this

dynamic css file won't load on web, works on xampp

php,css,xampp
This is my first question and I will try to do a good job. I use a DSS file for my website in development as I want to "display:none" some divs if certain conditions are met (user is logged in -> no need for a register-form) So my index.php head-tag...

Using PHP's mail() works from command line, not from Apache, any idea why?

php,osx,apache,email,xampp
I am using XAMPP on OS X (Yosemite), with PHP's standard mail() function to send through Sendmail (which OS X aliases for Postfix). I could send email other ways, like specifying an SMTP server in Postfix config files or using a PHP class, but wanted to get the basic mail()...

PHP file to direct search bar to database from an HTML webpage

php,html,pdo,xampp,virtual-machine
I have made the HTML webpage and a search bar on my local machine, and am going to download XAMPP to host it locally. The database will be on a VM and played through a hypervisor. I will be using the webpage and a single searchbar to look up names...

object not found $_GET

php,url,xampp
i'm trying to learn PHP but for some reason i am getting this weird issue (i am using XAMPP): i have a simple code <?php echo $_GET['name']; ?> and when ever i type http://localhost/lee.phpi get undefined index like i am supposed to, but when i type http://localhost/lee.php&name=lee i get an...

Cant get Xampp to follow symlinks

php,windows,apache,xampp
Im running Xampp on a windows 7 machine. I want to follow symlinks, but cant get it to work. Anyone offer any help. httpd-vhosts.conf file: <VirtualHost *:80> DocumentRoot E:\xampp\htdocs\xampp ServerName localhost <Directory E:\xampp\htdocs\xampp> Options Indexes FollowSymLinks MultiViews ExecCGI Require all granted </Directory> ErrorLog "logs/localhost-error.log" CustomLog "logs/localhost-access.log" combined <VirtualHost *:80> DocumentRoot...

Notice: Undefined index: variable

php,mysql,xampp
I am trying to build the following form: <form method="post" action="Index.php"> <label>Name </label> <input name="name" placeholder="Type Here"><br /> </br> <label>Email </label> <input name="email" placeholder="Type Here"> <br /></br> <label style="display:block;">I need some information regarding:</label> <textarea name="message" placeholder="Type Here"></textarea> <br /> <label>*What is 2+2? (Anti-spam)</label> <input...

Local database server available on local network?

java,mysql,apache,xampp
I just installed XAMPP and I'm using the control panel v3.2.1 and I have successfully created my own local MySQL database, but what I want to do, and after more than 20 google searches, I couldn't find my answer, however, I want to make my database available to the local...

How to upload WordPress child theme to XAMPP + Bitnami + Mac OS?

wordpress,osx,xampp,themes,bitnami
Everything was going so well: installed XAMPP on Mac (OS 10.10.2). Installed Bitnami WordPress module. Imported existing WordPress site (this site is already live). Then imported/installed the theme I want to modify. All good up to that point. Now I want to create a child theme. Following the instructions from...

XAMPP load blank screen on codeigniter

php,codeigniter,xampp,localhost
I'm using XAMPP as my localhost server testing, and I'm using the CodeIgniter PHP framework for my web app. When I want to test my web application, XAMPP doesn't load properly. I've been waiting around a minute, and then what I get is just blank screen on the browser page....

XAMPP and Skype Port Conflict on Windows 10

apache,xampp,skype,ports,windows-10
I know some of you knew that Skype usually conflicts with XAMPP, because of the port. However if you are trying to use Windows 10 there are no advance option on how to avoid Skype using ports like 80 or 443. (Sorry I can't find advance option on Skype on...

External PHP to post data in HTML

php,html,css,xampp,external
I have a website Im making. I have made a php file that pulls data from a database and displays it in HTML (the php and html are all within a php file). How do I make it so that I can call the external php file and load the...

Xampp redirects to /xampp

codeigniter,xampp
I just installed codeIgniter on my xampp but whenever I try to go to it's folder (localhost/ci) , it instead takes me to localhost/xampp Can't find what else is needed to do....

xampp apache couldn't be stopped

php,apache,xampp
I am working in windows 8 OS. And I have edited something in my php.ini.. In order to save changes or see the changes I have to stop my apache server. But it can't be stopped. The xampp control panel stop working when I stop the apache How can I...

How can I combine these two statements?

perl,xampp,cgi
I'm currently trying to insert data into a database from a text boxes, $enter / $enter2 being where the text is being written. The database consists of three columns ID, name and nametwo ID is auto incrementing and works fine Both statements work fine on their own, but because they...

Change browser/system default localhost port (80) to custom

apache,xampp,localhost,wamp,wampserver
When I using XAMPP or WAMP I getting the following issue: XAMPP - Port 80 in use by "Unable to open process" with PID 4! 12 And it`s easy to solve it by changing the .ini file of Apache and tell him to use port 8080 (for example)... But then...

Removing index.php from CodeIgniter URLs in Windows

php,.htaccess,codeigniter,url-rewriting,xampp
I am running CodeIgniter on XAMPP on Windows. I am having difficulties removing 'index.php' from my URLs. For example, myproject/index.php/users works but myproject/users returns a 404 error. I have taken the following steps: 1) I set my .htaccess file to: RewriteCond $1 !^(index\.php|resources|robots\.txt) RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule...

500 Internal Server Error on Xampp's Virtual Host

apache,.htaccess,mod-rewrite,xampp,virtualhost
I'm using Xampp and I have a lot of web projects in my computer, so I decided to create a Virtual Host, but I'm getting the following error in the log when I use htaccess rewriterules to make some friendly URLs: AH00124: Request exceeded the limit of 10 internal redirects...

xampp not working, just installed

php,mysql,xampp
I just downloaded xampp from "https://www.apachefriends.org/index.html" this link, and switched off my defender as it asked me to, after instaling, i ran it and switched on mysql and clicked admin on the gui but i get this " The web page is not available ", even though mysql is stil...

XAMPP - Windows - SSH2 - Failed to get banner

php,ssh,xampp
After much stress I was able to get SSH2 working with XAMPP on a Windows 2008 R2 server on a LAN network. At least I think it's working. The website I'm using it with is running through port 8880. How do I determine the port I should use for SSH?...

Xampp Starting properly but in browser localhost is not working

php,apache,xampp
I am using windows 7 and XAMPP Starting properly but in browser(ALL borwsers) localhost is not working incase of that some folders are displaying with the title searchbase. Please refer the screenshot Help me to debug this problem, I checked recently installed programs also browsers windows settings every thing looks...

Xampp - mysql doesn't return all records

php,mysqli,xampp
I'm working on a university project and I have to create a web site which uses a mysql database. I've started using XAMPP but I found out that when I send a query from the web page not all the records are shown. The web page should show all books...

unable to update data in db. jQuery, php

php,jquery,mysql,database,xampp
I was working with jQuery in the front end and php in the backend. I had some cross origin problem which I have fixed. but now I am filling up forms (sign up) but db is getting updated, not even empty row. Before I was getting some empty row in...

Dreamweaver can't connect to localhost

browser,xampp,localhost,dreamweaver
I can't preview what I'm programming in Dreamweaver in any browser anymore. The message I get (e.g. from Safari) is: Safari can't open the page "localhost/~user/mySite/index.htm", Safari can't connect to the server "localhost" I just couldn't find any answers in the internet which could solve this. What I did since...

NetBeans - button select database else if

java,mysql,netbeans,xampp
I want to call id and password in database use button in netbeans, so I did like this private void loginActionPerformed(java.awt.event.ActionEvent evt) { try { String sql="select *from login where ID = '"+id.getText()+"'and Password = '"+String.valueOf(pass.getPassword())+"'and Status ='"+pilih1.getSelectedItem().toString()+"'"; ResultSet rss1=st.executeQuery(sql); if ((rss1.next())&&(pilih1.getSelectedItem().toString() == "Pasien")){ pasien1 = new pasien1(); pasien1.setVisible(true); this.dispose();...

How can I introduce Slim framework in XAMPP?

xampp,slim
I want to introduce Slim framework into my XAMPP but I don't know where I have to allocate the folder. I was searching through the folders of xampp folder but I didn't see any of them that could be the right way. Any help would be appreciated. Thanks in advance!...

Google Drive - How to List all Files in a specified folder

php,google-apps-script,google-api,google-drive-sdk,xampp
Hi I am stuck here with this situation, I have tried a number of different approaches but I cannot get what I am after. Situation: I have a large number of files in folders hosted on google drive. For instance a single client folder for reports has between 2000-10000 files(this...

XAMPP for Windows - Apache not starting

apache,xampp
I was trying to set up multiple websites on my computer, following this tutorial: https://delanomaloney.com/2013/07/how-to-set-up-virtual-hosts-using-xampp/ I stopped apache and then changed two files: hosts and httpd-vhosts.conf. Here is hosts: # Copyright (c) 1993-2009 Microsoft Corp. # # This is a sample HOSTS file used by Microsoft TCP/IP for Windows. #...

brew install php56-mongo Command Not working

php,osx,mongodb,xampp,homebrew
I'm trying to install the MongoDB PHP driver for XAMPP on my OSX. When I run: brew install php56-mongo I get the following message: No available formula for php56-mongo Any thoughts on how to fix this?...

How to apply Magento security patches in xampp for windows

magento,xampp,patch
That must not be so difficult to do, I installed Magento CE 1.9 on xampp for windows. it works well. I need to apply security patches that come only as .sh files, no other format is available. I have the file, how can I apply it gives that I don't...

Uploading my site from XAMPP to Apache public host

php,mysql,mysqli,xampp
This is a general question. I`ve compliled site in xampp and it is properly running, because lack of experience I used mysql functions rather than the improved mysqli. Uploading my site on ecowebhost the site does not work, I have changed paths so that, apparently, no connection error happens. but...

Phalcone Mac and xampp

php,xampp,phalcon
Hi I have hard times with phalcon framework and xampp on my MacBook Pro, I tried how they suggest in phalcon web page with brew and all it is ok when type brew search phalcon I can see the different versions, but can not find phalcon.so to add in my...

Installing Xamp apache failed because Oracle port

oracle,apache,oracle11g,xampp
I have installed Xampp, but when I try to start Apache it says that The Apache cannot start because the port 80 is already in use by Sql Oracle , try to delete the application wich use that port. How can I fix it? Is there a way to change...

Can shopify be installed in xampp or any other web hosting server?

php,xampp,shopify
I heard shopify couple of days before, when I got a project in my office regarding shopify, and I did alot of research over this cms, but I'm still unable to know that can shopify be installed on xampp and can we customize this cms with respect to development aspects??...

Xampp apache won't run after previous Apache installation

php,apache,xampp
I've installed Xampp because the Apache module that I installed earlier won't let me use curl. However, I get these errors as a result and I can't start apache from xampp: 10:47:30 AM [main] All prerequisites found 10:47:30 AM [main] Initializing Modules 10:47:30 AM [Apache] Apache Service detected with wrong...

What is this error in XAMPP starting? How can i fix this?

php,mysql,linux,apache,xampp
[email protected]'s lap:~$ sudo /opt/lampp/lampp start sudo: unable to resolve host rash's lap [sudo] password for rash: Starting XAMPP for Linux 5.6.3-0... XAMPP: Starting Apache...fail. XAMPP: Starting diagnose... XAMPP: Sorry, I've no idea what's going wrong. XAMPP: Please contact our forum http://www.apachefriends.org/f/ Last 10 lines of "/opt/lampp/logs/error_log": tail: cannot open...

PHP File Upload Response

php,cordova,file-upload,xampp,server
I am sending a file to the server using phonegap filetransfer plugin. File Transfer plugin is showing transfer successful but when i checked my server no file is there. When i checked the response code it is showing the following: Array( [file]=>Array ( [name]=> hlc_parkingkanyakumari11-5-2015 1183232.db [type]=> [tmp_name]=> [error]=>1 [size]=>0...

PHP file upload missing tmp_name

php,apache,xampp
I downloaded and installed xampp for windows. When i try to upload pictures, video or music to my localhost in php i just get $_FILE['some_file'][name] i dont get [size], [type], [error] and most important to my [tmp_name]. But when i try to upload some .rar file or some document i...

Error:java.sql.SQLException: Access denied for user '[email protected]'@'localhost' (using password: YES)

java,mysql,database,netbeans,xampp
I am USING mysql (XAMPP) on my netbeans. I am trying the query GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' IDENTIFIED BY 'root' WITH GRANT OPTION; but cant't connect: ERROR: java.sql.SQLException:Access denied for user 'root'@'localhost' Here the whole code: public class NextHandler implements ActionListener{ @Override public void actionPerformed (java.awt.event.ActionEvent evt){...

Upgrade PHP on XAMPP 1.8.3 windows 7 installation

php,xampp
I have XAMPP 1.8.3 installed on my windows 7 machine. Which include PHP 5.5.6. I want to upgrade the PHP to 5.6 version. Is it possible to do the upgrade while keeping the XAMPP bundle other module as it is (Apache, MySQL). Can any one suggest a way to do...

Installation mysql for django with xampp on linux

python,mysql,django,database,xampp
After trying to start my django with: I obtain the following result : I'm using xampp to handle my mysql database and it works: So in order to solve the problem, i follow this tutorial and execute this command: But the output is this following error that i'm trying to...

How to Install PHP MongoDB Driver for XAMPP on OSX?

php,osx,mongodb,xampp
I entered the following commands on my command terminal in order to use the 'MongoClient' with PHP on XAMPP on my Macbook Pro: brew install wget brew install autoconf sudo /Applications/XAMPP/xamppfiles/bin/pecl install mongo Added extension=mongo.so to php.ini /Applications/XAMPP/xamppfiles/etc Restarted Apache However, I have had no luck. I keep getting this...

I changed mysql port in xampp, now how do I listen to the new port?

php,mysql,apache,phpmyadmin,xampp
I have installed the latest xampp with mysql version 14.14 Distrib 5.6.21, the problem is in my computer, I already have a mysql database installed by other program that I am using. So I configure the xampp mysql port to 3307 (default is 3306) inside the my.ini file. However, now...

How to upload wordpress theme to sub domain

wordpress,xampp,localhost,wordpress-theming,subdomain
In my localhost(xampp) wordpress themes are installed. I activate one of them And create user name and password for the wp-admin. And I backup database and wordpress site and upload it to subdomain(live site). After upload all content will load without CSS style-sheet. And wp-admin also not working. And url...

Can't run tests provided in Slim Framework

php,xampp,phpunit,netbeans-8,slimframework
I'm trying to make a simple rest client for my android app. I would like to do than in TDD way, but for that I need simple working configuration for all actions (GET, POST, and so on). After some struggling I was able to make test work with get requests....

conversion from string to double is not valid

mysql,vb.net,xampp
Imports MySql.Data.MySqlClient Public Class BookingForm Dim MySqlConn As MySqlConnection Dim Command As MySqlCommand Dim Valid As Boolean = False Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click Call Input_Validation() MySqlConn = New MySqlConnection MySqlConn.ConnectionString = "Server = Localhost; database = venuesdb; user id = root; Password = "...

XAMPP and Skype Port Conflict on Windows 8 [duplicate]

apache,xampp,skype
This question already has an answer here: XAMPP apache server is not starting after Skype installation 7 answers I have tried installing Skype on my machine and it takes aways the port for Apache (Port 80). How can I have both applications running at the same time? Note: I...

Which directory should I locate the PHP project in to make it work with XAMPP?

php,mysql,xampp
I installed XAMPP on my Macbook, and now I try to upload a PHP project to build an Android application that communicates with and uses MySQL. As a newbie, I even do not have a clue where to locate the PHP project so that the XAMPP recognises it and make...

How to run flask socket.io on localhost (xampp)

python,flask,xampp,flask-socketio
The tutorials I have seen use the following code to run the server: if __name__ == '__main__': socketio.run(app) My __init__.py file is: from flask import Flask from flask.ext.sqlalchemy import SQLAlchemy from sqlalchemy.orm import sessionmaker from sqlalchemy import * from flask.ext.socketio import SocketIO, emit app = Flask(__name__) socketio = SocketIO(app) app.debug...

Rewrite Rules are not being picked up by the Server

php,regex,apache,mod-rewrite,xampp
I'm unsure why the mod_rewrite.c is not correctly pathing the link Example URL http://developer.prodev/dev_www_trunk/justink/public_html/search/manufacturer/hewlett-packard Rewrite Engine http://developer.prodev/dev_www_trunk/justink/public_html/search/index.php?advanced=0&manufacturer_rewrite=hewlett-packard I have tested my rewrite rules on htaccess tester But this not the same result, I get within my error_log.log that was redirecting to justink/search/manufacturer/... (public_html fails to fall within rewrite). #...

SOLVED - How can I see phpmyadmin with XAMPP?

php,mysql,apache,phpmyadmin,xampp
I have a problem and it's that I have installed XAMPP in a virtual machine with VirtualBox. I run both Apache and MySql and there aren't any error. So, I try to access phpmyadmin from this virtual machine and I don't have any problem but if I try to run...

XAMPP - “This webpage is not available”

php,apache,xampp
I am trying my first Hello World app using php and xampp. I've been getting errors so far and been working through the problems one by one. So far I have: Saved the php file ("hello.php") on C:\xampp\htdocs. The following line is in between html "body" tags. <?php echo '<p>Hello...

XAMPP - Apache could not start - Attempting to start Apache service

xampp
While trying to start Apache using XAMPP, I was receiving - "Attempting to start Apache service..." message in XAMPP UI. No further details were available. Where can I see the logs (I was running XAMPP as Admin) ? ...

XAMPP MySQL Database won't run

mysql,osx,xampp
So I looked around and saw someone with the same problem as me and the solution was to use Terminal and kill some processes but I still get the same error. Why is that? I don't know if my question is clear or not. Basically I need another alternative solution...

Facebook web app on XAMPP localhost - how to go through the review?

facebook,permissions,xampp,localhost,photos
I am currently trying to develop a simple Facebook web application on XAMPP localhost to read photos and tags. I understand one does not need to go through Login Review if the app requests the three basic permissions: public_profile, user_friends, email I would need to ask for user_photos permission, and...

How do i print all image in web page? (Printer)

javascript,php,xampp
I have a this code <?php echo '<img border="1" src="data:image/png;base64,' . base64_encode($row['image']) . '" ;/>'; ?></br> How do I print the img in a printer?...

install mongobd on xampp

mongodb,xampp
PHP Version 5.3.8 and php_mongo-1.3.1 i added this file php_mongo-1.3.1-5.4-vc9.dll to xampp/php/ext , i made a copy from it , i changed the name to php_mongo.dll and i added this to php.ini extension=php_mongo.dll before extension=php_exif.dll when i restart the computer and open it again Apache doesn't run after that i...

Fatal error: require_once() [function.require]: Failed opening required global.php

mysql,joomla,xampp,virtuemart
I am try to open my site in locally. xampp is installed, but I get the following errors. How can I rectify this: Warning: require_once(/Applications/XAMPP/xamppfiles/htdocs/artgallery/administrator/components/com_virtuemart/classes/phpInputFilter/class.inputfilter.php) [function.require-once]: failed to open stream: No such file or directory in /Applications/XAMPP/xamppfiles/htdocs/artgallery/administrator/components/com_virtuemart/global.php on line 104 And: Fatal error: require_once() [function.require]: Failed opening required...

URL Rewriting with port number and root folder in PHP

php,linux,.htaccess,mod-rewrite,xampp
I have written URL rewrite like this Options +FollowSymlinks RewriteEngine on RewriteRule ^home index.php RewriteRule ^process login_do.php RewriteRule ^logout logout.php RewriteRule ^request event-request.php RewriteRule ^gallery event-gallery.php RewriteRule ^press-releases/([0-9]+)$ press_releases.php?y=$1 RewriteRule ^single_pr/([0-9]+)$ single_pr.php?id=$1 and it is working perfectly on IIS server after converting this into webconfig but when I deployed my...

How to make site without /index?

html,apache,dns,xampp,windows-server-2003
I am using xampp what I want is to show my site like this www.mysite.com instead of www.mysite.com/index.html what i have inside htdocs : site.html files of site i have used DNS Server 2003 and make some thing like : www.mysite.com -------> the "ip of the machine in which the...

Picking up html and include into php page

javascript,php,jquery,xampp
I am an amateur in PHP. I am writing a file named 'index.php' and its content I have put in a file known as 'Built.html' Index.php <body> <?php include 'built.html';?> </body> Built.html <div id=mainContent> <p>I love 'Hermione Granger.'</p> </div> I am using xampp, and on going to "Localhost/myfolder/index.php" (My files...

Error 2002 Connection refused on phpmyadmin using Ubuntu and XAMPP

ubuntu,phpmyadmin,xampp,kde
I just setup Ubuntu KDE on my chromebook and installed XAMPP, as I started the service using this command sudo /opt/lampp/lampp start I receive XAMPP: Starting Apache...ok XAMPP: Staring MySQL...ok XAMPP: Starting proFTPD...ok However when I access localhost/phpmyadmin it started by giving me this error: #2002 - No such file...