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 ...


10

Personally, if you are wanting to host PHP and mysql webapps, assuming the ones you want to host are compatible, I would install a flavor of Linux instead of XP on the box. Ubuntu Desktop edition would provide you what you need with a nice GUI so you don't have to do everything from a terminal session. There are hundreds of walkthroughs online for doing ...


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 ...


6

The most obvious gotchas to look out for that I can think of: case sensitivity when accessing the filesystem (Windows is generally not case sensitive, most filesystems on unix-a-like OSs are case sensitive) PHP and perl modules: depending on which modules you have used you may find that they are not available on the production servers (and might even be ...


5

The solution is to uncomment the MPM config include in httpd.conf # Server-pool management (MPM specific) Include conf/extra/httpd-mpm.conf Then locate the mpm_winnt_module and change the thread count from 250 to whatever. <IfModule mpm_winnt_module> ThreadsPerChild 1000 MaxRequestsPerChild 0 </IfModule>


5

This is usually caused by one of two problems: You already have something running on Port 80. It's most common that your development box has IIS installed on it, and IIS is using port 80. You can solve this issue by any of: stopping the IIS service ("World Wide Web Publishing Service") changing the binding on the IIS site uninstall IIS (or remove the ...


5

Sounds to me like it works. That is Apache's default message after a successful install. It is usually a single HTML file in the htdocs folder. What are you expecting to see? So far, I don't see this as a problem.


5

quoting and answering your questions: > "...I want it's localhost to be available from other computers" Sorry, but "localhost" (meaning "this computer") is the standard hostname given to the address of the loopback network interface. The name is also a reserved domain name, so you can't make computer's localhost to be avalible from other computers. > ...


5

You need to enable the WebDAV module in apache


4

Wordpress works fine on IIS, with a little configuration. I've set up a couple WP sites on IIS and Apache on Windows and haven't noticed much of a performance difference, though the sites weren't particularly high-traffic. Take a look at the guide here, which should give you a good starting point: http://learn.iis.net/page.aspx/280/install-wordpress-on-iis/ ...


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

Here's my understanding of what happens: The Zend Server GUI communicates with PHP running in Apache, via XML-RPC (localhost:80083) The function zend_restart_php() is called (which is defined by the PHP module ZendUtils), and that causes the Apache module to re-read it's INI file and re-initialize.


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 ...


4

without auditing code (are you using custom store software?), you can't know if there's a bug that's being exploited (and even if you didn't find anything that doesn't mean it isn't there). Are you using custom SQL code, for example? With sanity checking and cleaning of input? I'm assuming all your systems are fully up to date? Malware checks? Antivirus up ...


4

The bin-log will record all queries from whenever it was started so you have basically three options: The bin-log was enabled from the very start and recorded all queries on the database. In this case you can simply restore the entire database from the bin-log. You have an old backup taken sometime after the bin-log was enabled. In this case you can ...


4

The following come to mind: Case Sensitivity. Windows is case insensitive, while Linux is case sensitive. Path separator. Windows uses ";", Linux uses ":" Directory separator. Windows uses "\", Linux uses "/" As far as directory separator goes, PHP has the DIRECTORY_SEPARATOR constant, I've found that always using the Linux variant "/" to be more ...


3

Default settings are different in MySQL between the two platforms, particularly around case sensitivity of table names. Make sure you are perfect about either using all lower case table names, or always getting the case just right in the queries. PHP's mail() function is quite a bit different under Windows from Linux. If you make heavy use of its features ...


3

Not all installers remove all the folders they originally created. There is a good reason for this - you may value any configuration files you changed that were stored in that folder. I'm just speculating that this is the reason whoever wrote the installer/uninstaller did it this way. It could also be a mistake, or any other reason. If it worries you, ...


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

That's a rather easy one. Install the apache mod_limitipconn and setup a vhost for your domain. This will limit how many connections a user can have to that vhost.


3

I think your best bet is to use mod_proxy on apache... Something like the following on your virtual host: ProxyPass /somepath http://localhost:8080/SomeApp/somepath ProxyPassReverse /somepath http://localhost:8080/SomeApp/somepath This would make it so that when you access /somepath on your apache you're actually accessing the glassfish server ...


3

If you don't specify a log, Apache will not log... just comment out the line. Piping it to the bit bucket is a bit of a waste, Apache will generate all log entries and write them all out, but the OS dumps them. Would make much more sense to just disable logging. The Error log can be disabled with ErrorLog off too.


3

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 ...


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

Try uninstalling any anti-virus and/or firewall software you have then restart Windows and try to start WAMP again. If it works try a different AV and/or firewall software combination until everything plays nice together. From this Bugzilla entry it appears certain AV and firewall software can cause this issue on XP SP2, no mention of which ones though. ...


3

Error 24 is : "Too many open files" try this (add --single-transation): mysqldump -u root --all-databases --single-transaction > dbs.sql


2

#1045 - Access denied for user 'root'@'localhost' (using password: NO) PHPMyAdmin is trying to authenticate without a password. You probably need to change the below to false: $cfg['Servers'][$i]['AllowNoPassword'] = true;


2

The setup script saves configuration file config.inc.php to [phpmyadmindir]/config. I moved it to the root dir of phpmyadmin and that worked.


2

Its likely that you would have to look at the MaxClients setting and the ServerLimit settings for your apache instance, which might be lower than you might expect to be sure its not an apache limit being imposed. However a quick look at the docs suggest that the default for both is 256, which is less that your ab imposed 50 connections limit. Is the server ...



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