xampp

How to enable the PDO driver for sqlite3 in php?

十年热恋 提交于 2019-12-01 15:47:22
问题 My SQLite is version 3.4.0: image However my phpinfo's PDO support for SQLitev3 is not enabled/listed: image How can I enable it? I installed my web server via XAMPP. 回答1: I think that the PDO driver for sqlite3 is called 'sqlite', so you already have it installed. The sqlite2 driver is older. PDO_SQLITE is a driver that implements the PHP Data Objects (PDO) interface to enable access to SQLite 3 databases. In PHP 5.1, the SQLite extension also provides a driver for SQLite 2 databases; while

MySQL Workbench “fetching…” — cannot browse DB

走远了吗. 提交于 2019-12-01 15:23:34
问题 I've been having a lot of issues lately, basically since the last time I upgraded XAMPP for OSX (v1.7.3) and/or my MySQL GUI tools. Using MySQL Workbench (v5.2.44), I can connect to the DB running in XAMPP just fine, but trying to browse any database, under tables/views/etc it only shows "Fetching..." and never shows anything else. I can actually query tables, which is interesting, but I can't actually manage the databases in any meaningful way. Googling, others reported having luck running

Configuration issue with PHP contact form

徘徊边缘 提交于 2019-12-01 14:41:49
I have seen that there are many similar to mine questions here on StackOverflow, but I think I was not able to find the correct solution to my question yet. The problem what I am having is connected with receiving emails functionality - basically a contact us section of the website, where user can fill in html based form and press send message and this message will be delivered to my email. I do my development using XAMPP and running the Apache server and Mercury on localhost. Even though validation shows success - emails do not get through. I have tried to add method="post" to HTML section,

after changing documentroot, xampp still using default phpmyadmin

ⅰ亾dé卋堺 提交于 2019-12-01 14:30:51
I used XAMPP to install Apache, PHP, MySQL. I then personalized the c:\xampp\apache\conf\httpd.conf file thusly: # DocumentRoot "C:/xampp/htdocs" DocumentRoot "C:\Users\edward\Documents\webs" # <Directory "C:/xampp/htdocs"> <Directory "C:\Users\edward\Documents\webs"> I now can put websites e.g. here: C:\Users\edward\Documents\webs\test which map here: http://localhost/test/ However, when copied in my own phpmyadmin site here: C:\Users\edward\Documents\webs\phpmyadmin I noticed that the URL: http://localhost/phpmyadmin still points to: C:\xampp\phpMyAdmin Where is this being set and how can I

Android - error while try connect to local server(Xampp)

自古美人都是妖i 提交于 2019-12-01 13:10:44
问题 here's my logcat and the first line the url i try to connect with and it's valid url her is my code that cause the error and make the connection to refuse public static String makeHttpRequest(URL url) throws IOException { String jsonResponse = ""; Log.e(LOG_TAG, url.toString()); // If the URL is null, then return early. if (url == null) { return jsonResponse; } HttpURLConnection urlConnection = null; InputStream inputStream = null; try { urlConnection = (HttpURLConnection) url.openConnection(

How to turn off notice reporting in xampp?

折月煮酒 提交于 2019-12-01 12:49:48
On a remote server there is no problem, but in localhost (xampp 3.1.) I cannot turn off reporting notices. <?php $Fname = $_POST["Fname"]; ... result: Notice: Undefined index: Fname in D:\xampp\htdocs\xx\php01\form01.php on line 6 php.ini ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED ; Development Value: E_ALL ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT ; http://php.net/error-reporting error_reporting = E_ALL & ~E_NOTICE //shouldn't this line turn off notice reporting ? Any suggestion ? OlivierH Try to do a phpinfo(); just before your $Fname = $_POST["Fname"]; line.

Xampp 1.7.4 and PHP 5.3.5 (Deprecated warnings)

让人想犯罪 __ 提交于 2019-12-01 11:55:27
I just upgraded my Xampp installation to 1.7.4 I had a working script (jquery calling PHP script and showing the returned value). After upgrade, my jquery is getting the result correctly, but in addition to the results, there are also some warnings that are returned, hence stopping my script to show the result (I checked in firebug). Here are the warnings: Deprecated : Assigning the return value of new by reference is deprecated in D:\xampp\php\PEAR\Config.php on line 80 Deprecated : Assigning the return value of new by reference is deprecated in D:\xampp\php\PEAR\Config.php on line 166

Centos 7.x Linux XAMPP 1.8.3-5 for CentOS 7.2 Linux 版系统安装

折月煮酒 提交于 2019-12-01 11:55:26
XAMPP 1.8.3-5 for linux 安装包主要包含如下软件包 Apache 2.4.10 MySQL 5.6.20 PHP 5.5.15 & PEAR + SQLite 2.8.17/3.7.17 + multibyte (mbstring) support Perl 5.16.3 ProFTPD 1.3.4c phpMyAdmin 4.2.7.1 OpenSSL 1.0.1i ProFTPD 1.3.4c 安装步骤: 安装XAMPP 1.8.3-5 on 64 bit Linux systems: # mkdir /wangsl # cd /wangsl 下载 xampp-linux-x64-1.8.3-5-installer.run # wget https://sourceforge.net/projects/xampp/files/XAMPP%20Linux/1.8.3/xampp-linux-x64-1.8.3-5-installer.run # chmod +x xampp-linux-x64-1.8.3-5-installer.run # ./xampp-linux-x64-1.8.3-5-installer.run [root@localhost wangsl]# ./xampp-linux-x64-1.8.3-5-installer.run

FFMPEG and PHP on mac does`t work

倖福魔咒の 提交于 2019-12-01 11:22:29
I need your help. Currently I use Mac OS X 10.9.4 and xampp apache 1.8.3-3. I need to use ffmpeg (version 3.2) to convert video files via php exec() but I cannot make it work. I did some testing running the terminal command line and the system operates normally. Only in php it doesn't work. ffmpeg was compiled and installed through the brew. I ran the following test: exec("/usr/local/Cellar/ffmpeg/2.3/bin/ffmpeg -i /Applications/XAMPP/xamppfiles/htdocs/teste/trailer.mp4 /Applications/XAMPP/xamppfiles/htdocs/teste/trailer2.flv 2>&1", $o, $v); var_dump($o); var_dump($v); and got the following: