wampserver

WAMPserver - why is the stack installed with 2 php.ini files?

前提是你 提交于 2019-11-28 04:36:59
问题 I'm a beginner programmer, and I'm learning to program a web app using WampServer. Recently I have tried to modify the internal encoding setting in the php.ini file, and I discovered that there are 2 or them. One is under wamp\bin\php\php5.3.0 and the other one is under wamp\bin\apache\Apache2.2.11\bin . It turns out the 2nd one is the one that governs the behavior of php when I run my program. So why are there 2 of those files, and what is their respective function? Thanks, JDelage 回答1: One

Access virtual host from another machine over LAN

大城市里の小女人 提交于 2019-11-28 03:50:24
I am using Windows 7 with Wamp 2.2 server. I have setup 2 virtual hosts: www.project1.com and www.project2.com . I have modified the " hosts ", the httpd.conf , and the httpd-vhosts.conf files, to the changes I mentioned below. Using my browser, when I type www.project1.com or www.project2.com , I successfully get my web pages opened on the laptop that has the server installed on. Changes in the " hosts file ": I've appended the followings to the end of the file:- 127.0.0.1 localhost 127.0.0.1 www.project2.com 127.0.0.1 www.project1.com Changes in the httpd.conf file:- Include conf/extra/httpd

Apache won't start in wamp

喜欢而已 提交于 2019-11-28 03:41:09
I have been googling for the past few hours but I simply can't get my apache on wamp to start. My skype isn't running, and the test port 80 shows it isn't being used by anything. Before this happened, I was trying to add a new vhost, but now I have reverted back all of the files where I made changes. Anyway to debug why apache won't start? Clicking on start/resume service for apache doesn't show any errors either. Also just in case, I am running Win7 64bit If you have an issue in the httpd.conf or any files included by it there are a couple of ways to find out what the problem is First look at

How to install php_id3 on wamp?

拈花ヽ惹草 提交于 2019-11-28 01:40:50
I have tried to find the file people are talking about namely php_id3.dll. I have read that you can install it with the id 3 on wamp but when i google it i get all sorts of scamsites. Does anyone know where i can find it? All the information you need is in the official PHP documentation: The error you get (undefined function) means the ID3 extension is not enabled in your PHP configuration: How to change configuration settings If you don't have the ID3 extension file (it is probably named php_id3.dll or something similar), you must either find a place to download it, or build it yourself from

win10 wampserver升级 php7.0至 php7.2

耗尽温柔 提交于 2019-11-28 01:38:51
1.去官网下载php7.2 下载地址: https://windows.php.net/download#php-7.0 2.下载安装 visual c++ 2017 或 visual c++ 2015 下载地址 https://support.microsoft.com/zh-cn/help/2977003/the-latest-supported-visual-c-downloads 3.在以前安装的 D:\wamp64\bin\php 目录下新建 php7.2.21 4. 把下载好的 php-7.2.21-Win32-VC15-x64.zip   复制到php7.2.21 并解压到当前目录下    5.把以前安装的php7或php5版本 的php.ini 复制到 php7.2.21目录下并修改 5.1 查找 extension_dir = 修改为 extension_dir ="D:/wamp64/bin/php/php7.2.21/ext/" 5.2 查找 track_errors 修改 track_errors=Off 5.3 复制 刚才修改的 php.ini 一份 并重命名为 phpForApache.ini 5.4 从以前安装的php目录下复制一份      wampserver.conf 到 php7.2.21下 若以前的版本是5的 修改 为 ; <?php

Invalid command 'Require', perhaps misspelled or defined by a module not included in the server configuration

拥有回忆 提交于 2019-11-27 23:23:10
问题 I've just installed the latest version of WAMP on my dev machine, and I can't get it to work. Getting this weird error. C:\wamp\bin\apache\Apache2.4.4\bin>httpd.exe AH00526: Syntax error on line 224 of C:/wamp/bin/apache/Apache2.4.4/conf/httpd.conf: Invalid command 'Require', perhaps misspelled or defined by a module not included in the server configuration C:\wamp\bin\apache\Apache2.4.4\bin>httpd.exe -v Server version: Apache/2.4.4 (Win64) Server built: Feb 22 2013 22:08:37 This is the

Can not increase file upload size WAMP

跟風遠走 提交于 2019-11-27 23:15:02
I am using Wampserver (32 bits & PHP 5.5) 2.5. phpmyadmin inside of it is allowing me to import database of max 128mib and execution time is low. In WAMPServer 2.5 the PHP limits applied to phpMyAdmin can be found in this file \wamp\alias\phpmyadmin.conf The question is that i am unaware about the values insert. I want to upload a file of 5GB. I have changed the values in relevant file and values are also changed in that file as well as phpmyadmin but when i import my 5GB file it gave me following error on phpmyadmin. "You probably tried to upload a file that is too large. Please refer to

MongoDb PHP driver installation issue on wamp

二次信任 提交于 2019-11-27 21:41:29
I have php of version 5.5.12 and wamp version 2.4.9 and PHP Extension Build as API20121212,TS,VC11 . I am using this dll 'php_mongo-1.5.5-5.5-vc11.dll' (renamed to php_mongo) but still when i restart my all services mongo db is not displaying on phpinfo().Any pointer where m i going wrong ? I have never used MONGO, but I was interested to see if there where problems using it with WAMPServer so I did a quick install to prove it shoud work, and it does . Here is a list of what I did, I hope it helps you work out what you may have done wrong. First you have to download the Mongo Database manager

Call to undefined function curl_init() error in wamp 2.2

 ̄綄美尐妖づ 提交于 2019-11-27 19:01:03
I am having below error when I try to implement google and facebook authentication in windows 7 using wamp server . Fatal error: Call to undefined function curl_init() in E:\wamp\www\mysite\protected\extensions\eauth\EAuthServiceBase.php on line 273 I am using, wampserver 2.2 php version 5.3.13 I have enabled php_curl module as well. I checked in php.ini for confirm and it is uncommented as below. ;extension=php_bz2.dll extension=php_curl.dll ;extension=php_dba.dll The code has worked in ubuntu with xampp, but not in wamp in windows. I have done everything I can find. I have tried replacing

How to install FFMpeg in WampServer 2.0 (Windows XP) [closed]

时间秒杀一切 提交于 2019-11-27 18:38:18
I need to install the ffmpeg PHP extension on my localhost so I can test few of my scripts but I am having troubles figuring out how to do that. I have WampServer 2.0 with PHP 5.2.9-2, my OS is Windows XP. Please somebody give me step by step instructions. I have found some Windows builds here: http://sourceforge.net/projects/ffmpeg-php/files/ But I don't know which one to download and what to do with files. EDITED: What I have done so far: Download ffmpeg_new Copy php_ffmpeg.dll from the php5 folder to the C:\wamp\bin\php\php5.2.9-2\ext Copy files from common to the windows/system32 folder