wampserver

Restoring MySQL Databases when reinstalling Wamp

有些话、适合烂在心里 提交于 2019-12-04 09:57:57
I am attempting to restore my old databases to a new Wamp installation. However, I did not take a backup of Mysql files before I did this. Thankfully the uninstallation has not deleted all the files, but in my data folder I have : 1) All the databases (As folders) 2) auto.cnf There are no ib* files in the old folder. Is it still possible to restore my databases somehow? I have tried to replace the entire mysql5.6.17 folder ( there has been no change of version between the installations ), but Wamp remains orange and never turns green. If I replace only the data folder, the MySQL service starts

PHP基本语法

爱⌒轻易说出口 提交于 2019-12-04 09:52:51
PHP课程介绍 PHP环境搭建 IDE的安装 PHP基础语法 PHP的工作原理 深入浅出PHP PHP课程介绍: 什么是php,为什么要学习PHP,学习完之后我们能做什么 未来发展如何,如何学习一门编程语言,学习建议 PHP是什么? php超文本预处理器的字母缩写,是一种被广泛应用的开发源代码的多用途脚本语言,它可嵌入到HTML中,尤其适合web开发。 <html> <head> <title>Example</title> </head> <body> <?php echo "hello, da"; ?> </body> </html> php能做什么? PHP能做很多事,PHP主要用于服务器的脚本程序,因此可以用PHP来完成任何其它的CGI程序能够完成的工作,例如收集表单数据,生成动态网页,或者发送/接收Cookies。 PHP脚本主要用于 以下三个领域: 服务器脚本,这是PHP最传统,也是最重要的目标领域。 开展这项工作需要具备以下三点: PHP解析器(CGI或者服务器模块),web服务器和web浏览器。需要在运行web服务器时,安装并配置PHP,然后,可以用web浏览器来访问PHP程序的输出,即浏览服务端的PHP页面。如果只是实验PHP编程,所有的这些都可以运行在自己家里的电脑中。 命令行脚本,可以编写一段PHP脚本,并且不需要任何服务器或者浏览器来运行它,通过这种方式

开源项目:张帅个人博客

五迷三道 提交于 2019-12-04 07:53:15
开源项目:张帅个人博客 【实战】如何通过html+css+mysql+php来快速的制作动态网页(以制作一个博客网站为列) 为完成学校的期末课程设计,花了将近两个月闲暇之余,制作了一个简单的博客网站。下面我将这几天的操作流程来说一下,在原文末会贴上部分代码,也会给出下载链接。(闲复制代码麻烦的可以到下载地址这里直接下载 ) GitHub下载: 点击下载 码云下载: 点击下载 codding下载: 点击下载 oschina下载: 点击下载 百度网盘: 点击下载 CSDN下载: 点击下载 我的博客网站地址 : http://myblog.zh66.club 制作前景: 想拥有一个自己独自开发的一个小型博客网站,能发布博文管理博文实现前台展示。 记住Armani_MyBlog /admin/lib/config.php修改里面数据库配置信息即可运行 本博客项目基本概述: ​ 本项目使用php编写后台,前台功能基本完善,有顶部菜单和侧栏菜单底部菜单,支持首页展示功能,文章功能,文章包括列表显示和单篇文章显示功能,分页分类显示功能,友链添加功能,用户评论功能,相册功能,关于我页面,留言版功能,支持文章页下评论和已有评论的预览及引入QQ头像显示功能,用户未填写则默认显示,还有慢生活,包括扩展的更多功能,可登录后台,打赏作者,发送邮件功能(邮件可以发送),友情链接的显示,等待扩展功能

yellow icon for wamp server

 ̄綄美尐妖づ 提交于 2019-12-04 07:45:43
the icon of wamp server is yellow, I tried in: 1.Open file httpd.conf through wamp tray icon Find: # onlineoffline tag - don't remove Order Deny,Allow Deny from all Allow from 127.0.0.1 Change to: # onlineoffline tag - don't remove Order Deny,Allow Allow from all no change! 2.left click the wamp icon > Put Online no change, still online put yellow icon --> locall host not work 3.apache --> service --> start service --> not work 4.apache --> service --> test port 80 --> your port actually used by: server : Microsoft I don't know what to do? Ok, i figured this out. What is happening is Skype is

Input my php in mysql without repeat?

巧了我就是萌 提交于 2019-12-04 07:00:28
问题 I create this code to add some data in my db without repeat. but that is not work and I can't add data create by this php to my table. what's the problem ? P.S: I have no error! P.P.S:I do this on wamp server. <?php $con=mysqli_connect("localhost","root","","kosar"); // Check connection if (mysqli_connect_errno()) { echo "Failed to connect to MySQL: " . mysqli_connect_error(); } for ($i=0;$i<10;$i++) { $n1 = rand(100000,999999); $n2 = rand(100000,999999); $pincode = (string)$n1; echo $pincode

CREATE TABLE in MySQL syntax error

空扰寡人 提交于 2019-12-04 06:52:23
问题 i am trying to use the db to link it with my java project and i am using wampsarver to create the db. what should i do to fix this please . 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') NOT NULL , Phone DOUBLE( 20 ) NOT NULL , Id INT( 20 ) NOT NULL AUTO_INCR' at line 6 CREATE TABLE `Laptop` ( `serial number ` INT( 20 ) NOT NULL , `Device Model` VARCHAR( 20 ) NOT NULL , `Device Manufacturer`

how to start Mysql in git bash in windows 8.1

跟風遠走 提交于 2019-12-04 06:24:12
hi i want to know there is anyway to start Mysql in Wampserver in git bash Program with command line like $ Mysql start The mysql executable is likely not present in your path, so will not be found when you try to execute from any CLI. Follow the instructions here , adjusting for the version of mysql you have installed. 来源: https://stackoverflow.com/questions/28602002/how-to-start-mysql-in-git-bash-in-windows-8-1

How to setup and run Python on Wampserver?

一世执手 提交于 2019-12-04 02:11:45
Can anyone help me to set up Python to run on Wampserver. From what I've read so far you would need to use a combination of Wampser, Python, mod_pyhton, and adjustment to the Apache http.conf file. I've tried it but i belive i am having conflict when it comes to versions. Does anyone know of a cobination of versions that can work so that i can do some local python development using my wampserver? Links to the download would be greatly appreciated. My current config: Wampserver 2.0c => Apache Version : 2.2.8 , PHP Version : 5.2.6 , MySQL Version : 5.0.51b Do not use mod_python ; it does not do

PHPMailer Hangs on Send

依然范特西╮ 提交于 2019-12-04 01:24:27
问题 I had successfully setup a web app using WAMPSERVER on a desktop used by a few people internally, this used PHPMailer to an internal SMTP server without encryption or authentication and it worked. That desktop crashed and I've migrated to a "new" desktop. I had an SVN setup so I was even using most of the same files and config. One difference which might matter is that the old desktop was 64-bit and the new is 32-bit. This means I'm using different versions of WAMPSERVER. The mailer just

Create an Alias Directory inside a Virtual Host

岁酱吖の 提交于 2019-12-04 00:23:05
I checked here , here , here , here , and here before asking this question. I guess my search skills are weak. I am using the WampServer version 2.2e . I have a need like, I need a virtual path inside a virtual host. Let me say the two hosts that I have. Primary Virtual Host (Localhost) NameVirtualHost *:80 <VirtualHost *:80> ServerName localhost DocumentRoot "C:/Wamp/www" </VirtualHost> My Apps Virtual Hosts <VirtualHost *:80> ServerName apps.ptrl DocumentRoot "C:/Wamp/vhosts/ptrl/apps" ErrorLog "logs/apps-ptrl-error.log" CustomLog "logs/apps-ptrl-access.log" common <Directory "C:/Wamp/vhosts