xampp

.htaccess doesn't work on xampp (windows 7)

ぐ巨炮叔叔 提交于 2019-12-19 08:17:13
问题 I'm setting my .htaccess file right now to use friendly urls (manually). But, when i go to the url the server shows me Error 404 . RewriteEngine on RewriteCond %{SCRIPT_FILENAME} !-d RewriteCond %{SCRIPT_FILENAME} !-f Rewriterule ^register$ register.php I'm really sure that mod_rewrite is enabled because i see it when use phpinfo() . 回答1: Even though mod-rewrite is enabled, by default it is not enabled for .htaccess files. Hold Your Breath Open xampp control panel Stop Apache Click the Config

My http://localhost/ redirecting to www.localhost.com

早过忘川 提交于 2019-12-19 05:15:30
问题 I checked my httpd.conf file and nothing found anything, let me know other areas whr i need to look. Although my other links are working fine like -- http://localhost/phpmyadmin/ or http://localhost/myprojects/ This is what i have in my httpd.conf file - DocumentRoot "C:/xampp/htdocs" # # Each directory to which Apache has access can be configured with respect # to which services and features are allowed and/or disabled in that # directory (and its subdirectories). # # First, we configure the

How to restore mysql database in XAMPP?

本秂侑毒 提交于 2019-12-19 04:02:31
问题 I have a backup of the entire xampp/mysql folder. How can I use it to recover my old db on a fresh installation of XAMPP? Simply copying the old xampp/mysql folder to new xampp leads to mysql errors like: InnoDB: Table veno/sls37_finder_links_termsc in the InnoDB data dictionary has tablespace id 1171, but tablespace with that id or name does not exist. Have you deleted or moved .ibd files? This may also be a table created with CREATE TEMPORARY TABLE whose .ibd and .frm files MySQL

Busy… Apache started [Port 80]

百般思念 提交于 2019-12-19 02:59:10
问题 I use XAMPP 1.7.7 after start Apache I get this alert: Busy... Apache started [Port 80] And I have opened the httpd.conf file and I have changed the port number to 8080 or 85 . But I still have above alert after reset XAMPP and start apache. What should I do? 回答1: It is because teamviewer or skype is using this port by defalut in you system. So the port 80 is busy , either you can try by changing the port number of skype/teamvier Or go with the following Solution Goto - >C:\xampp\apache\conf

How to install V8Js for PHP on XAMPP for Windows?

非 Y 不嫁゛ 提交于 2019-12-18 21:16:36
问题 Been working for days now trying to find an easy way to install V8Js on XAMPP for windows, yet with no success. I have downloaded the latest XAMPP version with PHP version 7.2.0 VC15, and followed the instructions in this blog post - https://blog.xenokore.com/how-to-install-v8js-for-php-on-windows/ - but to no avail. I don't see a mention to V8Js in the phpinfo, and when I try to use it I get an ERROR Error: Class 'V8Js' not found in... I have downloaded the dll files from here - https://blog

can't connect to mysql with php

故事扮演 提交于 2019-12-18 19:23:40
问题 I can't seem to connect to mysql with a php script, even though I can connect fine with phpmyadmin. I created a user with a password, and gave it the proper priveleges for the db, but everytime it connects it dies saying access denied. I am using xampp on a windows xp box. Firewalls are all disabled, and I've checked the username nad password are correct. Here's the code: $conn=mysql_connect('localhost','westbrookc16','megadots') || die (mysql_error()); Do usernames have to be in a specific

How to get Django to work with MySQL in XAMPP?

偶尔善良 提交于 2019-12-18 18:06:25
问题 I installed XAMPP on my Mac (Snow Leopard) and installed Django. How do I tell Django to use this and when I fire up python manage.py runserver I get this error: ... _mysql_exceptions.OperationalError: (2002, "Can't connect to local MySQL server through socket '/opt/local/var/run/mysql5/mysqld.sock' (2)") How do I tell Django to use this instead? /Applications/XAMPP/xamppfiles/var/mysql/mysql.sock 回答1: Put that in the HOST entry for the database in the settings. 回答2: simple solution is that

Installing a perl module from CPAN on XAMPP for Windows

℡╲_俬逩灬. 提交于 2019-12-18 17:37:08
问题 I'm pretty rusty with Perl and I don't think it's helping that I'm running it in Windows. I'd like to install this module. I tried the instructions here to install a CPAN module, but it fails trying to install App::cpanminus (the very first step.) I tried just running cpan Config::Simple and it didn't work either. In both situations, it fails with this error message: Unwrapping had some problem, won't try again without force Had problems unarchiving. Please build manually Running make test

Trouble using PIL in Django app on Windows

喜夏-厌秋 提交于 2019-12-18 17:33:12
问题 I'm learning a little Django with the Python Web Development with Django book. All was going well until I tried to build the photos application which requires the PIL (Python Imaging Library). When I try to add an image through the admin interface I receive an error message pasted below. I am running Windows 7, Python 2.7, Django 1.3b1, and XAMPP 1.7.3 with the wsgi module successfully installed (at least I think so, since the rest of my Django experiments work fine). Following the

XAMPP - Mysql stopped working on OS X Yosemite (10.10)

给你一囗甜甜゛ 提交于 2019-12-18 16:30:16
问题 I Installed XAMPP 1.8.3-1 on OS X Maverick and all was well, until I upgraded to Yosemite last night, Now when I try to start MySQL in the manager it won't start. Activity monitor shows no other MySQL processes running. While in the error log I find this message: 2014-08-06 17:19:04 5277 mysqld_safe Starting mysqld daemon with databases from /Applications/XAMPP/xamppfiles/var/mysql dyld: Symbol not found: _sqlite3_intarray_bind Referenced from: /System/Library/Frameworks/CoreData.framework