wamp

importing sql file into a database using wamp

 ̄綄美尐妖づ 提交于 2019-11-30 18:50:45
I tried importing my yyy.sql file ( a large file) into xxx database through wampserver. I copied yyy.sql file to C: drive and through mysql console mysql> use xxx mysql>source C:\yyy.sql when I execute these commands it seems its reading each row. after that it gives mysql> and when I check the xxx database it's showing empty. what's wrong? Meer Option 1; PHPMyAdmin 1. left click wamp -> phpmyadmin 2. select database then click import (top right) 3. locate the database and click go. Option 2; Using the command line. The easiest way to import a sql file into a database in WAMP, using command

wamp安装包升级php/apache/mysql教程

你离开我真会死。 提交于 2019-11-30 18:40:30
大家好。第一次在osc写博文。很多不尽人意之处,还望见谅。 好,进入正题。 wamp包大家用过的知道,这个windows下的一键安装包很是好用,我一用就是3年多呀,无奈官方升级很慢,我又是一个版本强迫症。总想着能用新版本,使用新功能。我是一个phper,喜欢体验,运用php新版本特性。 因为我的机器是win7/64的。为了兼容大家,我所演示的是32的,所以大家不用担心。 1 下载wampserver包 http://yunpan.cn/QIPCt8xyqpkCz ( 这个是云盘地址。因为我经常打不开wampserver官网,所以就存到了云盘中。 ) 2 以5.4来讲解。下载php5.4 http://windows.php.net/downloads/releases/php-5.4.26-Win32-VC9-x86.zip 本稿截止时间5.4最新为5.4.26.其他版本下载地址 http://windows.php.net/download/ 3 下载xdebug php5.4 http://xdebug.com/files/php_xdebug-2.2.4-5.4-vc9.dll 6 wampserver操作 a 解压php包 b 重命名php包,例如php5.4.26 c 复制一份wampserver.conf到php5.4.26。wampserver

WAMPserver的PHP版本手工升级PHP5.2.17,

十年热恋 提交于 2019-11-30 18:40:06
一直使用WAMP作为Windows上的开发环境,可以安装多个PHP版本进行调试,十分方便。 但WAMP的PHP更新很慢,PHP5.2系更新到5.2.11就未再更新了,这段时间出了PHP5.2.17,以下是我手工对PHP进行升级的过程,同时完成了zend Optimezer和eaccelerator的安装配置,仅供参考。 配置过程说明: 假定Wamp安装在D:/wamp目录 假定Apache版本为Apache2.2.11,则Apache目录为D:\wamp\bin\apache\Apache2.2.11 假定当前PHP版本为php5.2.11,则PHP目录为D:\wamp\bin\php\php5.2.11 首先下载PHP5.2.17到本地,版本win32_TS http://mirrors.sohu.com/php/php-5.2.17-Win32.zip 其它版本可以sohu镜像下载,但只能使用ts系,就是线程安全,非线程安全版本未测试。 解压以后,将根目录下/ext目覆盖至PHPext目录;再将根目录下的所有文件复制到Apache/Bin目录,并对Apache/Bin目录的php.ini进行设置。PHP5.2.11的配置文件可以在PHP5.2.17下使用。 这样,就完成了PHP的版本升级,在PHPinfo里能看到PHP版本信息。

【PHP-ZF】在wamp中配置zf环境、新建zf项目

泪湿孤枕 提交于 2019-11-30 18:39:50
【在wamp中配置zf环境】 1 >. 找到apache 的安装目录,找到httpd.conf 文件,有两处需要修改: AllowOverride none 改为 AllowOverride All #LoadModule rewrite_module modules/mod_rewrite.so 去掉前面的#号,改为 LoadModule rewrite_module modules/mod_rewrite.so 2 >. 找到php的安装目录,找到php.ini 文件,有一处需要修改: ; UNIX: "/path1:/path2" ;include_path = ".:/php/includes" // 如果是在linux下,则在此处添加wamp文件夹下library的绝对地址,然后去掉前面的 ;号 ; ; Windows: "\path1;\path2" ;include_path = ".;e:\marong\try\wamp\library;" // 如果是在windows下,则在此处添加wamp文件夹下library的绝对地址,然后去掉前面的; 号 注意:wamp文件夹中本身是没有library文件夹的,需要新建文件夹命名为library,然后,将zend文件夹(即zend解压后文件夹中library文件夹下的zend文件夹)复制到library中。

can't connect to mysql with php

纵饮孤独 提交于 2019-11-30 18:18:18
I can't seem to connect to mysql with a php script, even though I can connect fine with phpmyadmin. I created a user with a password, and gave it the proper priveleges for the db, but everytime it connects it dies saying access denied. I am using xampp on a windows xp box. Firewalls are all disabled, and I've checked the username nad password are correct. Here's the code: $conn=mysql_connect('localhost','westbrookc16','megadots') || die (mysql_error()); Do usernames have to be in a specific format or something? I have a hunch that the problem here is the host you granted it to, though it's

Can't select database - Wordpress

左心房为你撑大大i 提交于 2019-11-30 18:04:02
问题 When I download a new wordpress from wordpress.org and then paste it into my www folder of WAMP, then create a new database in phpmyadmin, then go to localhost and click the wordpress site, it asks to create the config file, and enter the database details, and i do that correctly, but when I click submit, it says "Can’t select database". Any Idea why this is? I already have a local wordpress site that started saying error connecting to database. The config settings are all correct so i tried

Fatal error: Class 'IntlDateFormatter' not found

回眸只為那壹抹淺笑 提交于 2019-11-30 17:14:28
I installed WAMP on my local machine. My PHP version is 5.3.3 in phpinfo() but that extension doesn't exist! :( How can I install this extension without compiling it? Here is just source of it. The extension was there! All you need to do is clearing the comment(;) before this line in php.ini file: ;extension=php_intl.dll to extension=php_intl.dll if you see this on Debian / other Linux platforms. sudo apt-get install php5-intl - for PHP 5.6 sudo apt-get install php7.0-intl - PHP 7+ After that restart Apache services. sudo service apache2 restart restart apache to get the changes. Archana It

Accessing website files and phpmyadmin in wamp from another computer on lan

我只是一个虾纸丫 提交于 2019-11-30 16:43:07
I have my files hosted on one computer acting as the server , but I want to access the root (www) directory files and the phpmyadmin from another computer on the lan.By access I mean to edit them and open them to see and make changes to the database and code.How is it possible? By default WAMPServer is configured to be a standalone development system for running on your workstation. If you want to run Wamp on one PC and access it from another you have to change the Apache security configuration. You dont mention anything useful like the version of WampServer you are running so I guess I will

wamp apache无法启动的解决方法

半世苍凉 提交于 2019-11-30 16:22:14
文/grunmin(简书作者) 原文链接: http://www.jianshu.com/p/12e0f4910b21 著作权归作者所有,转载请联系作者获得授权,并标注“简书作者”。 如题,近日在安装wamp的时候出现了apache无法启动的情况。wamp图标一直显示橙色。网上搜索了许多资料都无效,最后还是我自己发现问题并予以解决了。 VC的问题? 我的电脑是新装的win8.1企业版。因此我怀疑是VC2008和2010没有安装的缘故,因此上官网下载了这两个安装包安装,结果如故。 没有安装服务? 直接apache->service->remove service,再install service ,重新打开wamp,结果如故。 80端口被占用? 用apache里service的test port 80,显示Your port 80 is not actually used。在cmd里用netstat -an 查找,没有一个软件占用80端口。为保险起见修改httpd.conf文件,修改其端口为8080,重启,结果如故。 netbios解析失败? 打开网络共享中心,点击本地连接->属性->Internet协议版本->属性->高级->WINS,勾掉启用LMHOST查找。重启服务,结果如故。 httpd.conf修改后语法错误? 新装的wamp,初始的配置文件怎么可能有语法错误……

mod_rewrite not working for Apache 2.2 on Windows 7

孤人 提交于 2019-11-30 16:09:38
I have WampServer up and running on my Windows 7 machine. It is installed in C:/wamp. I have set up my configuration using the following VirtualHosts in the C:/wamp/bin/apache/Apache2.2.1.7/conf/extras/httpd-vhosts NameVirtualHost *:80 <VirtualHost *:80> ServerName localhost ServerAlias localhost DocumentRoot "C:/wamp/www" <Directory "C:/wamp/www"> Options Indexes Includes FollowSymLinks ExecCGI MultiViews AllowOverride all Order Allow,Deny Allow from all </Directory> </VirtualHost> <VirtualHost *:80> DocumentRoot "C:/wamp/www/DevelopmentServer/clickslide/webroot" ServerName clickslide.loc