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

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

Fatal error: Call to undefined function sqlsrv_connect() in C:\xampp\htdocs

The MSSQL extension is not available anymore on Windows with PHP 5.3 or later. SQLSRV, an alternative driver for MS SQL is available from Microsoft: » http://www.microsoft.com/en-us/download/details.aspx?id=20098 Step by Step Download SQLSRV32.EXE (Microsoft Drivers for PHP for SQL Server) from: http://www.microsoft.com/en-us/download/details.aspx?id=20098 Choose path: C:\xampp\php\ext Uncomment or Append extension = php_sqlsrv_56_ts.dll in php.ini Restart Apache from XAMPP … 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