xampp

html5学习之路_005

北战南征 提交于 2020-03-19 19:01:43
PHP环境搭建 1、下载安装xampp 2、打开xampp,开启mysql和apache 3、在开发环境eclips中下载插件 4、安装php 5、切换到php开发环境 6、创建一个php项目 7、打印一句话 8、运行项目,必须将项目复制到在htdoc下才能运行 9、打开浏览器运行 本站文章为 宝宝巴士 SD.Team 原创,转载务必在明显处注明:(作者官方网站: 宝宝巴士 ) 转载自 【宝宝巴士SuperDo团队】 原文链接: http://www.cnblogs.com/superdo/p/4771887.html 来源: https://www.cnblogs.com/superdo/p/4771887.html

xampp mysql下的中文是乱码

浪尽此生 提交于 2020-03-18 02:02:17
http://www.2cto.com/database/201204/126775.html apache 80端口被占用 mysql 3306端口被占用 XAMPP下MYSQL中文乱码问题的解决 现象描述: 安装完成XAMMP后,内置有MySQL 数据库 。 新建自己的数据库---新创建数据库表--通过jdbc往表里面添加中文记录---存储进去的中文全都变成了乱码。 www.2cto.com 问题解决: 1、找到安装目录下的D:\xampp\ mysql \bin\my.ini,打开: 2、找到标记 [mysqld] 和 标记 [mysql] 3、在这2处标记下分别添加编码配置信息:default-character-set=gbk 修改后如下: Ini代码 [mysql] no-auto-rehash default-character-set=gbk www.2cto.com Ini代码 [mysqld] port= 3306 character-set-server=gbk 4、修改完成后,重启my sql数据库 。 5、删除旧数据库,并创建新的数据库,新建的数据库就可以支持中文了。 作者 huangqiqing123 来源: https://www.cnblogs.com/ppqchina/p/6373288.html

xampp中apache不能启动解决方法 (share)

ⅰ亾dé卋堺 提交于 2020-03-17 07:01:46
Xampp的获得和安装都十分简单,你只要到以下网址: http://www.apachefriends.org/zh_cn/xampp.html 下载xampp即可,我安装的是windows版本的Installer安装包,只要根据它的安装提示一路安装下去就可以了,十分方便快捷。 不过,安装目录最好选择C盘之外的其它磁盘,据某些网友的经验,在Windonws7或Vista中,如果选择C盘安装,由于权限原因,会出现创建一些文件失败的问题。如果你已经据有最高权限,可以直接装在C盘。 一般在windows XP或windows 7中,刚安装完xampp时,apache服务器是启动不了的。这个原因有很多,下面我来一一细说。 没有安装VC9的环境 要判断是否是这一问题十分简单,只要单独运行C:\xampp\apache\bin\httpd.exe时(这个是我的安装路径),提示“系统无法执行指定的程序”(这个是用命令行运行后的提示),如果是直接双击httpd.exe,则会提示环境配置错误。 解决办法:直接下载vcredist_x86.exe。 以下是在php.net看到的提示信息: VC9 Versions are compiled with the Visual Studio 2008 compiler and have improvements in performance and

ubuntu在xampp下安装memcache扩展

▼魔方 西西 提交于 2020-03-10 05:30:31
sudo wget http://pecl.php.net/get/memcache-2.2.1.tgz sudo tar vxzf memcache-2.2.1.tgz cd memcache-2.2.1/ sudo /opt/lampp/bin/phpize ./configure --with-php-config=/opt/lampp/bin/php-config --enable-memcache #make #make install (会显示编译好了memcache.so,并安装到了 Build complete. Don't forget to run 'make test'. root@hdp003:/home/cchunDownload/memcache-2.2.1# make install Installing shared extensions: /opt/lampp/lib/php/extensions/no-debug-non-zts-20121212/ ) 如果显示错误: cd /usr/src/ sudo wget http://ftp.gnu.org/gnu/m4/m4-1.4.9.tar.gz sudo tar -zxvf m4-1.4.9.tar.gz cd m4-1.4.9/ ./configure && make && make

Apache Virtual Host, access forbidden. Using XAMPP OS X

淺唱寂寞╮ 提交于 2020-03-06 03:36:15
问题 I go to "mytest.dev" in the browser, and I get the following error: Access forbidden! You don't have permission to access the requested directory. There is either no index document or the directory is read-protected. If you think this is a server error, please contact the webmaster. Error 403 mytest.dev Apache/2.4.18 (Unix) OpenSSL/1.0.2g PHP/5.6.19 mod_perl/2.0.8-dev Perl/v5.16.3 In my /Applications/XAMPP/etc/httpd.conf file I have the following line UN-commented and my directive thing looks

MySQL Database starts on Terminal But not on XAMPP

六眼飞鱼酱① 提交于 2020-03-05 07:21:33
问题 I am trying to start MySQL Database on XAMPP, and it doesn't start. But when I ran this on my terminal: sudo /Applications/XAMPP/xamppfiles/bin/mysql.server start The terminal gives me a success message. How can I check if MySQL Database is actually running? And how can I make the status on XAMPP say Running and not Stopped? Thank you! But when I ran this on my terminal: sudo /Applications/XAMPP/xamppfiles/bin/mysql.server start The terminal gives me a success message. How can I check if

MySQL Database starts on Terminal But not on XAMPP

。_饼干妹妹 提交于 2020-03-05 07:21:33
问题 I am trying to start MySQL Database on XAMPP, and it doesn't start. But when I ran this on my terminal: sudo /Applications/XAMPP/xamppfiles/bin/mysql.server start The terminal gives me a success message. How can I check if MySQL Database is actually running? And how can I make the status on XAMPP say Running and not Stopped? Thank you! But when I ran this on my terminal: sudo /Applications/XAMPP/xamppfiles/bin/mysql.server start The terminal gives me a success message. How can I check if

PHPMailer not running with Xampp on Windows10

可紊 提交于 2020-03-05 04:24:08
问题 my problem is that PHPMailer (PHPMailer-master 6.0.3 to be exact) does not deliver emails when I run it with Xampp and Windows10. (I found a lot of comments on that subject but none of them led to a solution.) The following code runs fine on a remote server: <?php // Import PHPMailer classes into the global namespace // These must be at the top of your script, not inside a function use PHPMailer\PHPMailer\PHPMailer; use PHPMailer\PHPMailer\Exception; // 'PHPMailer' here actually is the

XAMPP MySQL port 3306 not changing

孤街醉人 提交于 2020-03-04 10:52:32
问题 I have seen all the posts and did all the changes, but when I run XAMPP MySQL, it opens 3306 and closes, it is not going to 3307 port. I have changed xampp\mysql\bin\my.ini all port number 3306 to 3307 and even xampp\php\php.ini changed 3306 to 3307, even all the .ini files in MySQL that had 3306 changed to 3307. Went to processes and services removed XAMPP as well. Restarted my PC as well. Anyone has any idea where to make changes that XAMPP will look at 3307 port for MySQL? 回答1: You have to

XAMPP MySQL port 3306 not changing

淺唱寂寞╮ 提交于 2020-03-04 10:52:26
问题 I have seen all the posts and did all the changes, but when I run XAMPP MySQL, it opens 3306 and closes, it is not going to 3307 port. I have changed xampp\mysql\bin\my.ini all port number 3306 to 3307 and even xampp\php\php.ini changed 3306 to 3307, even all the .ini files in MySQL that had 3306 changed to 3307. Went to processes and services removed XAMPP as well. Restarted my PC as well. Anyone has any idea where to make changes that XAMPP will look at 3307 port for MySQL? 回答1: You have to