wamp

Best way to implement a Rest API with PHP on Wamp web server

Hello, i own a web server running windows (WAMP). I want to know the best way to implement a Rest API (a very simple one) in order to let a user do something. Diagram flow: I have programming skills, in fact, i developed some time ago a web server in VB6 who process the querys and when it find the command (http:/serverIP/webform.php?...

how do you install a PEAR package on WAMP, Windows 7?

I've no idea with command line stuff! What i've done: changed my php.ini to phar.require_hash -> off ran go-pear.bat so i'm pretty sure i've got PEAR installed, now I'd like to install this package I've tried following the instructions but I really don't know how to do things with cmd.exe, would love some help! ...

Unable to go to Localhost

When I try to go to Localhost by entering http and then ://localhost, it automatically branches to http://naazir-pc/WebDB/WEBDB.home with a message saying "Oops! This link appears to be broken.". I ran "Start WampSever" and the status of the server says "WAMPSERVER - server Online" I have closed Skype as well. Can you please help me w...

Running Zend site under Alias?

I want to run Zend site under an alias on WAMP. I am able to setup alias, but when I copy a working Zend site there and modify .htaccess to include "RewriteBase /alias", it still does not work. Error messages tell me that controller not found. Mainly this is what happen: I have: server.com/alias With Zend file structure inside (applicat...

Apache 2.2 / Win7 - slow or not responsive

My configuration - Windows 7 x64, Php 5.3, Apache 2.2.15, latest Mysql. When loading pages from localhost, the response time shown by firebug is more 530ms for the main 'index.php' file, sometimes the connection is reset. It's painfully slow. I googled the problem and found a workaround - switch off and on again a win service called BF...

step-by-step instructions for installing IMAGEMAGICK on WAMP?

This has been driving me mental, for hours and hours now.. There don't seem to be any concise tutorials/walk throughs for installing ImageMagick on WAMP for use with PHP. I've tried dozens of combinations of their binary releases with different php extension dll files. I can get imagemagick working fine from the command line and i can ...

#1130 - Host 'localhost' is not allowed to connect to this MySQL server

Wamp get this message: #1130 - Host 'localhost' is not allowed to connect to this MySQL server Any help would be amazing Thanks in advance ...

Mysql console slow on import of huge sql files

My import of sql via the mysql console is rather slow and as our sql file is increasing every day I would like to know if there are any alternatives on how to import a sql file faster. Changing to oracle or other systems is no option, the configuration has to stay the same. Currently the sql file is: 1.5 Gb I'm on Wamp with Apache 2.2....

Unable to validate a form using Javascript; PHP redirect issues?

Hello, I've coded a simple form for a friend's hobby; basically, we are trying to guess the starting lineup for a couple of teams in the 2010 FIFAWorld Cup (just for the kicks). Anyway, I need to validate the following form. All the Javascript functions appear to function well because if i just call them outside of the tag, everything...

Is using AMP software like WAMP, MAMP, XAMPP a good idea?

I know that softwares like WAMP, XAMPP save a lot of difficult configuration time. But, besides this, Is this a good idea? I, on the other would like to stick to traditional method and install each component seperately and use them. ...

Memcache localhost connection oddity

When I try to connect to memcache using this code: $memcache = new Memcache; $memcache->connect('localhost', 11211) or die ("Could not connect"); The call dies with the "Could not connect" error, but if I use localhost's IP: $memcache = new Memcache; $memcache->connect('127.0.0.1', 11211) or die ("Could not connect"); It works! So...

uninstall pear in wamp

By mistake i installed PEAR , I thing i installed very wrongly, Now i want to uninstall only PEAR , Tell me How to uninstall PEAR IN WAMP.. (For Localsystem) ...

sprintf bug with php & apache in windows?

I've run into a strange problem on a WAMP server setup (PHP version 5.3.0, Apache 2.2.11). When using sprintf to output a number, I occasionally get erroneous characters in the output string. Example: (not trimmed from anything, this is the only code in the script) $dt1 = new DateTime('now'); $dt2 = new DateTime('now - 10 min'); $int...

Joomla Mootools file getting truncated

Hi, I am trying to run Joomla on my local machine. I have installed wamp 2.0 and everything installed ok with it and I managed to see it running. I have now come to install Joomla 1.5.18 but I am having a problem with the mootools file on the installation wizard. When running through the installation process in FireFox with firebug tur...

Upload a file to import data to mysql using phpmyadmin

Hello, I want to upload .cvs a file above 2048kb, how do I alter this value, in PHPMYADMIN. Its a WAMP Thanks Jean ...

I want to do a sql update loop statement, by using the do--while in php

Hello, I want to loop the update statement, but it only loops once. Here is the code I am using: do { mysql_select_db($database_ll, $ll); $query_query= "update table set ex='$71[1]' where field='val'"; $query = mysql_query($query_query, $ll) or die(mysql_error()); $row_domain_all = mysql_fetch_assoc($query); } while (...

how to enable memcache in wamp

Hi How to install memcache in wamp, am not find any php_memche in php.ini , What i do now. ...

Wamp switch on query_cache_type

How to switch on query_cache_type in wamp, In my.ini there is nothing like query_cache_type , ...

Is it possible to run php exec through cygwin?

Hey guys I have one php exec command that works on my remote linux server but not my windows (WAMP package) local server. I really want to create an identical workstation so I can test locally and then update my remote server. If anyone has any suggestions or solutions other than converting to linux, I would really appreciate it. <?php ...

WAMP Not working Correctly

First time using WAMP, as I really want something to do. So basically, when I go to http://localhost/, Firefox says it's unable to connect. And, even if it did work, where would I put the files to display my website? ...