wamp

在windows+apache环境下安装ioncube

不问归期 提交于 2019-11-29 12:12:25
最近由于使用了一些商业化的系统后发现都是加密的 与 xcache 类似的,ioncube是为数不多能够在windows+apache环境使用的php优化工具之一。其作用与大名鼎鼎的Zend Optimizer大抵相似,但是如之前 WAMP安装后对php提速优化 一文中介绍到的,Zend Optimizer只支持到php5.2.x,而新的Zend Guard Loader虽然支持php5.3.x,但是只能在windows+IIS中使用。 ioncube的优化效果相当好,如果是在windows+apache中使用的是php5.3版本的话,Robin极力推荐安装此插件。安装方法如下: 1. 下载 ioncube_loaders_win_vc9_x86.zip 2. 将压缩包内的ioncube_loader_win_5.3.dll拷贝至wamp\bin\php\php5.3.8\zend_ext目录下 3. 在wamp\bin\apache\Apache2.2.21\bin\php.ini中添加 zend_extension = “d:/dev/wamp/bin/php/php5.3.8/zend_ext/ioncube_loader_win_5.3.dll” 注意: 如果使用xdebug的话,ioncube_loader.dll的zend

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

最后都变了- 提交于 2019-11-29 11:06:18
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 Mob One from the PHP folder is for Command Line interaction, the other is for Apache itself (Web browser). I use

Looking for OAuth DLL for Windows 7 (Need to use from PHP on WAMP Server) [closed]

陌路散爱 提交于 2019-11-29 10:40:15
I have been struggling with this problem for several weeks now and would really appreciate any help. I need an OAuth library which works with WAMP Server installed in a Windows 7 (64-bit) environment. I want to access this library from PHP. There are 2 OAuth libraries (i.e., DLLs) available for Windows at http://downloads.php.net/pierre/ but both are not working for me possible because they are meant to be used only in a 32-bit Windows environment. Some more pointers mentioned at http://in2.php.net/oauth are also not helpful because they only talk about UNIX environment. Can someone please

Enable opcache for php in wamp

本秂侑毒 提交于 2019-11-29 08:20:08
问题 I try to enable opcache on wamp but it doesnt work. I changed the settings like this : [opcache] zend_extension=C:/wamp/bin/php/php5.5.12/ext/php_opcache.dll opcache.enable=1 opcache.enable_cli=1 opcache.memory_consumption=128 opcache.interned_strings_buffer=8 opcache.max_accelerated_files=4000 I always have the red exclamation mark in the extension of php for opcache whats wrong? some help pls And it is in the the phpinfo() Zend OPcache Opcode Caching Up and Running Optimization Enabled

Re installing Wamp Server without replacing the existing mysql database

流过昼夜 提交于 2019-11-29 08:08:54
I have some problem with WAMP server installed on my computer, every time I am trying to access a server file in the browser the page keeps on loading for hours and does not give me any errors. So what I though is to go ahead and install and new one but my existing MySQL database has lot of data inside it that I do not want to loose, I tried to backup the database using command line but no help there as well. Is there any way I can install a new WAMP server while keeping my existing MySQL database? The wamp server stores all of mysql database table in .frm formate inside WAMP_DIR_LOCATION\bin

Error with PHP Websocket and Wamp Server

百般思念 提交于 2019-11-29 07:51:05
I'm really new about this of Websockets, i'm trying to connect this websocket: phpwebsocket with WAMP server, first, in my httpd.conf I wrote listen 9300, and if i go to localhost:9300 it works right, but when I go to console and write: php -q C:\wamp\www\demos\server.php I got this error: Here's the code of server.php: <?php set_time_limit(0); require 'class.PHPWebSocket.php'; function wsOnMessage($clientID, $message, $messageLength, $binary) { global $Server; $ip = long2ip( $Server->wsClients[$clientID][6] ); if ($messageLength == 0) { $Server->wsClose($clientID); return; } if ( sizeof(

How can I connect to MySQL on a WAMP server?

☆樱花仙子☆ 提交于 2019-11-29 07:19:27
问题 This might be ridiculously easy for you but I've been struggling with this for an hour... :( <?php $connect = mysql_connect("localhost:8080", "root", "mypassword"); echo($connect);?> This is the code that I'm trying to run - you can see that I'm using 8080 as my port number and, of course, I have HTML codes as well. However, it gives me the following error messages whenever I try to open the PHP file: Warning: mysql_connect() [function.mysql-connect]: MySQL server has gone away in C:\wamp\www

How to Change the www root directory on WampServer 2.5

萝らか妹 提交于 2019-11-29 07:11:17
问题 My need is to change the default sites directory of wamp from say "c:\wamp\www" to say "d:\sites". Right now my projects in "d:\sites" do not show in the project list: I found a few past answers like this one and this one which I think are not applicable to WampServer 2.5 (anyway, it did not work for me). I also found this procedure in the documentation, but it seems far too complex for what I need. Any help on this matter would be appreciated. 回答1: In newer version of wamp, changing

Make WAMP www available on local network

此生再无相见时 提交于 2019-11-29 06:46:28
I know there are questions similar to this, but none address my specific situation. I have a WAMP server setup for developing some websites, and it's running great. I need it to be available to another computer on my local network via a wireless router. The other computer is actually a Mac, and I only need to be able to view the development sites through a browser (do not need to access phpmyadmin or mySQL). I am able to access the localhost on which WAMP is running through the browser (the default WAMP page is displayed with links to the site projects) using the IP of my windows machine.

Wamp Server isn't executing php code

﹥>﹥吖頭↗ 提交于 2019-11-29 04:44:44
My php code is not executed when I access the root directory with http://localhost:8080/sample.html The code I want to run is: <?php phpinfo(); ?> and I tried also the following: Restarted all services several times including putting Wamp Server online Changing the listening port in httpd.conf to 8080 and configuring Skype to accept 80 and 443 ports Could it be that some firefox extensions are blocking php-execution? All I get is the php code exactly like I wrote it. You're trying to execute PHP in an ".html" file. You have to edit the PHP handler in the apache config to make it process