New answers tagged

0

There is another forum post similar to what you are asking. https://forums.att.com/t5/Features-and-How-To/Forwarding-port-443-for-WHS-conflict-with-connectToCiscoAP/td-p/3365983 Once you follow the above post, you can change your internal apache settings to listen on 4443 or whichever port you would chose to listen on for SSL traffic into your network. ...


0

You can use any available port, but you'll have to use links like https://host:port/file only. Relative links like just /file are OK. Also, I assume your router properly process the traffic, I have no idea what 'ATT Uverse' means :)


0

Prompted by @gertvdijk, I found this great tutorial to get you going in the right direction: Better Default Directory Views with htaccess It talks about using HTML and CSS to style the index listing.


1

Try checking your group membership to make certain you're using an account capable of making changes to the system. For example... richard@XubHome:~$ groups richard adm cdrom sudo dip plugdev sambashare lpadmin If you show as being a member of the sudo group, simply entering your account password again should initiate the changes you are attempting to ...


0

It is referring to the password for the user you set up when you installed Ubuntu.


0

It is important. Changing the owner to www-data is a security issue. If you don't, you have to run the web server (apache) as another user. If someone is able to get control of your web server they can do anything that user can do, access files, delete files, change permissions, etc. The idea is that if you use www-data for your web server then someone who ...


0

For those who use VirtualBox guest additions and get you don't have permission to access /on this server despite of everything mentioned above: If you are trying to set the Apache document root folder to a VirtualBox shared folder,and you have tried everything above and that did not help, there is one more step. In short, the solution is to add user ...


0

Without having access to the router, I do not see this happening. first you have to think about the network, your public server sits on one side of the firewall, and has a public IP address. then the server you want to have serve up some of the pages is on the inside of the firewall and has a non-public IP address. Unless you can access the ...


0

Installing the php5-gd module with apt-get install php5-gd does not enable the module directly. In order to enable it, you should use the following command before restarting apache. sudo php5enmod gd sudo apache2ctl restart php5enmod stands for PHP5 Enable module. This the same command you can use for enabling Apache2 modules (a2enmod), but for PHP5 ...


1

I am assuming you are referring to your external IP address assigned by your ISP. If you already have a domain at no ip you simply need to configure dynamic DNS in your router/firewall and forward the necessary ports (80 & 443) for your web server to the internal IP address of your web server. Typically to log into your firewall you look for the ...


0

The solution should not be to replace your custom config.php owncloud configuration file, with the default one. By doing that, you have turned off additional settings you have made, like caching. Problem here is that you have upgraded OS version and, also, PHP version, among other stuff. REDIS PHP extension is compiled for an earlier version of PHP and ...


2

Install package libapache2-mod-php7.0 or disable the PHP7 module by running sudo a2dismod php7.0


1

Here's the relevant Launchpad bug: https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/1585614


2

You can change the location in the /etc/apache2/sites-available/000-default.conf file. You will have to edit the file as sudo since it is owned by root. Make sure the following line looks like this: DocumentRoot /var/www/html Restart apache2 sudo service apache2 restart Hope this helps!


1

I just saw this on both my 12.04 LTS servers. "sudo apt-get upgrade" caused the web server to stop. A simple "sudo service apache2 start" appears to have fixed the issue here. I similarly got an error: [Wed May 25 11:49:42 2016] [error] (9)Bad file descriptor: apr_socket_accept: (client socket) apache2: Syntax error on line 210 of ...


2

It seems that the question is not about the category "GUI clients that make writing SQL statements easier", but "clients that avoid SQL or generate it for you". So, relevant products would have wizards, or query builders, or table builders, or QBE. phpMyAdmin has already been excluded, and MySQL Workbench has already been mentioned. Non-WINE ...


1

sudo apt-get install lamp-server^ When used, it will attempt to install all of the features and configuration for LAMP. It will know and skip anything that is already there so do not worry about any overwriting of your configuration.


0

I wasn't getting any error messages, but source /etc/apache2/envvars && /usr/sbin/apache2 worked for me. (on Debian)


0

apache2 is now working. i just need to restart my pc. :)


0

Try to install LAMP may be , because of library dependencies it could not install properly. Install LAMP in ubuntu 16


0

Ok - so - to answer my own issue..... CHECK THINGS PROPERLY!! In all my virtual host .conf files I'd mistyped the $"&("$£" "DOMAIN" string! And because I'd copied the original file to make the others, the error had copied along. Note to self: LEARN TO READ! Thanks for all the suggestions, and I hope this one hangs around and maybe helps someone else.


1

Open a terminal and type: sudo apt-get remove --purge phpmyadmin or as Rinzwind noted sudo apt-get purge phpmyadmin this should (1) remove phpmyadmin and (2) remove its settings files and so on too.


0

Run netstat as superuser to actually see the process that is using port 80 (like it is telling you basically). sudo netstat -antp | grep 80


0

if you run 'netstat' as superuser: sudo netstat -tulpn | grep 80 That should show you the process that is using port 80 which might help you along. Without further info it does sound like maybe Gitlab is already using port 80, on my Gitlab installation it uses nginx on port 80 by default. Did you maybe do a re-install of Gitlab at some point? Looking at ...


0

NOT an answer. I'm having the same problem, Ubuntu 16.04, fresh install, using webmin to configure virtual hosts, with each user web directory (www) in their home folder. Ive done this loads of times in 12.04 and it was never a problem. In desperation I tried to enable a site with a2ensite "sudo a2ensite example.com.conf" and I got message that it doesn't ...


0

I am using apt-cacher-ng since 2012 on a virtual machine to provide updates for about 10 other virtual machines running different versions of ubuntu. Setting it up is pretty easy, the server offers a web-interface which gives some informations, but i never use it. In the client-side i have to edit /etc/apt/apt.conf.d/01proxy and add there Acquire::http { ...


2

you did not disable the site. hope this still works after you deleted it. sudo a2dissite gs30D7.com.conf sudo /etc/init.d/apache2 force-reload or sudo service apache2 restart


0

If you install libapache2-mod-php7.0 in addition to libapache2-mod-php5 it will not enable itself (you should see this in {apt,dpkg}.log), so you need to disable php5 module and enable php7.0 module: a2dismod php5 a2enmod php7.0 apache2ctl restart P.S.: You should read what the packages tells you at the installation time. Running apt-get with -y is a ...


1

Fixed by purging both apache and php. Only removing php was not sufficient. I'm not sure that this is the best way to do it, but it worked: sudo service apache2 stop sudo apt-get remove --purge apache2 apache2-utils apache2-bin php* sudo apt-get autoremove And this is what I used to reinstall everything: http://askubuntu.com/a/762161/411578


0

Please, run the following command in a terminal. nslookup. Then, see if your server DNS could be resolved running server If the server DNS resolution is correct then you have another problem. Exit nslookup Or, maybe another problem. Clean your cache: sudo apt-cache gencache man apt-cache gencaches creates APT's package cache. This is done ...


0

Without more information I can only describe general causes: php7.0-mysql package is not installed, to fix run sudo apt-get install php-mysql mysqli module got somehow disabled, to fix run phpenmod mysqli You are using different web SAPI PHP version than you have PHP CLI, f.e. you might have installed libapache2-mod-php5.6 with php7.0-cli Your Apache 2.x ...


0

Look for the following in the Load Modules sections of your apache configuration file : LoadModule mpm_event_module modules/mod_mpm_event.so And replace it with the following module : LoadModule mpm_prefork_module modules/mod_mpm_prefork.so


0

To disable event MPM, you can do sudo a2dismod mpm_event and after that to enable prefork, you should do sudo a2enmod mpm_prefork


0

Install the Apache PHP7 module with: sudo apt install libapache2-mod-php7.0 This will install and activate the Apache PHP7 module. If you are testing a site in your user directory (accessed by http://host.example.com/~user/), you will need to specifically activate PHP in userdir-module directores. Open /etc/apache2/mods-available/php7.0.conf in an ...


0

If you experience this error that means the version of both php5-common and php5-mysql was different thus causing this error, To fix the error, Do: sudo apt-get install php5 php5-common php5-mysql Try sudo apt-get dist-update again, hope it helps you.


0

Install LAMP server: sudo apt-get install lamp-server^ Enable userdir module: sudo a2enmod userdir Enable PHP execution in user directory: sudo nano /etc/apache2/mods-available/php7.conf (if you use PHP5, it's php5.conf) Comment this part: #<IfModule mod_userdir.c> # <Directory /home/*/public_html> # php_admin_flag ...


0

Just ran into the same error. You'll need to manually enable the mysqli php module and then restart apache: $ sudo phpenmod mysqli $ sudo service apache2 restart After that, it all worked (for me).


0

Although sudo apt-get install php5 failed sudo apt-get install php5.6 worked and now php is working.


0

You should try this command: GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP,INDEX,ALTER,CREATE TEMPORARY TABLES,LOCK TABLES ON drupal.* TO 'drupaluser'@'localhost'; For more info, refer this. Link: http://dev.mysql.com/doc/refman/5.7/en/grant.html


1

The new default root folder of apache is /var/www/html, thus your Source folder should read /var/www/html/PhpProject2.


0

From your log, it looks like an older version of package (which maybe unofficial ) is causing issue during installation. The answer to your question is well explained with the solution here : askubuntu: libapache-mod5-php- installation issue Follow the solution there. If problem exists please comment.


0

I think I figured it out. I started fresh and stepped thru each line of my pastebin, only using the necessary parts for PHP as FastCGI, and researched exactly how each little piece works. Then I tried many things that failed, then there was only thing left to try, and maybe this isn't the "right way", but... create a new <Directory> block in ...


1

So long as you're still within your local network, you should be able to access it via that local IP address (as you showed above), although vanilla apache installs are typically configured to only listen on port 80 not 8080. In the apache configuration you can change that port if so desired (for this and some other intro info: ...


2

Just after the user installs apache webserver, the web-server is started as a service. With the start of this service the port 80 (for HTTP traffic) is opened automatically. Suggested reading and details about apache / php / MySQL on Ubuntu : ApacheMySQLPHP Important: Apache, php, phpmyadmin and MySQL should be properly configured for a secure working of ...


4

You don't want to "open a port", you want to setup a web server. By default web server listens at port 80 for HTTP, or the web server opens that port for you. Your site is stored at a folder, you can call it "www", but that is not "AKA" 127.0.0.1, and if you serve it to other computers, you cannot let your web server listen at 127.0.0.1 only. Furthermore, ...


0

Patience, young Padawan, you just need to wait a tad bit longer. In the PPAs, architecture independent packages (php5-common) can be built on different architecture at different time.


0

First, check if your apache server is listening on port 80 (port 80 is for HTTP traffic) . Use this in terminal, sudo netstat -plnt If you see port 80 LISTEN status, you are OK. Next, check your public IP address. You can use some website where you can check your address. For example, Check IP address. If you are sitting behind a router, your computer ...


0

When I used this command: update user set password=PASSWORD("mynewpassword") where User='root'; I have got the following error: ERROR 1054 (42S22): Unknown column 'password' in 'field list' I have searched for some time, and I found that we have to use authentication_string in the place of password, so I think the command should be: update user set ...


0

Assuming that computer's IP address is 192.0.2.42, as http://192.0.2.42/index.html localhost in that URL simply resolves to the loopback IP address of your machine, 127.0.0.1.


0

Old question but answering. You can use nano or pico from the terminal to make a new file. For example, sudo nano owncloud.conf will open a new blank file with name "owncloud.conf". To save the changes to the file use Ctrl+X then you will be prompted for save changes. Pressing y or n does the job. Keyboard shortcuts for nano: Keyboard short-cuts More ...



Top 50 recent answers are included