how to configuring a xampp web server for different root directory

You can change Apaches httpd.conf by clicking (in xampp control panel) apache/conf/httpd.conf and adjust the entries for DocumentRoot and the corresponding Directory entry. Just Ctrl+F for “htdocs” and change the entries to your new path. See screenshot: # # DocumentRoot: The directory out of which you will serve your # documents. By default, all requests … Read more

Cannot get Http on git to work

If your firewall allows https, you can use the https-based address of your GitHub repo to push/pull. You need: to define in your gitbash session http_proxy and https_proxy environment variable (to the right proxy, with your internet login and password): export https_proxy=http://<login_internet>:<password_internet>@aproxy:aport to define where your git will look for the CAs: git config –system … Read more

Install FFMPEG on XAMPP

Sodobni-mediji.si’s method worked, but some things need to be clarified. Download: https://rapidshare.com/#!download|934l34|422916798|php_ffmpeg_v0.6.0_for_PHP_5.3.1.rar unzip copy ffmpeg.exe somewhere and remember the path for later use move php_ffmpeg.dll to php extension dir (usually c:\xampp\php\ext) move all other files to Windows\System32 (except COPYING.GPLv3.txt, readme.txt) add extension=php_ffmpeg.dll to php.ini (usually c:\xampp\php\php.ini) restart apache with fingers crossed questions/answers http://www.apachefriends.org/f/viewtopic.php?f=16&t=41913 If you … Read more

Error when trying to access XAMPP from a network [closed]

In your xampppath\apache\conf\extra open file httpd-xampp.conf and find the below tag: # Close XAMPP sites here <LocationMatch “^/(?i:(?:xampp|licenses|phpmyadmin|webalizer|server-status|server-info))”> Order deny,allow Deny from all Allow from ::1 127.0.0.0/8 ErrorDocument 403 /error/HTTP_XAMPP_FORBIDDEN.html.var </LocationMatch> and add “Allow from all” after Allow from ::1 127.0.0.0/8 {line} Restart xampp, and you are done. In later versions of Xampp …you can … Read more

How to turn on/off MySQL strict mode in localhost (xampp)?

->STRICT_TRANS_TABLES is responsible for setting MySQL strict mode. ->To check whether strict mode is enabled or not run the below sql: SHOW VARIABLES LIKE ‘sql_mode’; If one of the value is STRICT_TRANS_TABLES, then strict mode is enabled, else not. In my case it gave +————–+——————————————+ |Variable_name |Value | +————–+——————————————+ |sql_mode |STRICT_TRANS_TABLES,NO_ENGINE_SUBSTITUTION| +————–+——————————————+ Hence strict mode … Read more

Apache is not running from XAMPP Control Panel ( Error: Apache shutdown unexpectedly. This may be due to a blocked port)

There are many possible answers for this problem. The most common and most likely is that you’re running another program which is blocking port 80 or 443. If you’ve installed Skype, then you’ve found your problem! Change apache’s port settings to 81 and apache will work. There’s a good tutorial on that To check this … Read more