xampp

How to set the default storage engine to InnoDB in XAMPP

流过昼夜 提交于 2019-11-30 11:51:00
How do I set the default-storage-engine to InnoDB in Linux XAMPP 1.7.3? Jack The easiest way is just to go to the mysql config file (my.ini in windows, my.cnf in Linux) and just add this: [mysqld] default-storage-engine=InnoDB This assumes that you have enabled InnoDB , which is another topic, but there are plenty of answers on how to do this. You can always check the default storage engine in phpMyAdmin on XAMPP: Just click on the server, then on engines, then on a particular engine (like MyISAM), and then see if it says MyISAM is the default storage engine on this MySQL server . You set the

how to change xampp htdocs directory in OSX?

喜你入骨 提交于 2019-11-30 11:26:58
问题 I want to change XAMPP's htdocs directory. I followed the instructions to create a virtual host from this question: Make XAMPP/Apache serve file outside of htdocs this works fine on Windows 7, however when I try it on OSX, going to mysite.local just loads the xampp splash screen (mysite.local/xampp/index.html). I have restarted the web server. My virtual host declared in httpd-vhosts.conf is: <VirtualHost *:80> DocumentRoot Users/username/Documents/sitename.com ServerName sitename.localhost

how to create subdomains in apache(xampp) server?

末鹿安然 提交于 2019-11-30 11:06:39
问题 I've trying to create subdomain in my local xampp installation for some time. I tried editing my httpd.conf file and I entered the following: NameVirtualHost *:80 <VirtualHost *:80> DocumentRoot /ecommerce ServerName ecomm.localhost </VirtualHost> I also edited my windows hosts file and entered: 127.0.0.1 ecomm.localhost But when I type 'ecomm.localhost' in my firefox it gives me: Access forbidden!!! Can please anybody help me out? What exactly I'm doing wrong? I'm fairly new to this. I

XAMPP mail not working with PHP mail() function

喜你入骨 提交于 2019-11-30 10:32:37
I just installed XAMPP, Apache is running, so is MySQL and Mercury. In Dreamweaver I created a php file with a mail($to,$subject,$msg,'From:'.$email); function, but when I ran the file from localhost it showed an error. After playing around with xampp control panel, turning mercury on and off, it's not showing any errors, yet is not send the email either... any ideas? the 'admin' button on the cp for mercury does nothing. Thanks! R You would have to configure the mercury server bundled with xampp to actually deliver/relay the mails. But I suggest you use something like SwiftMailer instead of

How can I access the mysql command line tool when using XAMPP in OS X?

痴心易碎 提交于 2019-11-30 10:25:45
问题 I've got a vanilla install of XAMPP in OS X. How can I access the mysql command line tool? I've tried typing "mysql" at the command line, and it spits back "-bash: mysql: command not found". 回答1: XAMPP is installed in Mac OS X in the following directory: /Applications/XAMPP/ You can look what's inside that directory and run mysql command line tool providing the full path to it: $ /Applications/XAMPP/xamppfiles/bin/mysql If you need, you can modify your PATH environment variable to include

How can I update my version of PHP for XAMPP [duplicate]

廉价感情. 提交于 2019-11-30 09:23:17
Possible Duplicate: Upgrading PHP in XAMPP for Windows? I am currently using XAMPP version 1.8.1 which has the PHPversion 5.4.3 I have found the latest version of PHP from the PHP site version 5.4.11, released a day ago. Now if I download the latest PHP version from php.net and replace my current PHP directory with the latest, will it work properly/ straight away? Thanks Download the latest binary version of PHP 5.4.11 (make sure to get the .zip package not the installer) De-archive it to a directory Copy the contents of the directory in the php subfolder of your XAMPP installation directory,

How to solve “Call to undefined function dbase_open() ” error in windows

给你一囗甜甜゛ 提交于 2019-11-30 09:22:22
问题 Hi i want to load DBF file to mysql, am using xampp,php version 5.5.6 i had write the below code, But am getting Error --- Fatal error: Call to undefined function dbase_open() in C:\xampp\htdocs\imports\import_geo.php on line 47 $dbf = dbase_open('OUTLETS/regions.dbf', 0); $num_records = dbase_numrecords($dbf); for($i=1;$i<=$num_records;$i++) { $record = dbase_get_record_with_names($dbf, $i); $stmt_bricks->execute(array( ':id' => $next_brick_id, ':type' => 'Region', ':code' => $record['REG

PHP xampp mail() function not working

六月ゝ 毕业季﹏ 提交于 2019-11-30 08:52:57
问题 I am trying to send emails from my gmail account using php (xampp). I search over stackoverflow and as I got the things I changed my xampp's files sendmail.ini and php.ini as, In C:\xampp\php\php.ini I removed the semicolon from the beginning of the line extension=php_openssl.dll to make SSL working for gmail for localhost. in php.ini file under [mail function] I changed SMTP=smtp.gmail.com smtp_port=25 sendmail_from = mukul.agrawal19@gmail.com sendmail_path = "\"C:\xampp\sendmail\sendmail

XAMPP localhost returns object not found after installing Laravel

最后都变了- 提交于 2019-11-30 08:44:53
After much faffing about I got laravel to work with XAMPP. However, I can't seem to access directories in the htdocs folder via localhost now. Attempt to access a file returns Object not found! along with The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again. The changes I made to get laravel working seems like a blur now. The only thing I remember doing is editing the hosts file to enable the virtual host to work by adding 127.0.0.1 laravel.dev in the hosts file (using a mac btw). I also added a virtual host to the httpd-vhost

How to install multiple XAMPP versions OR Multiple PHP versions on MAC OS X 10.7 Lion

跟風遠走 提交于 2019-11-30 08:22:11
问题 I need to do some work on a legacy system that requires PHP 5.2 I already have XAMP 1.7.3 installed but this version has PHP 5.3. Since this a work I might do for a couple of times in the next months, I was thinking about installing a XAMP version that runs PHP 5.2 At the same time I'm involved into some work that requires me to use PHP 5.3, so I just can`t uninstall my current XAMP version and install one that uses PHP 5.2 On XAMPP Download Website it's pretty clear that on installing any