Now make the WMAP Server accessible in the LAN, you have to get \wamp\bin\apache\Apache2.4\conf\nf and open it and find the following code: Go in the C \wamp\bin\apache\Apache2.4\conf\nf file and search for “#Listen” and then change the port from 80 to 8888 and in that case, your URL will be Like below: To run the WAMP Apache server on your specified port, do the following. And make sure that your WAMP server is online and it’s running on your browser using (I have given a fixed port number 8888 to my WAMP server. Here are the steps to make WAMP enabled on LAN:įirst you need to set up the WAMP service on your server and on the required services. The best solution is to implement SVN on your server (for checking in and checking out files and folders etc.) and ask all team members to access that server instance.
Issues arise when you merge files as well as the database. But when you want to access the same WAMP server form a different machine on LAN or WAN then it’s not possible.Ĭonsider you are working in a team in a big project and each member of the team works in different modules and the same database. It works great when you are working in a local machine. Note that this should not be needed anymore as conf.d is now used.The WAMP server is very useful and is widely used open source. Just edit the file and uncomment the following line (tip: search for mysql) extension=mysql.so (Use the IP or name of your PC/server instead of (The localhost IP is always 127.0.0.1).)Ī usual issue with PHP configuration is to enable MySQL. Restart Apache: # /etc/init.d/apache2 restart
WAMP SERVER WIKI INSTALL
) all you need to do is include the following line in /etc/apache2/nf (needed only before Squeeze, since 6.0 it will be linked by the package install script to /etc/apache2/conf.d/nf -> ././phpmyadmin/nf automatically): Include /etc/phpmyadmin/nf To have access to phpMyAdmin on your website (i.e. Probably you also want to install phpMyAdmin for easy configuration: # apt install phpmyadmin Īfterwards, point your browser to to start using it. To test the PHP interface, edit the file /var/and insert the following code. You can edit this file when needed, but for most simple applications, this should not be necessary as most stuff is now done using conf.d. If you prefer Python, then you might consider: # apt install python3 libapache2-mod-pythonĪpache2 configuration file: /etc/apache2/nf If you prefer Perl, then you might consider: # apt install perl libapache2-mod-perl2 Installing the PHP subset of LAMP in Debian is quite simple, you just type this as root in an console (the # is the root prompt symbol): Place some web content in ~/public_html and see the results at The "P" part # To re-enable php in user directories comment the following lines SetHandler application/x-httpd-php-source To be able to serve PHP (PHP needs to be installed as per instructions) check that /etc/apache2/mods-available/nf is correct: If the permissions are wrong correct them as such: # chmod 755 /home/ If you get a Forbidden error when accessing home folder through Apache check /home/username has permissions drwxr-xr-x. Options MultiViews Indexes SymLinksIfOwnerMatchĬreate directory as user (not as root): $mkdir /home/$USER/public_htmlĬhange group as root (substitute your username) and restart web server: # chgrp www-data /home//public_html The web server can be installed as follows:Ĭonfiguring user directories for Apache Web ServerĬonfigure Apache module userdir in /etc/apache2/mods-enabled/nf as follows:
You can add users to a MySQL database by using a control panel like phpMyAdmin to easily create or assign database permissions for users. You will need to create a separate user account to connect to your MySQL databases from a PHP script.
The root account is a privileged account which should only be used for admin procedures.
WAMP SERVER WIKI PASSWORD
You must never use your root account and password when running databases. # /usr/bin/mysqladmin -u root password 'enter-your-good-new-password-here'