wamp

command line locally using wamp

末鹿安然 提交于 2019-11-28 20:49:32
When referring to this post here: http://net.tutsplus.com/tutorials/javascript-ajax/start-using-html5-websockets-today/ it tells you to run php -q path\to\server.php from shell using XAMPP, is there an alternative for WAMP? It might be useful to register php.exe as an ENVIRONMENT VARIABLE so the command line can recognize the 'php' command instead of needing to enter the full path '\wamp\bin\php\php5.3.8\php' as the command. To do this, you can follow the steps outlined on this page: http://windows.fyicenter.com/view.php?ID=60 . Except for Step 5, enter the path of WAMP's php.exe instead. For

Where is the web server root directory in WAMP?

你。 提交于 2019-11-28 19:24:28
Also is the web server root directory the place where you put your site files and later acces them with localhost/file_name in the browser? If you installed WAMP to c:\wamp then I believe your webserver root directory would be c:\wamp\www , however this might vary depending on version. Yes, this is where you would put your site files to access them through a browser. In WAMP the files are served by the Apache component (the A in WAMP). In Apache, by default the files served are located in the subdirectory htdocs of the installation directory. But this can be changed, and is actually changed

Installing Zend framework with WAMP server

a 夏天 提交于 2019-11-28 18:52:52
I'm trying to install Zend framework on a WAMP server but it is not working properly. I downloaded the Zend framework and created the folder in C:\wamp\library\Zend , and then in php.inc I have something like this: ; Windows: "\path1;\path2" ;include_path = ".;c:\php\includes:C:\wamp\library" Now when I try to run the sample blogger.php it is giving me the following error: Warning: require_once(Zend/Loader.php) [function.require-once]: failed to open stream: No such file or directory in C:\wamp\www\PHPSample\Blogger.php on line 37 Fatal error: require_once() [function.require]: Failed opening

How to get CURL to work with PHP on Windows? (WAMP)

强颜欢笑 提交于 2019-11-28 18:15:16
Update : The problem appears to have been corrupt DLLs somewhere in my PHP installation, or possibly a bug in PHP 5.2.9 on Win2k. I downloaded the windows (binaries-only) distribution of PHP 5.2.10 from php.net and extracted that to my c:\PHP directory. After doing that, everything worked fine. Update2 : I undid everything that I tried earlier (everything from the bulleted list below), except that I left " extension=php_curl.dll " uncommented in my php.ini file. It turns out that is all you should have to do in a proper installation. I'm trying to get CURL to work on a Windows installation of

Unable to enable PHP LDAP even though I have edited php.ini and php_ldap.dll is in the right place?

冷暖自知 提交于 2019-11-28 17:54:10
I've been working with a WAMP install for quite a while now with LDAP enabled and everything is going smoothly. Now though I have to set up another machine and for some reason I can't enable LDAP. I checked the output of phpinfo() and the LDAP section isn't there. I edited php.ini to uncomment the line: extension = php_ldap.dll I also checked the filepath being searched for extensions and the file php_ldap.dll is in the right place. I'm positive I'm editing the right php.ini file since I checked the filepath being shown by phpinfo() , and also I am able to successfully enable/disable other

WAMP Server ERROR “Forbidden You don't have permission to access /phpmyadmin/ on this server.”

余生颓废 提交于 2019-11-28 17:02:53
Hi Friends previously I am using XAMP Server but when I install joomla Templates it creates alots of error. Now I installed the WAMP, but the issues are: 1. I can access with 127.0.0.1, but I cant access with "localhost". 2 When i access phpmyadmin i get this error. Forbidden You don't have permission to access /phpmyadmin/ on this server. Alias /phpmyadmin "c:/wamp/apps/phpmyadmin3.4.5/" # to give access to phpmyadmin from outside # replace the lines # # Order Deny,Allow # Deny from all # Allow from 127.0.0.1 # # by # # Order Allow,Deny # Allow from all # After changing, it will look like

Can't use WAMP , port 80 is used by IIS 7.5

女生的网名这么多〃 提交于 2019-11-28 15:47:32
I am trying to use WAMP on Windows 7, my WAMP is online, but when I open localhost I get the welcome page of IIS 7.5, although I have uninstalled IIS 7.5 from my PC! Apache server test says that port 80 is used my Microsoft-HTTPAPI/2.0 MS Visual Studio 2010 was uninstalled a short while ago as well. By default WampServer is installed to port 80 which is already used by IIS. To set WampServer to use an open port, left click on the WampServer icon in the system tray and go to Apache > httpd.conf Open the httpd.conf in Notepad. press ctrl+f and search for "Listen 80", change this line to "Listen

XAMPP / WAMP / whatever it is: Apache is running super slow [closed]

老子叫甜甜 提交于 2019-11-28 15:32:34
I've got my Windows PC (localhost) running XAMPP. It loads the pages sometimes really quick or sometimes really slow. So, I figured and searched and was recommended to get WAMP. I got that and installed it. Still, the pages load so damn slowly. No heavy CPU load or anything, all my ports are open too. Any ideas? naitan Here's a solution that really worked for me . One thing to try is changing the following two entries in apache/conf/httpd.conf from OFF to ON : EnableMMAP on EnableSendfile on Also, enable and set realpath_cache_size= 4m to your php.ini file. If your are using InnoDB database

Windows: XAMPP vs WampServer vs EasyPHP vs alternative [closed]

為{幸葍}努か 提交于 2019-11-28 15:02:13
There was a similar question asked here three years ago, but I want to open it up further to include all possible Windows/Apache/MySQL/PHP stacks. Which to do you think is best? XAMPP seems to be the most popular, but I've read several bad things about it that make me wonder if it's as good as its popularity suggests. For example, I've heard that their default PHP configuration is very insecure (and apparently their admin app can't function without these holes being left open). This isn't terrible for a development situation, obviously, but you may end up relying on something like register

how to test php email using WAMP

旧时模样 提交于 2019-11-28 14:31:45
I have wamp installed and am using it as my testing ground. I can't however test the PHP mail() function as it always falls over. Is this something that can be rectified? exact message: Warning: mail() [<a href='function.mail'>function.mail</a>]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\wamp\www\functions.php on line 288 I've also checked my php.ini setup and it looks as follows: [mail function] ; For Win32 only. ; http://php.net/smtp SMTP = localhost ; http://php.net/smtp-port smtp_port = 25 ; For