Fedora Servers :: Install Php When Apache Is In /usr/local/apache2 ?

May 1, 2010

I need to know how to install php when apache is in /usr/local/apache2

View 6 Replies


ADVERTISEMENT

Fedora Servers :: Apache Will Not Serve Beyond Local Network

Jan 6, 2009

I've tried, but now I give up. I'm trying to run Apache on FC9. Nothing fancy, no extras, just the default installed apache. [correction, I have coldfusion installed, however the service is not running] I've set the Listen variable to every combination I could think of, with no success. I can set it whatever I like (such as my local IP) on any port other than port 80. If I try to set it to 192.168.x.x:80, it gives me the error message:
Starting httpd: (98)Address already in use: make_sock: could not bind to address 192.168.x.x:80

I've run netstat commands to try and find applications listening on port 80 and found nothing. Whenever I chose a port other than 80 to get the service to start successfully, I am able to serve pages locally. But even with my ports forwarded correctly, no one outside the local network can see it. I've checked with nmap that my machine is opening the ports and even cheated, disabling the firewall during testing to ensure it was not part of the problem.

I noticed while locally nmaping my server that whenever I set Listen 192.168.x.x:8081, 8081 is opened, as well as normal port 80. When I stop the httpd service, both those ports are simultaneously closed. Why is httpd opening port 80? I'm assuming this is related to why I cannot assign Listen to port 80. If I run remote scans from sites like www.nmap-online.com and www.canyouseeme.org, nmap-online will report filtered on ports 80 and 8081 if my httpd is running, and if httpd stopped, 80 is closed, filtered 8081.

Can you seem reports success on ports 80 and 8081 if httpd is running, fail if httpd is stopped. I'm sure thats all a lot of information cluttered in to all that. To summarize, I cannot start my httpd server on port 80, and I cannot ever see my webpages beyond my local network. Am I missing something extremely is simple and I'm just over looking it?

View 5 Replies View Related

Fedora Servers :: Apache On Local Network Does Not Work

May 23, 2010

The situation is this, I have one of those router cable/wifi. So I have the main pc plugged to the router, the router give local ip for all my network (the others computers connects via wi-fi). Main pc starts up apache under Fedora 12, http://localhost.. works, http://127.0.0.1.. works, http://192.168.0.13 (my local ip) works. But when I try to connect to http://192.168.0.13 from another pc of my local network, it doesn't work. The others pcs are running windows vista.

I go another computers ping 192.168.0.13, responds!
From the main computer ping 192.168.0.14, responds!
So, there is communication between the machines, but I cant get to work under apache. I tried opening port 80 with iptables, i tried changing apache's port to another.

View 10 Replies View Related

Ubuntu Servers :: Apache2-svn Mime - Tell Apache To Treat Script Files As Plain-text?

Apr 5, 2010

I've got an apache-svn server up and running fine but I'm struggling with an irritating problem. I need the apache server to display .vbs, .cs., vb., .sh, .pl., .c, .h, .cpp, etc, etc files in the browser. Whenever our users click on a script they get a download dialog instead of the script being displayed in the browser as plain/text. I have added:

Code: AddType text/plain .vbs Into /etc/apache2/mods-enabled/mime.conf but it seems to be getting ignored. how I can tell apache to treat script files as plain-text?

View 1 Replies View Related

Ubuntu Servers :: Local Apache Is Not Refreshing Pages?

Jul 16, 2010

I own several websites and have always developed on my local Apache server.

I am in the middle of releasing a new product on one of my sites and have been making rapid changes to the site based on feedback from customers, etc. as my product has gone live...

My local server is NOT refreshing pages. I make a change, click "refresh" in my browser and nothing happens.

I have tried clearing my browser cache and it makes no difference. Eventually (several minutes later) my changes happen.

Problem is, I need to be making these changes rapidly, and I really prefer to check my work on localhost before uploading it to a live server where I'm getting a lot of visitors right now.

This is a very recent problem as I have never had this occur before. Running 10.04.

View 9 Replies View Related

Ubuntu Servers :: Execute "./configure - Prefix=/usr/local/apache2 - Enable-so"

Jun 12, 2010

I am bit lost with configuring my apache2 web server. From the book I am using it says for me to configure apache2 to support PHP I need to execute "./configure --prefix=/usr/local/apache2 --enable-so". From what I can determine Apache2 is located in "/etc/init.d/apache2" folder. I used a Ubuntu 9.04 distro (I386 Server Ed.) to install the server. I added "Kubuntu-desktop" for viewing. Then performed web upgrade to Karmic 9.10. All went well !! Question is; Where do I execute a command to enable PHP support? Once again, the command is to look something like "./configure --prefix=/usr/local/apache2 --enable-so"

View 2 Replies View Related

Ubuntu Servers :: Apache: Working Folders For Local User

Sep 23, 2010

I want to setup a folder (several really) for websites that use PHP.

I am running Linux Ubuntu with PHP, APACHE installed.

The Apache server works in Firefox as 127.0.1.1 no problem.

The default directory is (DocumentRoot) /var/www This is stored in a file called /etc/apache2/sites-enabled/000-default

PHP executes no problem, if it is in the default directory (/var/www).

However, I'd like to activate PHP in a folder on another hard-drive (also).

In that folder I'd like to store several websites, all which will use PHP and MYSQL.

The problem is, my boot drive where /var/www currently is located has only 2 gig of space (21 gig for operating system, which seems high).

PHP files in the other hard drive do not execute, even under APACHE server.

How can I safely change the PHP enabled folder? How can I add more folders, without erasing the current one?

View 2 Replies View Related

Ubuntu Servers :: Apache Setup For Hostname Access On Local Network

Apr 13, 2011

I have installed Ubuntu on four machines at work and have been blown away. On my machine I have Apache setup for web development and other machines can "see" it using my IP address. I would like to have it so they can access by the name of my computer though. I have no local DNS server so I guess I need to hard code the relationship in each machine? Ideally I'd actually like to be able to use subdomains (which I use locally to avoid annoying .htaccess path problems). i.e. from another machine on the network to go to [URL].

View 3 Replies View Related

Fedora Servers :: Non Default Apache Install?

Feb 28, 2009

having an absolute mare on this one and doin me in.! I'm trying to install apache on fedora 9 to a non default directory /usr/local/apache as i need to set it up with resin see[URL]... I've removed the default install with yum remove httpd and then tried installing using apache's ./configure make make install commands. This all appears to work ok but when trying to start the server i get command not found error.any suggestions **ps why are the apache files all over the place in fedora..

View 14 Replies View Related

Ubuntu Servers :: Install Mod_python On 9.10 32 Bit Apache2 Server?

Jul 23, 2010

I'm trying to install mod_python on my Ubuntu 9.10 32 bit apache2 server. I have the module installed (via apt-get) and I know the module is loaded because the following appears in my log when I restart apache:

Code:
[Fri Jul 23 15:00:51 2010] [notice] Graceful restart requested, doing restart
PHP Deprecated: *Comments starting with '#' are deprecated in /etc/php5/apache2/conf.d/mcrypt.ini on line 1 in Unknown on line 0
PHP Deprecated: *Comments starting with '#' are deprecated in /etc/php5/apache2/conf.d/ming.ini on line 1 in Unknown on line 0

[Code]...

View 3 Replies View Related

Fedora Servers :: Httpd And Apache2 Conflict?

Jul 4, 2009

httpd have been install by default and I don't start it as services. I have install apache2 but don't want to start as service, I can't add it into the chkconfig. When I try to remove httpd, fedora also want to remove these software.

gnome-user-share i586 2.26.0-2.fc11 installed 809 k
httpd-manual i586 2.2.11-8 installed 3.5 M
mod_perl i586 2.0.4-8 installed 6.3 M

[code]....

php and webalizer I don't care as I want to install the new version, but is their any problem removing the other one? Also I want to pount the apache2 documentroot to var/www/httpd but when I do this and try to see the website I got a 403 error (not autorize)

View 1 Replies View Related

Fedora Servers :: Apache2 Without Mod_ssl, Is It Possible To Add It Using Apxs?

Jan 10, 2010

If I have apache2 without mod_ssl, is it possible to add it using apxs?

View 1 Replies View Related

Fedora Servers :: Good Guide To Enabling Https On Apache2?

Dec 28, 2009

I've got a basic apache2 setup running w/ multiple virtual hosts, would like to try SSL (i.e. https).

I've got the IP networking side well and truly sorted but I need guidance on the apache/ssl config side. I have installed mod_ssl.

Does anyone have a good guide for Fedora that's recent? All I can find are ubuntu and old fedora 'core' guides, so not sure how much applies to F12. The best ones I can find so far is

https://help.ubuntu.com/community/fo...er/apache2/SSL

http://httpd.apache.org/docs/2.0/ssl/ssl_howto.html

View 7 Replies View Related

Server :: Apache2/Worpress Rewriting Url To Avahi's .local

Dec 18, 2010

I've got a home network that uses avahi's magic '.local' name service.

One computer is a server running Debian Testing/Apache2/Wordpress 3.0.x.

All the computers in the house have avahi-compatible service, so reaching the server is easy for computers.

I'd like to use my phone via the wireless lan to use the wordpress installation. The gotcha is, I can enter the ip address and get to the login page. The next page, the ip address is re-written to the avahi host name.

As an example,

1. I enter 192.168.11.110:100 and I land on the default page.

2. Click on a page of content.

3. URL is rewritten from the numeric address to the avahi, text address.

4. This is a 404 error on the phone. The laptops handle it just fine.

How do I stop apache2 from rewriting?

View 1 Replies View Related

Ubuntu Servers :: Php 5 Won't Install Into Apache 2.2.15

Apr 23, 2010

I've run into a problem and I don't know if it's apache or php or the combination of both. I can compile apache 2.2.15 just fine, but whenever I try to compile php 5.3.2 into my server, the first two steps work just fine but when I get to the make install part it shows the libphp5.so and it just stays there and I have to cancel the install because it won't finish.

View 5 Replies View Related

Ubuntu :: /usr/sbin/apache2 Is Not A Supported Apache Binary Or Control Script?

Aug 19, 2010

I am trying to install Google Sitemap Generator at server. I am getting the following errors:

Quote:

This installation updates the Apache configuration file. To find that file,the installer needs the location of the Apache binary (httpd) or control script (apachectl). The binary or control script that you specify must support the -V option. What is the location of the Apache binary or control script? [/usr/sbin/apache2] Can't determine Group directive for Apache. /usr/sbin/apache2 is not a supported Apache binary or control script. Do you want to enter a different location for the Apache binary or control script? [Y/n]n The Google Sitemap Generator installation has been aborted.

View 9 Replies View Related

Ubuntu Servers :: Local Users Are Sending Mails Through Ms Outlook Using Local IP?

Jul 26, 2011

I have a postfix mail server on ubuntu 10.04 lts behind a router. so all local users are fetching/sending mails through ms outlook using local IP. Sometimes when internet goes down and any mail send then it bounced back immediately saying domain not found. Can u please tell me how i configure to hold all mails in postfix server rather than bounce when internet fails and will pass through when restored the internet around 15-30 minutes?

View 2 Replies View Related

Ubuntu Servers :: Install Mysql,apache And Php Through Usb?

Mar 19, 2010

how i can instal mysql,apache and php through my usb. what commands do i need?

View 2 Replies View Related

Fedora Servers :: Mirror URL For Local Repository

Jan 30, 2009

I have been looking into setting up a local repository for updates etc as we have an increasing number of fedora clients/servers. Searching the web I found multiple how-to's on how to accomplish this little project. One thing that bothers me is that each how-to seems to refer to a "static URL" mirror for rsync to get the rpms.

View 1 Replies View Related

Fedora Servers :: Accessing Local Server By Url?

Sep 8, 2011

I have a home network set up that includes windows xp and a local server. DNS resolution allows both machines to access the internet. I know this because firefox works on the xp machine, and yum works on the fedora machine.I can see the server index page through firefox by ip. I can't see it by url.

/etc/sysconfig/network settings:
NETWORKING=yes
HOSTNAME=fred.mycoachdomain.com

[code]....

View 14 Replies View Related

Fedora Servers :: Run Apache On LAN?

Feb 23, 2009

I installed fedora10 on my system with live cd.I started httpd service.I also set static IP address, subnetmask and default gateway as my proxy server.It is only accessible through http://localhost at the same machine.but I need to access it through http://ipaddress/ on my other LAN machines which has window operating system.

View 8 Replies View Related

Ubuntu Servers :: Install Menalto Gallery2 2.3.1 On 9.10 - Php 5.3.1 - Apache 2.2.12 - Postgresql

Jan 11, 2010

Is there anyone out there running Menalto's Gallery2 on Ubuntu 9.10? I'm trying to install Menalto Gallery2 2.3.1 on Ubuntu 9.10 + php 5.3.1 + apache 2.2.12 + postgresql

php5 is configured and running correctly. I verified the config using gallery2 ghcc (gallery host compatibility checker) and running a "test.php" (<?php phpinfo();?>). a2enmod php5 is enabled.

Whenever I try to run the install script in the http://mysite.com/gallery2/install folder, the "index.php" file is not executing it just downloads the "index.php".

View 3 Replies View Related

Ubuntu Servers :: Setup Puppet To Install And Configure Apache

Jul 7, 2010

I'm trying to setup puppet to install and configure apache on several servers. Having found: [URL] I thought I was onto something. However I'm a little lost, does anyone know of or can anyone write a small howto on how to get this module working on certain nodes. My current state is puppet is running and connected to the puppetmaster. I can do simple things but the apache install have lost me a little.

View 1 Replies View Related

Ubuntu Servers :: Setup Puppet To Install And Configure Apache?

Nov 23, 2010

I'm trying to setup puppet to install and configure apache on several servers. Having found:

[URL]

I thought I was onto something. However I'm a little lost, does anyone know of or can anyone write a small howto on how to get this module working on certain nodes.My current state is puppet is running and connected to the puppetmaster. I can do simple things but the apache install have lost me a little.

View 4 Replies View Related

Fedora Servers :: Sendmail Delivery To Local Boxes

Jun 1, 2009

I have fedora running as our email server at work using sendmail. It used to have spamassassin and MailScanner installed, but one of those died over the weekend and killed the mail server. We do not need either of these as we are using a web based spam filter now (postini), so I tried removing these. I have discovered that the mail is in the mqueue waiting for delivery to the users mailboxes. I have tried using "sendmail -q -v":

Code:
Running /var/spool/mqueue/n51Jx6Gg023820 (sequence 1 of 1174)
<abaughman@grandproductsinc.com>... Connecting to local...
<abaughman@grandproductsinc.com>... Deferred: local mailer (/usr/bin/procmail) exited with EX_TEMPFAIL

Running /var/spool/mqueue/n51JsuRe023619 (sequence 2 of 1174)
<ksullivan@grandproductsinc.com>... Connecting to local...
<ksullivan@grandproductsinc.com>... Deferred: local mailer (/usr/bin/procmail) exited with EX_TEMPFAIL .....

I do not have a procmail config file: /etc/procmailrc. I am not sure why, or what it should be, perhaps that is the problem. I guess I don't exactly know how this server runs all that well. I was able to get it up and running but never understood it enough to now find what is not working correctly.

View 1 Replies View Related

Fedora Servers :: Set A Web Server To Develop In Local Website?

Sep 21, 2009

I 'am trying to set a web server to develop in local website, i follow the guide in server to install php mysql but i 've got this error to set up the password of mysql ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'(2)i'm a noob in linux so i don't know how to resolve it.

View 10 Replies View Related

Fedora Servers :: Loading Local Websites Takes For Ever?

Sep 14, 2010

I develop many websites at the time in php, so I created virtual hosts in apache. In order for them to work properly I edited /etc/hosts like thisQuote:

10.50.2.105hal.mundohal# Added by NetworkManager
127.0.0.1localhost.localdomainlocalhost
::1hal.mundohallocalhost6.localdomain6localhost6

[code]....

View 1 Replies View Related

Fedora Servers :: Set Up A Local Domain To Redirect To A File In OS?

Mar 15, 2011

I'm trying to set up a framework where people connected to same wifi connection can enter a local site for developing purposes.I want them to be thrown to a local copy (development copy of the site) when they type in www.development.loc in the browser.I don't want to connect the world, only people connected to my wifi.Anyone willing to help by stating what I need to edit to :1. Allow me to access local copy of site that's on computer (located : /var/www/developmentsitename/) using www.development.loc in browser./and2a. What do I edit to create the server accessible by other computers connected to same wifi connection. 2b. If another computer can connect to this site now, can we create a virtual desktop setting in which workers can work as if they have their own partition on the server to work on and upload work onto the development server.

View 2 Replies View Related

Fedora Servers :: Automatic Subdomains On Local Dev Machine

Jul 28, 2011

I have working localhost on my Fedora 15. Directory tree look like this

Code:

/var/www/html/default
/var/www/html/projects
/projects/foo
/projects/bar

[code]....

View 2 Replies View Related

Fedora Servers :: CentOS 5.2 - Apache And New PHP

Feb 7, 2009

I've installed a server (CentOS5.2) - and I need a new(er) PHP, so, I get me one. This is what I did:
- unzipped the bundle in the root's home
- of course, I entered the folder
- entered "./configure"
- entered "make" - the compile didn't come back with errors
- entered "make test" - there was a _possible_ fail...
- entered "make install"

I noticed there's nothing in the /libs, where I'd expect a module (lib5php5.so) to exist. there is one, but it belongs to the older PHP. It's located in ets/httpd/modules (a link BTW - but I think that's normal). At the console I type:
"which php" and get a path to PHP /usr/local/bin/php
"php --version" and get 5.2.8 and some extra info
in the server I entered "<?php phpinfo(); .>" in a PHP page, as I call that page, I get ... 5.1.6 as version.

Of course, I suspect Apache to have the OLD PHP in its config, (the old lib5php.so) and that I may have to overwrite the old one with the newly compiled one, if I had it. I ran a locate on the system, but no other lib5php.so files exist. Where did I loose track?

View 2 Replies View Related







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