xampp

XAMPP Parameterization: 6 - xampp properties.ini

 

xampp/properties.ini

[General]
installdir=D:\x_dev
[Apache]
apache_server_port=80
apache_server_ssl_port=443
apache_htdocs_directory=D:\x_dev/htdocs
apache_configuration_directory=D:\x_dev/apache/conf
[MySQL]
mysql_port=3306
mysql_host=localhost
mysql_root_directory=D:\x_dev\mysql
mysql_binary_directory=D:\x_dev\mysql\bin
mysql_data_directory=D:\x_dev\mysql\data
mysql_configuration_directory=D:\x_dev/mysql/bin
mysql_arguments=-u root -P 3306
[PHP]
php_binary_directory=D:\x_dev\php
php_configuration_directory=D:\x_dev\php
php_extensions_directory=D:\x_dev\php\ext

 

 

Tags

XAMPP Parameterization: 4 - mySQL my.ini Directory References

MySQL my.ini directory references

xampp/mysql/bin/my.ini

# -----------------------------------------------------------------
# -----------------------------------------------------------------
#    Variables for mysql db port
# -----------------------------------------------------------------

#${xampp_path}
#Define xampp_path D:/x_dev

#${mysql_port}
#Define mysql_port 3305


[client]
# password       = your_password
#port            = 3306
port             = 3305
socket          = "D:/x_dev/mysql/mysql.sock"


# The MySQL server
[mysqld]
#port= 3306
port= 3305
socket = "D:/x_dev/mysql/mysql.sock"
basedir = "D:/x_dev/mysql"
tmpdir = "D:/x_dev/tmp"
datadir = "D:/x_dev/mysql/data"

# Where do all the plugins live
plugin_dir = "D:/x_dev/mysql/lib/plugin/"


# Comment the following if you are using InnoDB tables
#skip-innodb
innodb_data_home_dir = "D:/x_dev/mysql/data"
innodb_log_group_home_dir = "D:/x_dev/mysql/data"

 

Tags

XAMPP Parameterization: 3 - XAMPP PHP Dirs

XAMPP php.ini directory references

xampp//php/php.ini

upload_tmp_dir="D:\x_dev\tmp"

error_log="D:\x_dev\php\logs\php_error_log"

[browscap]
; http://php.net/browscap
browscap="D:\x_dev\php\extras\browscap.ini"

session.save_path="D:\x_dev\tmp"

[opcache]
zend_extension="D:\x_dev\php\ext\php_opcache.dll"

; UNIX: "/path1:/path2"
include_path=D:\x_dev\php\PEAR


; Directory in which the loadable extensions (modules) reside.
; http://php.net/extension-dir
; extension_dir = "./"
; On windows:
extension_dir="D:\x_dev\php\ext"

 

Tags

XAMPP Parameterization: 1 - httpd.conf

Parameterizing Apache & XAMPP

xampp/apache/conf/httpd.conf

# -----------------------------------------------------------------
# -----------------------------------------------------------------
#    Variables for xampp exe dir and htdocs ( website ) dir
# -----------------------------------------------------------------


#${xampp_path}
Define xampp_path D:/x_dev

#${htdocs_path}
#Define htdocs_path "P:/DEVL/www/com/unityconstruct_dev/htdocs"
Define htdocs_path "c:\d\x_dev\htdocs"

# -----------------------------------------------------------------
# -----------------------------------------------------------------
#    Variables for xampp exe dir and htdocs ( website ) dir
# -----------------------------------------------------------------

#${xampp_path}
Define xampp_path D:/x_dev

#${htdocs_path}
#Define htdocs_path "P:/DEVL/www/com/unityconstruct_dev/htdocs"
Define htdocs_path "c:\d\x_dev\htdocs"

# ----------------------------------
Tags

XAMPP Parameterization: 2 - httpd-xampp.conf

xampp/apache/conf/extra/httpd-xampp.conf

# -----------------------------------------------------------------
# -----------------------------------------------------------------
#    Variables for xampp exe dir and htdocs ( website ) dir
# -----------------------------------------------------------------

#${xampp_path}
Define xampp_path D:/x_dev

#${htdocs_path}
#Define htdocs_path "P:/DEVL/www/com/unityconstruct_dev/htdocs"
Define htdocs_path "c:\d\x_dev\htdocs"

 

Tags

XAMPP Portabilization

Simplify XAMPP config files by assigning variables at the top of the scripts. Some scripts have multiple references, so using these variables will allow for easy duplication or moving of the xampp application folder.
Tags
Subscribe to xampp