Fedora :: Apache Not Parsing Php Pages?

Jan 13, 2010

I have a Cent OS 5.4 32 bit final installed in my dedicated server. I used to run lighttpd with php in my server until now and all was fine. But yesterday I changed my website which needs apache to run. So installed apache using yum install httpd command. Then I added the virtual host name of my domain in webmin panel but when i try to run my php script in browser then its not opening php pages. Instead it downloads php files like index.php when i open in browser. So I guess apache is not able to compile and run php pages. Only html pages are opening right now..

View 2 Replies


ADVERTISEMENT

Fedora :: Apache Not Parsing Php Pages / Trying To Run Php Script In Browser Its Not Opening Php Pages?

Feb 19, 2010

I have a Cent OS 5.4 32 bit final installed in my dedicated server.

I used to run lighttpd with php in my server until now and all was fine.But yesterday I changed my website which needs apache to run. So installed apache using yum install httpd command.

Then I added the virtual host name of my domain in webmin panel but when i try to run my php script in browser then its not opening php pages.

Instead it downloads php files like index.php when i open in browser.So I guess apache is not able to compile and run php pages. Only html pages are opening right now..

View 2 Replies View Related

Server :: Apache Not Parsing PHP On Ubuntu 8.04?

Sep 2, 2010

I have a new setup of 8.04 with Apache2, MSQL5 and PHP5.However, I can't get the PHP to run. It is NOT the common problem of the browser offering to download the files. In my case I have some PHP in an HTML file, but the PHP is just ignored.

I have played around with my httpd.conf and also php5.conf files, but I couldn't make any difference.

My httpd.conf sets the document root to /var/www and if I put a php file in here with command phpinfo(), then it seems to dispay correctly. My HTML files are /var/www/app/index.html

View 2 Replies View Related

Ubuntu :: Apache Not Parsing Php In Html Files?

Dec 10, 2010

why Apache is not parsing php code inside html files in LAMP? Whereas the same is working fine in WAMP..

View 6 Replies View Related

Server :: Php Blank Pages On Apache

Dec 13, 2010

Im using fedora 8 and have installed php5 ,and mysql and i see only php blank pages ,some idea? must be php.ini, but i am newbie installing php and apache, i disabled selinux, and grant all the permisssions to excecute..

View 3 Replies View Related

Server :: Apache Configuration - Pages Do Not Load

Mar 20, 2010

I have apache running on my server, and also Zoneminder, a surveillance system running on the same machine. Both services runs without glitches, and I think apache's config as well as ZM's config are fine. I am not sure I understand how apache (not to mention the whole thing zoneminder, apache, web browser...) works. Pretty hard to manage when you dont know what you are doing. Also, when I try the supposed to work zoneminder webpage in my web browser, I get nothing (a blank page), or sometimes a "Not found" error message. The latest seems to be from apache because it is the same font as the "It works!" message when I try http://localhost:80

The only bit of information I have so far is in the apache error log (/var/log/httpd/error_log) and it says:
Code:
[Sun Mar 21 00:35:14 2010] [error] [client 192.168.0.100] script '/srv/httpd/htdocs/zm.php' not found or unable to stat
[Sun Mar 21 00:46:04 2010] [error] [client 127.0.0.1] File does not exist: /srv/httpd/htdocs/zm
It seems that the "zm.php" is missing.... That would be why Apache cant find the page?

View 14 Replies View Related

Server :: FastCGI And Apache Not Loading Pages

Jul 9, 2011

I am trying to set up my Apache server with FastCGI as the CGI engine. It will be mostly running PHP, but I may add Perl or something else later. I started from a completely fresh install of Ubuntu 11.04 with every update available. I used the install CD to install a LAMP server as part of the system install.I am using the tutorial at URL...to add the FastCGI functionality. I am having some problems with getting everything to work.The first problem was that apache2-suexec-custom wouldn't accept a different document root. I fixed that by compiling apache2-suexec from source with the document root changed to the correct path.

The next problem is that every php page I load throws a 500 error. Apache's error logs show that FastCGI isn't returning the page data correctly to Apache.

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 :: Apache Not Serving Pages From Subdirectory / Make It Possible?

Apr 11, 2011

I have Joomla installed at /var/www/joomla, if I navigate to http://localhost/joomla, I get a 404 error, but if I add index.php, the page loads. What is wrong?? Also I am not able to navigate to the administration part of Joomla for the same reason, typing in index.php doesn't load it in this case. Yes I have verified that all files are present in the directory.

View 7 Replies View Related

Server :: Changed Apache Port, Now Pages Won't Display?

May 16, 2011

I just tried changed the port that apache runs on from 80 to 8080 (I need port 80 for a difference service so I am changing the apache port). After doing this I load 127.0.0.1:8080 in a browser and get a 404 error generated by apache, if I change it back to 80 it works fine.

View 2 Replies View Related

Server :: Pages With SSL Not Working - Apache Fails To Load

Aug 13, 2010

I have 2 servers that are mirrored. They host 3 separate websites. Two of these websites are regular HTTP and the other is HTTPS with Digest authentication as well. The reason there are 2 servers is because one is a primary and the other secondary in case the primary goes down. Recently I decided to upgrade the secondary server then make it the primary server. I have done most of the configuration and the sites using regular HTTP are working perfectly fine. The page using SSL is not. Apache fails to load and here are the errors I am receiving the the error log file:

Code:
[Fri Aug 13 09:27:00 2010] [warn] RSA server certificate CommonName (CN) `newserver.domain.com' does NOT match server name!?
[Fri Aug 13 09:27:00 2010] [error] Unable to configure RSA server private key
[Fri Aug 13 09:27:00 2010] [error] SSL Library Error: 185073780 error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch

For the first warning, I cannot find anywhere that says the CN "newserver.domain.com", only what the CN is in the SSL key. I have no idea where to even start with the other errors.

View 1 Replies View Related

Server :: Configure Apache To Execute Php Scripts / Pages?

May 14, 2009

Most of my googling odysseies lead me to articles which talk about compiling apache & php from the source as this is touted to be more flexible. But the problem we have is this...we already have an apache 2 web server running. Now how do we serve php pages of it.

View 1 Replies View Related

Ubuntu Networking :: No Internet Connectivity - Cannot Access Pages In Apache

Nov 9, 2010

I can connect to anything locally, I can SSH in locally but nothing works from outside my network (can't access pages in apache, can SSH, etc.) I've checked the logs I can think of, but what should I be looking for? The last thing I did today was add a FW rule to log and drop from an IP, saved my iptables to a file in /etc. (this was at 10:45am). The last time I successfully logged in remotely 1:03pm. I connected multiple times in between. I've rebooted remotely once or twice. That's it. I've already flushed iptables.

View 1 Replies View Related

Ubuntu Networking :: Cannot Access Apache Server Pages From Outside Local Network

Jan 26, 2011

I'm trying to setup an Apache webserver on my computer in order to practice HTML5/CSS3 for an upcoming competition I'm in. I'm able to access my site from inside my network, but I cannot outside my network. I've had several people try, and they all report that the server just times out. I'm running Ubuntu 10.04 and Apache 2.2.17

My site is at [URL]

Here is the output of ifconfig

Code:
eth0 Link encap:Ethernet HWaddr 00:26:22:50:0f:0a
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

[Code]....

View 4 Replies View Related

Software :: Apache 2.2 LDAP Authentication Makes Pages Load Slow

Apr 16, 2010

I've enabled LDAP authentication on my 2.2.15 Apache server, but now pages load very slowly. As in, 1.515s with it enabled, and 187.4ms without (just the base page, numbers collected via Firebug). Here's my LDAP config (other directives snipped) -

Code:
LoadModule ldap_module modules/mod_ldap.so
LoadModule auth_basic_module modules/mod_auth_basic.so
LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
LDAPSharedCacheSize 500000
LDAPCacheEntries 2048
LDAPCacheTTL 3600
LDAPOpCacheEntries 2048
LDAPOpCacheTTL 3600 LDAPTrustedGlobalCert CA_DER ssl/ldapserver.der

<Directory "/example">
AuthType Basic
AuthBasicProvider ldap
AuthName "intranet credentials"
AuthLDAPURL "ldaps://ldap.example.com/ou=ldap,o=example.com?mail"
Require ldap-group cn=example,grp,ou=memberlist,ou=groups,o=example.com

How can I speed this up, or at least determine why it's so slow?

View 2 Replies View Related

Software :: Apache Server Automatically Append HTML To All Served Pages?

Jun 18, 2009

I want to put Google analytics code on all legacy pages on my server, most of them don't have a template so I was wondering if Apache can automatically append the code.

View 2 Replies View Related

OpenSUSE Network :: Setup Fast Apache - Launch Static Html Pages

May 22, 2011

I would like to set-up a pretty fast a running apache. I would like to use him so to launch a pretty small web site of 10 static html pages. At this time there is no security concerns (even though I want to do it right) , because the computer has not even ethernet cable. I have some experience, 8 years ago I Was setting up virtual hosts in fedora, so this process is not a blackbox for me.

View 9 Replies View Related

Server :: Apache Server - Adding Web Pages ?

Oct 14, 2010

I rented a server to run CS 1.6 game servers. I had someone install Apache and configure my server to be able to use control panel for my game servers( i am running 4 gservers and have 5 ips = 1 ip is free). When i type my primary ip in the web browser it displays the Apache test page.

My question is can i add pages to the Apache without messing up anything with the control panel or my game servers. I am familiar with html. My primary ip is used for 1 of th egame servers but i can change that if necessary. And if possible to add pages how to add a site name, sth like [url] instead of entering the primary ip to display the content.

View 4 Replies View Related

General :: Man Pages Not Displayed / Saying Formatting Pages And Then It Is Displaying Blank Page?

Sep 9, 2009

when i input man <cmd>.....it's saying formatting pages....n then it is displaying blank page.

View 6 Replies View Related

Fedora :: Firefox 3.5 And XML Parsing Error - Undefined Entity

Dec 28, 2009

I get this error when I try to start up firefox:
Code:
XML Parsing Error: undefined entity
Location: (null)
Line Number 30, Column 7: <menuitem id="context-copy"
------^
It's a GTK window with black text with yellow background. I've tried removing the .mozilla folder uninstalling firefox completely and deleting /usr/lib64/mozilla and /usr/lib/mozilla folders. Same error. So I tried running firefox under root, and it displays the same error plus:

Code:
Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See [URL] for information. (Details - 1: Failed to get connection to session: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.)
So after long hours of frustration I created a new "test" user and firefox ran fine. It still doesn't work on my old user account and root. My system is "Linux localhost.localdomain 2.6.30.9-102.fc11.x86_64 #1 SMP Fri Dec 4 00:18:53 EST 2009 x86_64 x86_64 x86_64 GNU/Linux"

View 2 Replies View Related

Red Hat / Fedora :: RHEL4 Snmpd: Error Parsing '', Skipping?

Jul 21, 2009

I'm really new to Linux and I badly needed some help.

I can't find the possible cause of this error log:

snmpd: error parsing '', skipping
RHEL version: RHEL4 ES Update 4 64-bit
version of snmp packages installed : net-snmp-5.2.1-0.2, net-snmp-libs-5.1.2-11, net-snmp-libs-5.2.1-0.2

View 1 Replies View Related

Fedora Installation :: Preupgrade F9 To F12 Fails With Parsing Primary XML Error

Dec 7, 2009

I'm having some issues upgrading my F9 to F12 using 'preupgrade' so I'm looking for anybody who has ever been able to complete a preupgrade from F9 x86_64 to F12. The error message I receive is TypeError: Parsing primary.xml error: attributes construct error. To my knowledge this has been reported as a bug in F10 which was resolved by a yum update to version 3.2.24.

For F9 the latest yum version is 3.2.21 which has this Parsing error bug that prevents the preupgarde to continue. Interesting enough that the preupgarde lets me select Fedora 12 and progresses with all the preupgrade steps properly until the parsing error occur. How to fix this Parsing error on a F9 x86_64 system.

View 5 Replies View Related

Fedora Networking :: Network Manager Crashes Parsing VPN Keyfile

May 28, 2011

I just did a yum upgrade from F13 to F14 to F15. According to /var/log/messages NetworkManager crashes trying to parse a VPN keyfile:

Code:
NetworkManager[2519]: ifcfg-rh: parsing /etc/sysconfig/network-scripts/ifcfg-eth0 ...
NetworkManager[2519]: ifcfg-rh: read connection 'System eth0'
NetworkManager[2519]: keyfile: parsing VPN Connection UDP ...
NetworkManager[2519]: <warn> caught signal 11. Generating backtrace ...

I'd like to remove this VPN config in hopes that NM can init and run, but I cannot figure out where this configuration is stored.

View 4 Replies View Related

Fedora Security :: Error Parsing Semanage Configuration File?

Aug 5, 2011

I need to autorise sendmail to send mail, but SeLinux blocks this action. But when I use this command:

Code:
setsebool -P httpd_can_sendmail=1
I receive an error

[code]...

View 3 Replies View Related

Fedora :: Missing Section 2 Man Pages?

Nov 29, 2009

Just installed Fedora 12 x86_64 and love it. But just noticed I'm missing all of the section 2 man pages. Is there a package I'm missing that contains these?? I've got all the standard development packages installed already, and works fine. One example is the gettimeofday() call that works fine in my code, but there's no man page for it.

View 4 Replies View Related

Fedora :: Midori Won't Load Certain Pages / Fix This?

Mar 30, 2010

Ive just install Midori, and overall I like this browser. But certain pages aren't loading in Midori. Like this forum, Fedoraforum.org. On exactly the same laptop, I can open this page with Firefox. How can I fix this?

View 14 Replies View Related

Fedora :: Search The Entire Man Pages?

Jun 18, 2011

how to search the entire man pages? I know man -k whatever searched the description but I wanna search the entire man page.

View 3 Replies View Related

Server :: Web Server Sees The Pages But Not The Folder That Has All The Images For The Pages

May 14, 2010

I'm very new to Linux, and I have ran a Windows XP server before, with a Apache2 Server software for Windows. and didn't have any problems with it, but I really want to set this server up with Linux.

The server is running, but the only thing that comes up in the browser, is the html pages, the pages call all the images from a folder /images/ but for some reason I can't get it to pull the folder up. None of the graphics show on any of the pages.

I also have a VirtualHost setup, and have another website set up in the DocumentRoot with the 2nd site, but it won't come up ether, even tho it is listed as the 2nd VirtualHost, and have that folder set up as the DocumentRoot.

I'm just using IP Addresses for now till I get this all sorted out.So if I enter the IP the main page comes up, just no graphics. if I enter the IP Address/2ndSiteFolder/ I get a directory listing with the 2nd site folder listed, so now if I click on the 2ndSiteFolderName, it comes up as IP/2ndSiteFolder/2ndSiteFolder/ Now the 2nd site comes up, and so does all the Graphics for that site, even if I go to some of the other subfolders site. So its just weird. I don't know what I need to do to get this to work right.

I know it has to do with setting up the folders for VirtualHost, I just don't know what it is. I have been working on this for a week, and I'm not getting anywhere..

View 9 Replies View Related

Fedora :: Mythweb Now Loads Blank Pages / Fix It?

Feb 14, 2009

After the Suhosin-Patch, I can no longer load mythweb pages from my mythtv server. Checking the apache2 error.log yields the following.

PHP Code...

I noticed that this appears to be an old bug come back to life again, but the fix to it was never revealed.

View 3 Replies View Related

Fedora Installation :: F10 To F12 Upgrade - PHP Pages Not Working

Nov 23, 2009

I just completed upgrading from F10 to F12. I had a few problems but now everything works just perfect, except my Apache server does'nt execute the PHP pages on the web-server. The php-pages use to work just fine. I have Apache/2.2.13 (Unix), with PHP 5.3.0 (cli) (built: Nov 17 2009 19:19:17). I tried to remove alle PHP rpm-packages and install them again with no luck.

I have checked the httpd.conf file and it include the following lines:
AddType application/x-httpd-php .php5
AddType application/x-httpd-php .php
AddHandler application/x-httpd-php .php
and
LoadModule php5_module modules/libphp5.so
I get a msg. from the last line, that the php5 module is already loaded.

I have restarted httpd-service. I have the following php modules installed:
php-devel-5.3.0-7.fc12.i686
php-cli-5.3.0-7.fc12.i686
php-common-5.3.0-7.fc12.i686
php-5.3.0-7.fc12.i686
php-pdo-5.3.0-7.fc12.i686
php-mysql-5.3.0-7.fc12.i686
Seems that in the new versions of PHP/Apache with F12 you need to write:
<?php .....?> and not just <? ... ?>

View 3 Replies View Related







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