Ubuntu :: PHP5 And Apache Installed - Do I Need Firewall?

Oct 26, 2010

I'm doing some light web development, I installed php5 and apache on my laptop and read that when running apache your computer is technically a server and is thus vulnerable to computer wankery. I'm looking for advice on whether or not I should install a firewall or if I don't really need it. The work I'm doing is not a professional website, just a place for some experiments. All the info I found on the web was targeted to professional web-developers, not so much for amateurs like myself. What do you think?

View 6 Replies


ADVERTISEMENT

Server :: How To Get PHP5 Working On Apache 2.2.13

Jan 1, 2010

I am trying to get PHP5 working on Apache 2.2.13. When loading the PHP file in the web browser, the server does not appear to be passing the php off to the interpreter.Instead, the browser just treats the first command as an HTML comment and displays the rest to the user.

Relevant lines from httpd.conf:
LoadModule php5_module lib64/httpd/modules/libphp5.so
AddType text/html .php
#AddType application/x-httpd-php .php
AddHandler php-script .php

The second AddType is commented out because it causes Firefox to try to download the php instead of displaying it.

Output from httpd -M:
Loaded Modules:
core_module (static)

[code]....

Does it sound correct to think that there is some type of disconnect between Apache and the PHP interpreter?

View 1 Replies View Related

Ubuntu Installation :: Gd Library Installed Via Apt-get Install Php5-gd Command

Jan 14, 2010

I've PHP5 installed on my server, and just recently I installed a new application that requires gd library.

understand that I can have gd library installed via apt-get install php5-gd command.

Question: do I need to remove php5 instance (which was installed together with apache2/mysql using tasksel command) prior to installing php5-gd?

View 1 Replies View Related

OpenSUSE :: How To Start PHP - Version Php5-5.3.2-1.31.i586 Is Already Installed

Feb 4, 2011

I am installing opensuse 11.3 as a text-based web server. I have installed apache2, php, php-gd, php-pear and mysql... Now, I am trying to run the installwizard.php to install this LAMP app and any php file, seems to just download, instead of 'resolve to the screen' in the browser. When I run chkconfig, and see that apache and mysql are running. I have already restarted apache, and it seems to come up okay. I have created a test index.html file, and seems to be loading fine. I have googled for this, and it doesn't seem to happen to anyone else! when I try to yum install php, it says that version php5-5.3.2-1.31.i586 is already installed.

I am using yum, on the command line. Permissions are:

-rwxr-xr-x 1 root root 5654 2008-08-04 16:39 installtest.php
-rwxr-xr-x 1 root root 48605 2008-08-04 16:39 installwizard.php

View 9 Replies View Related

Debian Configuration :: Strange - Running Php5 On Debian Lenny And Apache?

Jan 18, 2010

i do have a strange problem get running php5 on lenny 64 inside apache2. i had installed it as all instructions on the web does: # apt-get install php5 libapache2-mod-php5 php5-cli php5-common php5-cgi

apt has enabled php automatically, so
/etc/apache2/mods-enabled/php5.conf does have inside:
<ifmodule mod_php5.c>
AddType application/x-httpd-php .php .phtml .php3
AddType application/x-httpd-php-source .phps
</ifmodule>

[Code]...

View 3 Replies View Related

Ubuntu Servers :: Use PHP5.2 Instead Of PHP5.3?

May 3, 2010

I'd like to use PHP5.2x instead of PHP5.3x on my Ubuntu 10.04. There is a small bug in Drupal where tweaking Views causes an error which seems to be associated with php5.3.

So, how would I regress to using 5.2x on Ubuntu?

View 1 Replies View Related

General :: Running Apache On A Firewall System?

Mar 2, 2011

if you are running Apache on a firewall system, perhaps to display a web front end for firewall configuration, how would you make sure that it is accessible only from inside the local network?

View 1 Replies View Related

Ubuntu :: How To Know If Firewall Installed

Mar 23, 2011

I never installed one, but if I wanted to find out for sure if I have one how would I do that?

View 2 Replies View Related

General :: Know Which Firewall Is Installed On Red Hat 4 System?

Apr 26, 2011

How do I know which firewall is installed on my Red Hat 4 system?Are there any commands or procedures I can follow?

View 2 Replies View Related

Ubuntu Security :: Firewall Installed And Running In10.04 - GUI Tools?

Jul 1, 2010

Is there a firewall installed and running in 10.04? If so are there any gui tools for configuring it and where are they? If there is not a firewall, what should I install to get one properly up and running?

View 2 Replies View Related

Networking :: Firewall Installed Using IPtables - NAT Rules?

Apr 7, 2010

I just install 1 firewall using Iptables.
Firewall includes 2 NIC:
NIC1 <IP PUBLIC>
NIC2 192.168.10.1
I installed 1 web server IP: 192.168.10.2
I have some PC IP range: 192.168.10.10->20

I set rules NAT on firewall and PC & web server can connect internet good, but I have problems:
When PC access to web server with IP 192.168.10.2 that ok, but PC can't access to web server when using IP Public. But outside internet, I can access to web server using IP Public.

Rules on IPTables
Code:
# Generated by iptables-save v1.3.5 on Sun Mar 7 21:01:16 2010
*nat
:PREROUTING ACCEPT [950:126970]
:POSTROUTING ACCEPT [89:5880]
:OUTPUT ACCEPT [19:1342]
-A PREROUTING -d 209.99.242.124 -i eth0 -p tcp -m tcp --dport 80 -j DNAT --to-destination 192.168.10.2:80
-A POSTROUTING -s 192.168.10.0/24 -o eth0 -j SNAT --to-source 209.99.242.124
*filter
:INPUT DROP [1599:157409]
:FORWARD DROP [0:0]
:OUTPUT ACCEPT [232:34452]
-A FORWARD -i eth0 -o eth1 -m state --state RELATED,ESTABLISHED -j ACCEPT
-A FORWARD -i eth1 -o eth0 -j ACCEPT
-A FORWARD -i eth0 -o eth1 -d 192.168.10.2 -p tcp --dport 80 -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A INPUT -i eth1 -j ACCEPT
-A OUTPUT -o lo -j ACCEPT
-A OUTPUT -o eth1 -j ACCEPT
COMMIT

View 2 Replies View Related

General :: Lynx - Running 10.04 Without Having Installed A Firewall

Jul 19, 2010

I'm running 10.04 without having installed a firewall is that ok? because, i'm also bugged by audio/video and mouse problems which build up and i must warm boot to remedy. (although the drum fanfare at start-up doesn't sound quite right ether?). furthermore i would like to open the port for my torrent client Transmission, but the elements of the web pge (192.168.1.1) are flickering.

View 5 Replies View Related

Ubuntu :: Know If Apache Web Server Is Properly Installed?

Jul 30, 2011

I am using vmware player, operating system is ubuntu. I have just installed the apache httpd-2.2.19. I am using the manual method. ./configure, make, make install. No error message.

When i run ubuntu, it gets into the terminal. From here, how do I know if my apache web server is properly installed?

View 5 Replies View Related

Fedora :: Apache Is Not Being Installed?

Jun 28, 2010

although there is inbuild apache in my fedora9 , but i am unable install it by manually. Is it a problem , if already i have apache in my system?

View 1 Replies View Related

Ubuntu :: Can't Get Apxs \ Set Up A Web Server With Mod_python Installed With Apache?

Oct 18, 2010

and I am trying to set up a web server with mod_python installed with apache. When I run the ./configure for mod_python it gives me an error saying that can't find apxs. I have Ubuntu server addition and Apache2

View 1 Replies View Related

CentOS 5 :: Updates Installed - Now Apache Not Working

Apr 15, 2011

The other day there were a number of updated needed on my server which I installed with yum (the software updater GUI). Now my websites are not coming up even on the server using http://localhost

I reviewed the info and found that httpd was updated to 2.2.3-45 and am suspecting that this is the cause of the issue. So my silly little question is how do I roll back this update?

View 4 Replies View Related

Debian Installation :: Package Apache Not Installed So Cannot Removed

Jul 7, 2011

I am running a vps with nginx as webserver. For some odd reason (I don't know if it was installed already) apache2 was running before nginx could start. After stopping apache2 nginx starts fine again. But, I want to completely remove apche2, but:
root@vps2:~# apt-get --purge remove apache2*
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package apache2 is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@vps2:~#

but:root@vps2:~# ls -la /usr/sbin/apache*
lrwxrwxrwx 1 root root 34 Jul 5 01:46 /usr/sbin/apache2 -> ../lib/apache2/mpm-prefork/apache2
-rwxr-xr-x 1 root root 5326 Mar 22 23:56 /usr/sbin/apache2ctl
lrwxrwxrwx 1 root root 10 Jul 5 01:46 /usr/sbin/apachectl -> apache2ctl
root@vps2:~# ls -la /etc/ap
apache2/ apm/apt/
root@vps2:~# ls -la /etc/apache2/
total 76

drwxr-xr-x 7 root root 4096 May 27 17:32 .
drwxr-xr-x 88 root root 4096 Jul 5 20:46 ..
-rw-r--r-- 1 root root 7908 May 27 17:32 apache2.conf
drwxr-xr-x 2 root root 4096 May 27 17:32 conf.d
-rw-r--r-- 1 root root  1169 May 27 17:32 envvars
-rw-r--r-- 1 root root 0 May 27 17:32 httpd.conf
-rw-r--r-- 1 root root 31063 May 27 17:32 magic
drwxr-xr-x 2 root root 4096 May 27 17:32 mods-available
drwxr-xr-x 2 root root 4096 May 27 17:32 mods-enabled
-rw-r--r-- 1 root root 750 May 27 17:32 ports.conf
drwxr-xr-x 2 root root 4096 May 27 17:32 sites-available
drwxr-xr-x 2 root root 4096 May 27 17:32 sites-enabled
root@vps2:~#

Apache2 is there and I can start it normally with /etc/init.d/apache2 start but I want it removed, how do I do that?

View 2 Replies View Related

Debian :: Installed Apache - Doesn't Recognizes Folder?

Jun 23, 2010

I have just installed a Virtual Machine with Debian. My goal is to set up a LAMP server to work with. I have installed Apache, PHP and MySQL, everything without any problems and following WIKIs.

Now, I have a problem, because I'm trying to work with folder within my /var/www folder. If I use the address http://192.168.1.103 in my Host computer's browser, I can see the "It works!" from Apache without a problem.

Now, if I try to see: http://192.168.1.103/test/ I can't see the index.html that is within the folder test that is on the path: /var/www/test Why is this? What do I need to do and keep this simple?

View 2 Replies View Related

OpenSUSE Network :: Apache Configuration - How To Get Modules Installed

Apr 28, 2010

I haven't been able to get a working X11 environment on a Dell PowerEdge 1850. Using YaST without an X11 environment sucks particularly when you are trying to configure Apache. In addition, the Apache configuration files seem to have changed significantly since the last time I configured Apache on a SuSE Linux distribution. Where can I find good documentation on editing suseconfig files to ensure that I get the modules installed that I need for the collaboration tool that I'm installing?

View 2 Replies View Related

General :: Check Which Apache Modules Are Enabled/installed?

May 17, 2011

which is the most elegant way to check which apache modules are enabled?

View 3 Replies View Related

OpenSUSE Network :: Setup LAMP On An Old Pc Installed Apache, MySQL?

Jan 16, 2011

i am trying to set up LAMP on an old pc i have installed linux, apache, mySQL and PHP following this guide Installing Apache2 With PHP5 And MySQL Support On OpenSUSE 11.3 (LAMP) | HowtoForge - Linux Howtos and Tutorials. i have installed phpMyAdmin but when i try and acess it i get this error

Error
MySQL said:
Cannot connect: invalid settings.

phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server.

[Code]...

View 1 Replies View Related

General :: Remove Apache And It Worked But Everytime It`s Installed It Comes With The Old Settings

Apr 30, 2010

I wanted to remove apache and it worked but everytime it`s installed it comes with the old settings...and I want the default ones..I don`t know to manage an apache server but i`m learning! I tried these commands and not of then didn`t had any effect:

apt-get remove apache2
aptitude remove apache2
rm -rf /etc/apache2 , rm -rf /var/www
dpkg -P apache2
and of course ... --purge remove apache2

View 5 Replies View Related

Debian Configuration :: Installed Firestarter Firewall On Debian Squeeze?

Apr 5, 2011

I installed Firestarter firewall on debian Squeeze.Now i note there is a gui available in System->Administration which apparently does not need to be running all the time - its not set up to start on boot.When I boot I notice the boot message has a line saying "Starting Firestarter firewall .... failed"When I am logged in and type "/etc/init.d/firestarter status" as the Firestarter FAQs say, I get"Firestarter is running... ... (warning)"I can run the gui manually and still same message.

View 2 Replies View Related

OpenSUSE Network :: Firewall Logs Are In /var/log/{firewall,warn,messages} - Clutter?

Mar 25, 2011

I suspect this is an initial configuration bug. All firewall logs seem to be going to all
three files. That causes a lot of clutter in the log files, and makes it difficult to see whether there are any serious problems being logged.

View 9 Replies View Related

Networking :: Setup Firewall / Sys1 Is Not Connected To Firewall For Testing Purpose?

May 18, 2010

I am learning to setup firewall in my home for that i have selected four system(sys1,sys2....sys4) for testing .I have configured sys2 to act as a firewall with two NIC. sys3 and sys4 are inside the firewall . sys1 is not connected to firewall for testing purpose.

the IP assignments are follows :

sys1 : ( fedora, not connected to firewall i am thinking, But i am not sure )

IP : 192.168.2.1 ,
gateway : blank
dns1 : blank
dns2 : blank

sys2 firewall ,IPTABLES )
code....

what happened is that sys1(not connected to firewall) can ssh to sys4(connected,inside firewall),since the rules are written not to ssh form sys1 to sys4..

then I came to know whatever the request I give, It directly goes as sys1 --> sys4. Not as sys1-----> sys2(firewall)---> sys4 .and the firewall is not filtering and processing anything for both inbound and outbound (i think it's my mistake some where). the requests are directly going inside without firewall.

View 3 Replies View Related

Software :: Build Firewall On Debian With 'Firewall Builder?

May 27, 2011

I'm trying to build firewall on Debian with 'Firewall Builder'. But it won't let me compile and run unless one interface is set as management. There are two interfaces on my computer: 'eth0' and 'lo'

I don't want to be able to configure firewall remotely, so could I use 'lo' as 'management interface'?

View 1 Replies View Related

Security :: Use Iptables As Firewall Instead Of Juniper Firewall?

May 9, 2011

Can we use iptables as firewall instead of Juniper firewall

View 2 Replies View Related

Ubuntu :: Can't Seem Php5 Work With Apache2

May 12, 2010

I can't seem php5 work with apache2. I am getting the text openning instead of php. I think this is infamous problem, found many suggestions adding AddType application/x-httpd-php .php, did that in/etc/apache2/apache2. conf and /etc/apache2/httpd.confwith no luck, it's still opening text

View 6 Replies View Related

Ubuntu :: PHP5 Not Working Out / Resolve This?

Aug 5, 2010

Ok so I have:

a)apt-get install apache2

b)apt-get install php5

c)placed a php test file into my var/www folder

d)go to 127.0.0.1 in my browser and all I see is a blank page, when I should see the php info page.

So what the heck is wrong here? I figure it's just something I'm too noob to know, yet I can't find anything about it on the net...

View 2 Replies View Related

Ubuntu :: How To Install Php5.2.6 In 10.04 Server?

Jan 27, 2011

I have a ubuntu10.04 server 64bit, my application can under run under php5.2.x. So there anyway i can install the php5.2.x in ubutnu 10.04 without the need to source compile?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved