Ubuntu Servers :: Php Not Running On Webserver?
May 8, 2010
when i go to my server's IP address, the index.php files is downloaded, not run, how can I fix this? I have php5 installed and enabled.
Quote:
root@ubuntu:~$ ls /etc/apache2/mods-enabled/
alias.conf authz_user.load dir.load php5.load
alias.load autoindex.conf env.load reqtimeout.conf
auth_basic.load autoindex.load mime.conf reqtimeout.load
[Code]....
View 4 Replies
ADVERTISEMENT
Mar 3, 2011
The server I'm running runs Debian Etch, Squid and Shorewall. Every 24 hours the server gets a new internet IP so I need to use dyndns to keep the dns pointing to the correct PC.
I have a webserver that is running behind the debian server and am having trouble with it. When I enter the web address, it gets a timeout.
View 3 Replies
View Related
Nov 2, 2010
for some reason when we browse our website on our local webserver (test environment) the pages load very slow.
There is no lack of memory, no lack of disk space, no lack of CPU power and as far as I know our network is very fast.Don't know where to begin looking, any suggestions ?
View 14 Replies
View Related
Dec 27, 2010
I am trying to get PHP 5.3.4 into my webserver, running Slack 13.1 on a 32bit system. Basically, it's a success, but no matter what options I try, phar will not be installed
Code:
Generating phar.php
Generating phar.phar
PEAR package PHP_Archive not installed: generated phar will require PHP's phar extension be enabled.
clicommand.inc
directorygraphiterator.inc
[Code]...
View 1 Replies
View Related
Oct 20, 2010
I posted this question a while ago but haven't had any luck getting it answered so I reworded everything to make it more clear. I started an Ubuntu web server on an old work laptop. The purpose of this server is to host a small file-sharing site, a forum, and a wiki. I have no prior experience with command line Ubuntu but am trying to figure this all out.
So far Ive setup the LAMP server, so apache, mysql, and php are installed. Ive also installed phpBB3 and Mediawiki. Both phpBB3 and Mediawiki are able to open from inside my LAN. I also have SSH setup and am able to use putty to manage the server from inside my LAN. Mediawiki runs slow internally but this is a secondary concern.
Externally to the LAN I can access the webserver using SSH(but sometimes it is too slow for anything that opens up such as nano or the SQL password prompt to display and the connection drops). I can also browse to the site and see the default apache welcome message. But I cannot open the mediawiki or phpbb site. Both will sit indefinitely and not open. The access log on the server shows that the request is being passed through though.
View 9 Replies
View Related
Nov 17, 2010
how to create an entire server from scratch using a minimal install. I know Ubuntu Server 10.04.1 comes with packages that can be included during install but for the sake of learning I only installed SSH access.
I was able to get Apache2, MySQL, PHP5 installed and running fine. What I'm trying to do next is setup DNS so I can point fragdata.com to my Ubuntu server and have other people see my test site.
I have registered the nameserver ns1.fragdata.com with my IP and updated DNS in my registrar. I followed the tutorial but "dig fragdata.com" gives me the following:
Code:
root@linux-server:/home/syvil# dig fragdata.com
; <<>> DiG 9.7.0-P1 <<>> fragdata.com
;; global options: +cmd
;; Got answer:
[Code]....
View 9 Replies
View Related
Sep 1, 2011
In order to pass PCI compliance I need to upgrade our webserver from php 5.3.5 to php 5.3.6. I found this: [URL] however it doesn't seem to work. My best guess is due to the fact I have 64bit server. Is there something else I can do without going through a compile?
Distributor ID: Ubuntu
Description: Ubuntu 11.04
Release: 11.04
Codename: natty
Linux 2.6.38-10-server #46-Ubuntu SMP Tue Jun 28 16:31:00 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
View 7 Replies
View Related
Jun 9, 2010
I'm trying to send files from a Unix server using http/curl to a Linux webserver running Apache. I get the following PUT error message when and the file does not send:
<title>405 Method Not Allowed</title>
</head><body>
<h1>Method Not Allowed</h1>
<p>The requested method PUT is not allowed for the URL
View 2 Replies
View Related
Feb 26, 2010
I have two servers on my network One with ubuntu 9.10 server And one with openSUSE 11.2.The ubuntu server is my webserver and runs phpsysinfo and my website. On the openSuse server i have a webbased application and some files that i want people to be able to reach by using mydomain.com wich points to my ubuntu server. Is there any way to do this?
View 1 Replies
View Related
Nov 27, 2010
I am planning to setup my own webserver using webmin, but from what i've read i apprently need two harddrives. one for the OS & one for the data. can i just partition my harddrive into two because i dont have another hdd lying around. i also just want to note that this is my first time trying to do something like this sooo I rly want to try to set up my own server . As a side note ill list the specs of the comp i plan to use as a server. Pentium 4 2.8ghz, 1gb DDR, 80GB 7200RPM HDD.
View 7 Replies
View Related
Apr 25, 2010
I am trying to set up a webserver using Ubuntu server with the EHCP plugin. I have it working and can access the EHCP page by using the IP address on my local network (192.168.0.4) So far so good. I then set uo a domain using the Domain add new(custom)from the sidebar. I provided the following info:
domainname - learner
Panel - me
Panel password - me2
Ftp user - DACL
ftp password cullompton
Great I have now got a folder structure including httpdocs for that domain, I can also use filezilla to upload webpages etc to that folder, and have uploaded a page called index.htm One problem remains - what address do I type into the web browser to see the webpage. I've tried 192.168.0.4/learner which is what I expected to work.this will only ever be used as a web server on a local network, never on the WAN.
View 9 Replies
View Related
May 7, 2010
So in my first ever attempt at Linux (and servers) I was able to set up a working web server that is visible from outside my network and created a simple PHP page thanks to this tutorial. I installed MySQL and have some experience with MS SQL but have no clue how to get started setting up databases and writing procedures in MySQL. I know all the syntax about writing scripts for MySQL (assuming it's the same as SQL) but I don't know how to get started. Do I need to be on the web server or can I do it remotely? Is there a front end GUI that everyone uses?
View 1 Replies
View Related
May 10, 2010
I upgraded webserver to new ubuntu server 10.04 (x86-64). After upgrade the increased load from 0,3 to 1,4. On webserver running phpbb, which generating slow quieres, which not before upgrade to lucid. HW conf: Intel Core i7, 8GB ram, WD Raptor 10k rpm. Week17 upgrade to new version.
View 9 Replies
View Related
Feb 13, 2011
I've several webserver (ubuntu 10.10 x64) on which I would like to be able to send mail like newsletter.I don't need to recieve mail on these servers, I'm using google Apps for recieving mail for the hosted domains.There's sendmail installed by default on ubuntu server..Previoulsy I was using Exim4 configured to use gmail SMTP server to send technical mails (apticron, logwatch, cron mail), but it doesn't fit for newsletter type of mailing.On my tries, I've wanted to setup Exim4 (just for the sending part, no inbox, and not using gmail stmp) which result in:
sendmail marked a uninstalled but still there and working Exim4 complaining about not being able to bind the port 25.I've removed exim4 (/etc/init.d/exim4 were not deleted...)I've reinstalled sendmail.I got this warning on installof sendmail: /etc/mail/aliases: 5 aliases, longest 21 bytes, 91 bytes total
How do I restore a working sendmail? What do I need to do so that mail sent from these servers aren't marked as spam? (not considering the content of the mail, but the server that send the mail) I see that some company used some specialized company like "grosbill.emailingoptin.com for grosbill.com" Should I specialize one domain for all newsletter ?
View 4 Replies
View Related
Aug 17, 2011
I'm installing a webserver in a Ubuntu 10.04. I want to install the webserver in a separated volume to backup it easily.
This is a resume:
Code:
apt-get -y -q install xfsprogs
mkfs.xfs /dev/sdf1
mkdir /ebs
mount /dev/sdf1 /ebs
[code]....
View 2 Replies
View Related
Dec 18, 2009
Ok let's say I have Apache Webservers on 2 different machines within my network, I have http://outterABC.com setup at dyndns.org to point to my modem at home, and my router forwards Port 80 to the ServerA Machine (i.e. 192.168.0.3). I can access my webpage I setup for the Server A Machine.
But what I want to try and do is somehow access my ServerB machine's website that is on my same network. I tried something like this http://ServerB.outterABC.com and the apache page came up with something like the page wasn't available. I want to access the content of the ServerB website, but because I have only one router, i can only forward Port 80 site traffic to my ServerA machine's website. I'm sure it's a different syntax I should use but i'm just not sure what I should enter to bring up the apache root web page for the Server B website via http://outterABC.com
I tried setting up DNS A records on ServerA, but I don't think it will work with what i'm trying to do above.
View 1 Replies
View Related
Apr 19, 2010
I'm trying to run Web server (nginx, does not really matter) "behind" VPN tunnel (i.e., on VPN client - the idea is that Web server is available at VPN endpoint IP on VPN server). Stock Ubuntu 9.10 Server with stock openvpn 2.1. No network changes done, only ufw is enabled and IPv6 is switched off. I need this box to be available at main IP address, no default route for VPN tunnel.
Tunnel itself works nicely, no problems at all. Hand-made static routes work via tunnel just fine. Problem is in-going traffic - I can see that it at least comes via tunnel (via OpenVPN debug), but is blocked (or dropped) by firewall or kernel. As far as I know, specific VPN server does not filter anything and is used for running Web servers on other IPs. I think I might need to set up some sort of IP forwarding for tap0 device to localhost - but don't really know where to start.
Tried disabling firewall, making Web server listen on all IPs (from localhost to VPN tunnel) - no luck. The box is in another country and KVM will be time and money, so I really don't feel like experimenting. openvpn.conf (IPs are obscured, non-relevant options removed, based on recommended config for that server):
Code:
# Setup
dev tap
remote 1.2.3.4
port 5091
[code]....
View 5 Replies
View Related
Jul 18, 2010
Set up my own web server hosted at home that I can use a genealogy program such as GRAMPS or PHPGedView with so that family members and I can store, view and upload information online viewable only to other family members.I have a old Dell server from work to use as a server (I know specs are helpful but don't have them at the moment.)I know that there are web hosting sites that this can be accomplished with easier and cheap but I mostly want to use this as an opportunity to learn.I am extremely new to Linux but the love the power it offers as well as it's philosophy.So far I've installed Ubuntu 10.04 Server on the machine.
I installed Apache, MySql, PHP and various other things with it.I got all the way through but have some errors with ISPconfig set up and some when I reboot.My main question at this point is, is this the best approach for what I want to do? And then once it's set up where do I go to learn how to use my system.
View 2 Replies
View Related
Nov 11, 2010
I'm trying to set up and run Monit to monitor an Apache2 webserver, I want to be able to ensure Apache is running and if it's not have it restarted with an email alert sent out.
The monitrc (edited for relevance) looks like:
Code:
check system *server name*
if loadavg (1min) > 4 then alert
if loadavg (5min) > 2 then alert
[Code].....
View 8 Replies
View Related
Aug 11, 2011
I have small home atom-server on netbook (with damaged screen) with Intel Atom N450 1.6Ghz CPU and 1GB of RAM. I am looking for web server, that would not eat much resources when hosting wordpress blog (up to 50-100 readers at once in veeeeeery far future) - posts in most cases will be only text based, without big images or archives (I'm not sure if it is important).The brain of my atom-server is latest 32-bit ubuntu server, without X's, I access it from ssh console only. It is already:
- proxy gate for my internal network (squid)
- my gmail backup/IMAP (dovecot & getmail)
- file server for my internal network (samba)
[code]....
View 6 Replies
View Related
Jan 27, 2009
I want to backup my apache website using tar. I want to make sure all the permissions and such stay the same so that if I restore a website, it's ready to go exactly as it had been.I am using the following command and would like to know if there is anything else I should neeed to do?
tar --xattrs cvzf backup.tgz /path-to-webserver-files
Now my other question is since tar doesn't store absolute paths, when I run the restore I have to be in the root directory? In another words if I run the command in a user directory will tar do something retarded like encode the paths as ../path-to-webserver or will it just be path-to-webserver so that when I run the restore from the / folder it will automatically go into the right place?
View 4 Replies
View Related
Aug 4, 2009
I've tried to copy my files from Xamp httdocs in windows to /var/www/html,
but I can't paste the file, what should I do so I can paste the files ?
I have logged in as a root..
View 2 Replies
View Related
Feb 17, 2011
I have standalone Suse 10 SP3 that when I run
Code: # hostname webserver but when I run host command
Code: # host webserver;; connection timed out; no servers could be reached I would like to get the IP when I issue
[Code]....
View 3 Replies
View Related
Oct 18, 2010
I had installed apache previously on my system, and I think I uninstalled it completely, although remnants might have remained. I have just installed zend server ce php 5.3, and I am having trouble getting it to work. When I log in to the admin interface, it told me it couldn't start the webserver, so I go to restart apache, and it gives me this:* Starting web server apache2 Syntax error on line 6 of /etc/apache2/sitesenabled/zendserver_gui.conf:Invalid command 'php_admin_flag', perhaps misspelled or defined by a module not included in the server configurationThis has to do with php_mod some how... but I am not sure how to fix this, or where to start, since I am relatively new to actually setting up apache.I thought this might have something to do with libapache2-mod-php... so I went to reinstall it, and ran this:
mburns@mb2449-laptop:~$ sudo aptitude install libapache2-mod-php5
Reading package lists... Done
Building dependency tree
[code]....
View 2 Replies
View Related
Mar 19, 2010
We are running IPmonitor to monitor the disk usage on our Linux servers. It does not seem to coincide with what is reported when running df -h. For example on a Red Hat 5.3 server - our IPmonitor shows that 85% is used on the /usr partition, however when I do a df -h on the server it shows that 91% is used. Why there would be a discrepancy? IPmonitor uses SNMP.
View 5 Replies
View Related
Sep 5, 2010
I am running apache2 and tornado web servers on the same server with one ip address.
The apache2 listens on port 80. Tornado listens on port 8888. I want to redirect requests from a specific ip port 80 to port 8888. I don't have the ability to change the port request on the device. It wants is looking for a web server on port 80.
Any other web server request should go to the apache.
I tried adding the following to /etc/ufw/before.rules
When I run iptables -L it doesn't appear. I have disabled and enabled ufw with no help.
View 3 Replies
View Related
Feb 11, 2010
I'm running my own webserver at home. I've also bought a domain (it's .nl because I'm Dutch). But now I need to change the nameservers from my domain.
I've read a lot of things about running your own authoritative nameserver and things like that. I also experimented with bind9 but I can't get it.
So, I've got a Webserver running Ubuntu Server. I've bought a domain. Nothing more and nothing less. So is it possible to run a nameserver or something else to get it work in this situation?
View 9 Replies
View Related
Dec 9, 2010
I'm looking to run some R scripts on a mysql database (engine =csv) from the apache webserver.
The goal is to record some statistics/numbers while someone is logged in, pass those numbers to r, run some statistics algorithms on the passed set of data and output an image file back to the logged-in user's html web page.
Doing this along with knowledge on how to call general r functions from within a php framework would be great.
View 1 Replies
View Related
Feb 16, 2011
My application environment which is made of jdk1.6,Tomcat 6, my sql 5.0. When i deployed my project in ubuntu 8.4, it was running fine.
But when i added
richfaces-api-3.3.3.Final.jar
richfaces-impl-3.3.3.Final.jar
richfaces-impl-jsf2-3.3.3.Final.jar
richfaces-ui-3.3.3.Final.jar
jar file in my application and deployed it in ubuntu10.4 then also it run smoothly.
But when i m trying to deploy it in ubuntu8.4 it shows an error
"resource not found"
View 1 Replies
View Related
Apr 20, 2011
I recently got a second-hand ProLiant DL380 G3. Currently it has no storage on it. So I was wondering, if and how I could run Ubuntu Server 10.10 (or any free server distro really) from PXE boot until I can get a hard drive. After I get the drive I will also need to install it using PXE as well.
View 1 Replies
View Related