Tag Info

Hot answers tagged

21

Wamp server it self compose of apache,mysql,php then what is the difference between them? There are many differences, though the two most troubling ones are: insecure configuration difficulty and lag in upgrades non-standard configs/binary locations To expand on #1: WAMP, LAMPP, XAMPP, etc. are designed to be one-click stack installers that make ...


13

First of all, apache, php, and MySQL are all *nix applications ported to Windows. It's usually preferred to run tools on their native platforms in production environments. Secondly, pre-configured *AMP packages generally have extremely vulnerable configurations out of the box. Most packages ship with a readme stating that they're only for dev use and not ...


7

Look for the [apacheMenu] section of your wampmanager.tpl file. There are definitions in that file that specify how to edit various configuration files including what editor to use. To set NP++ as the default for all the files you can do a simple find-and-replace of "notepad.exe" --> "C:/Program Files/Notepad++/notepad++.exe" - note the forward slashes ...


5

Just to add a bit of clarity, the first of these entries "owns" the :8080 port, and so the second one is ignored. <VirtualHost *:8080> DocumentRoot "C:/wamp/www/trunk" ServerName localhost </VirtualHost> <VirtualHost *:8080> DocumentRoot "C:/wamp/www/images2" ServerName images2.localhost </VirtualHost> What you want is name based ...


4

On windows, c:/windows/system32/drivers/etc/hosts (Open hosts in notepad) and edit the line starting with 127.0.0.1 ... 127.0.0.1 localhost www.website.com website.com and what this does, is makes it so ONLY FOR THAT COMPUTER all requests to website.com will use localhost instead. Hope it helps.


4

If you want to spare yourself a lot of pain and suffering, you should try to make your development environment mirror your production environment as closely as possible. You should be using the same versions of all the relevant software (i.e, the same version of PHP, Apache, etc.) -- and definitely the same OS. It's just way too much of a hassle to convert ...


4

If the question is - using Windows as my platform, why would some people tell me to install Apache, PHP, and MySQL separately rather than as part of a WAMP distribution... The main reason is that some people have had a negative experience using a "everything including the kitchen-sink" type WAMP distributions that comes with a FTP Server, Mail Server, JSP ...


3

Now, how can I reach it via one of my other lan client pc? Your virtual host can be accessible only from localhost (Allow from 127.0.0.1). Change it to your subnet, for e.g: <Directory "D:/WAMP/myproject/"> Options Indexes FollowSymLinks AllowOverride all Order Deny,Allow Deny from all Allow from 192.168.1.0/24 ...


3

Your configuration is only allowing connections from 127.0.0.1. You'll need to allow from the lan too Allow from 127.0.0.1 192.168.0.1/24 should do it assuming that your lan address is in the 192.168.0.1/24 network. or if there is just a small number of addresses you want to allow access Allow from 127.0.0.1 192.168.0.11 192.168.0.21 Access Control ...


3

This is a configuration issue. To get phpMyAdmin's username / password login, you need to set the right Auth setting in your config.inc.php, probably "cookie": auth_type = 'cookie' prompts for a MySQL username and password in a friendly HTML form. This is also the only way by which one can log in to an arbitrary server (if ...


3

You should post your data (benchmarks, statistics). But from what you're saying your script is probably I/O (as opposed to CPU) bound. Check for the I/O load in the task manager or using some other tool. If this is the case see if you can cache some data and/or optimize your queries as to lighten the load on the I/O subsystem.


3

According to your apache settings the apache is nto able to find the .htaccess. Because you have set the option AllowOverride None in the , you need to set it as Allowoverride All . Once you enable this the apache will find the .htaccess file. Regarding the redirect rules you can find the errors on errorlog and you will be able to correct it by ...


2

SSSLCipherSuite <-- That's got one too many "S"s on the front. I'm going to assume that typo is your problem. If not, make sure the SSL module is enabled and the directives are available (httpd -L). If they aren't you need to load mod_ssl into your server (refer to the Apache manual for information on how to load modules)


2

As Eduardo says, you're probably I/O bound. Databases often are. You can see this in the Resource Monitor in Windows. There are several things you can do to fix it: Physical drives Faster drives: For a non-trivial database server, your off-the-shelf 7.2k RPM SATA drives just won't cut it. Go with 10 or 15K RPM SAS drives, or SSDs. More drives: Put your ...


2

Sure, this is possible, but consider this: XAMPP, WAMP, etc. are full blown webserver stacks meant for development and hardly recommended for production use. This is because they are configured so that most use cases in development are met. You can use WAMP - but please make sure that only functions of PHP, Apache and MySQL are activated that you actually ...


2

Did you grant access to the target database from the other host? Assuming the IP of the other computer is 1.2.3.4: $ mysql -u root -p <database_name> mysql> grant all on db_name.* to <user_name>@1.2.3.4 identified by '<password>'; mysql> flush privileges; (of course you'll want to limit that grant statement to whatever is ...


2

In MySQL, the root user is a system default. What the users are "appearing under" is the host specification for the user; this allows controlling of the devices that a user is able to log in from. Oftentimes this can be restricted to a single device (as in your case, since the web server is on the same system), but in other cases remote access is needed ...


2

Your servername will need to a FQDN (Fully Qualified Domain Name) to work externally. Config example: <VirtualHost *:80> ServerAdmin webmaster@localhost DocumentRoot "c:/wamp/www" ServerName url.dyndns.info ErrorLog "logs/localhost-error.log" CustomLog "logs/localhost-access.log" common </VirtualHost> You'll also need to ...


2

What is the data structure in the sql? It is possible one column is a blob, perhaps an image or PDF that is larger than 16M. Why not set the max_allowed_packet to 160MB (as no one packet can be bigger than the entire file size) and test it again, you can always switch it back later. You can get a more accurate value if you get the data imported use the ...


2

Its working just as it should. If the browser reads some include directive with "localhost" it tries to look up that file in your current computer ( if localhost is set to 127.0.0.1, and default it is ). So you should change the path of those files in your html, to a relative url, like: css/style.css. This will work if that html page is in that directory ...


2

Forget the Windows part of the WAMP stack. The tricky part is having the correct PHP libraries installed to talk to LDAP, and configuring those libraries. Create yourself a phpinfo script and check your LDAP support and configuration. Once the libraries are squared away, create an ldap.conf and place it in the appropriate location (ie. where PHP thinks it ...


1

Gosh... I found the problem already. It happen at httpd.conf Previously I just run with port 80 (HTTP) my httpd.conf just enter NameVirtualHost * It has to be enter like this NameVirtualHost *:80 The port need to specific. After that my WAMP server work like a charm!


1

there are two potential causes to be checked first: Set PRTG on port 8080 but with HTTPS since there is a forwarding to port 80. See also this KB post. It is "only" hit 80 on localhost/127.0.0.1 port, it is the report generator in PRTG, you can that solve with this. Bonus Solution: Go to "Windows Service Management Console" and make sure to start the ...


1

Basic rundown: Easiest way would be to set your virtualization software so that your virtual machine networking is using bridged mode. That will give it its own IP address. Now go to your router, poke around in the settings for anything related to NAT or port forwarding. Tell it to forward port 80 from the internet (source) to the IP address of the virtual ...


1

I'm not a Windows person, so I can't give specific advice about WampServer or be confident that I'm interpreting your error message correctly, but it looks like it's complaining about not having a config file for openssl. You might want to try specifying it explicitly: openssl genrsa -config <path to your openssl.cnf> -out server.key


1

I was having the same problem, it appears that openssl.exe is broken in some of the WampServer 2.0 releases. (Just running openssl.exe without any options will trigger the similar errors) I downloaded and installed the GNUWin port of OpenSSL from Sourceforge... http://gnuwin32.sourceforge.net/packages/openssl.htm And created my server key using this ...


1

Assuming this host connects to the Internet via a typical home router, you will need to forward the WAMP listening port to your internal/LAN IP for this computer. (You will need to refer to your router's documentation for specifics to your make/model.) WAMP typically listens on port 80, but many ISPs will block inbound port 80 to keep you from hosting a ...


1

Presumably, you have a firewall blocking access to your home network. Note that this opens up your home network to security issues because you are opening a hole in your firewall. Keep your software up to date and be aware of security issues. You might be better off hosting this website at a hosting provider instead, which can cost less the $10 a month. ...


1

No it is not possible. The normal SSO (single-sign-on) method is GSSAPI (usually with a Kerberos implentation). Both Internet Explorer and Firefox support the GSSAPI. Novell's "eDirectory" server seems to as well, though I've never set it up. http://www.novell.com/communities/node/1581/single-sign-edirectory-882-using-sasl-gssapi-mechanism


1

There is no reason a desktop PC on a home connection could not perform database inserts/updates. If the bandwidth you supplied, 45kb/s, is true, that is likely the problem. 45kb/s is slower than typical dial-up (56kb/s). If you think the problem is network-related, try to use the website from a different computer on the LAN. Secondly, there must be an error ...



Only top voted, non community-wiki answers of a minimum length are eligible