Ubuntu :: PHP Is Not Working After Apache Update?

Jan 17, 2010

When I go to localhost, and try to open any PHP file, it asks me to download the file rather than run it like it should. JSP doesn't appear to be working either. I'm not to concerned about the JSP though.

I'm running KUbuntu 8.04 with KDE 3 on a 64bit machine.

View 9 Replies


ADVERTISEMENT

General :: Apache Command And Terminal / Command With Apache Through Web Browser And It Is Not Working?

Aug 18, 2009

I want to run a linux command with apache through web browser and that's is not working. and it's working properly when I execute this command through terminal, where is the problem?

NOTE: apache have the privileges to execute the command

View 7 Replies View Related

Ubuntu Networking :: Wireless Not Working After Installing Latest Update From Update Manager?

Sep 30, 2010

As the title says i updated my system which then needed a reboot. I also installed Mixxx djing software to try it out. So i thought id just restart the system. Usually when i boot into my desktop wireless automatically can connect to my router but not this time, wired only for now... i know theres tons of wireless issue threads but some more experienced users will be able to get straight to the point and run through some diagnostics with me.

View 1 Replies View Related

Ubuntu Servers :: Apache Update Breaks PHP

Oct 20, 2010

I updated my server (Ubuntu 10.04 LTS) today and had about 23 updates in Webmin. After the update suddenly apache doesn't render php pages anymore, instead letting you download the source code for the scripts. I checked the logs and found this:

Code: Syntax error on line 1 of /etc/apache2/mods-enabled/php5.load: Cannot load /usr/lib/apache2/modules/libphp5.so into server: /usr/lib/apache2/modules/libphp5.so: cannot open shared object file: No such file or directory I tried reinstalling php5 but I can't get it to work. I also hope that this was a glitch and that updates that break stuff like this don't get through QA.

View 9 Replies View Related

Ubuntu :: Apache Won't Update Htdocs Files?

Jul 6, 2010

I've installed Apache 2 on Ubuntu linux 10.04 as a simple LAN site for testing PHP scripts. But even though I've deleted the default index.html file in htdocs, changed the index file to index.php, put an index.php, chmoded to 775, and gave ownership of the folder to my account, it will not update any of the files. Any time I go to 127.0.1.1 or 127.0.0.1 (Both work, somehow), it has the "It works!" page instead of the page I put there. And yes, I've tried restarting apache, restarting my computer, etc. What's the problem and/or how do I fix it?

tl;dr: Apache keeps displaying the "It works" page even though I've replaced it. How do I fix it?

View 2 Replies View Related

Ubuntu Networking :: Wired Internet Not Working Since Update / Wless Not Working

Jun 21, 2010

I have been looking around the forums searching for similar problems, it seems not only me had this problem. About a month ago I did a regular update via Upd Manager. The next day - no wired connection.Still managable, since the local library has wireless. Now that won't work either.Just after I upgraded from Jaunty, I accidentally removed NetwMngr from the top right corner of the screen, but that should not have anything to do with how the program works, right? I now cannot reach NM, if I run it from the terminal, nothing happens visibly.

View 5 Replies View Related

General :: Manually Update Permissions Apache?

Jan 23, 2010

I have a directory in the /var/www folder. I have access to this directory from my windows machine through samba.

Everytime i add new files to the folder where the webpage is locate i need to go to my centos server a type chmod -R 777 /var/www/name

It can't be right that i need to do this everytime i add new files to the folder??

If i dont run this command i can't access this files when I access the webpage throug a browser...

UPDATE: I think It has something to do with the samba user, because if i create the files as root directly on the centos server i dont got the problem ... ?

View 5 Replies View Related

CentOS 5 Server :: Apache Dies After Update

Feb 3, 2009

I updated my CentOS 5 box recently. But after then my Apache can no longer work; every time I try to start apache, it says started OK but then dies immediately and no error message at all. When I tried 'apachectl restartI', it says apache not running. It has been running fine before the update. I've looked at /var/log/httpd.log but there is not any message about my problem.

View 14 Replies View Related

CentOS 5 :: Upgrade/update To Apache 2.2.12 Or Higher?

Jan 13, 2011

I'm a bit new to installing/upgrading on Linux/Centos so apologies if I've made a basic mistake here.I've searched around for the answer to this question but not found it - but apologies if this has been discussed in the forum before. The issue is that I want to upgrade Apache to version 2.2.12 or higher, because I want to install a second SSL domain on the same IP address. According to this page [URL].. you can do that from version 2.2.12.

Incidentally I've got Centos 5.4 installed. So I've had a little browse around with yum and did a "yum list *httpd* with gave me the following

[Code]...

View 2 Replies View Related

CentOS 5 :: Browser Don't Start Apache After PHP Update Or New Installation?

Nov 24, 2009

after I do all new installation and before i do PHP update my browser can show me apache default page but after update PHP to 5.2.0 I can't even see the default page and always give me Problem loading page and I have 3-4 times reinstall my server which i need to do this as mail serer locally. Here are the version for my php and apache on my server currently :Apache[root@localhost local]# httpd -vServer version: Apache/2.2.14 (Unix)Server built: Oct 14 2009 13:19:18

PHP
[root@localhost local]# php -v
PHP 5.2.11 (cli) (built: Sep 21 2009 14:49:09)

[code]....

View 5 Replies View Related

Ubuntu Servers :: Apache Only Working With Port 80?

Jan 20, 2010

I have a virtual server setup on port 80 that works fine, however, if I change the port to, say, 8080 the browser then fails to connect.I'm using webmin to configure everything, all the other settings seem to work as I would expect.I get the error "Safari canī open the page http://192.168.0.12:8080 because Safari cant connect to the server 192.168.0.1." in safari, and i get something similar on the xubuntu machine in firefox connecting via localhost.It's almost as though theres a firewall in the way, but I think it's more likely to be some config problem.

View 2 Replies View Related

Ubuntu :: Apache And VHost Not Working After Upgrade

Jun 25, 2010

After Ubuntu autoupgraded my Apache, some VHosts are nor working anymore and PHP Code is not oarsed any longer. I think the apache2.conf was overwritten. I do not have a clue how ti fix that, I tried some things but now I am stuck. I have only three hosts: the default, an svn (over port 443) and one called "imcar" which has PHP scripts to be parsed.

So, in my apache2.conf I have this:
Code:
DocumentRoot /var/www
ServerName localhost

The imcar host is set up like this:
Code:
<VirtualHost *:80>
ServerName imcar
ServerAdmin webmaster@imcar
DocumentRoot /var/www/imcar

<Directory /var/www/imcar>
Options FollowSymLinks Indexes
AllowOverride None
Order allow,deny
allow from all
</Directory>

ErrorLog /var/log/apache2/imcar-error.log
LogLevel warn
CustomLog /var/log/apache2/access.log combined
ServerSignature On
</VirtualHost>

If I go to imcar in the browser, the default DocumentRoot is shown. If I remove the default DocumentRoot, I get a 404 on imcar.

View 8 Replies View Related

Ubuntu Networking :: Getting Apache And Php Working On Natty?

May 18, 2011

I want to try and get apache and php working on Natty. I have got apache displaying an index page but when i try to show a php file firefox just asks me if I want to save the file and doesn't display the file in the browser.I installed using some info from websites to install al LAMP Server which seems to have finished ok.I have tried using php from the command line to see what happens and it seems the html is being generated ok.

View 1 Replies View Related

Ubuntu Servers :: Apache Mod_rewrite Not Working?

Jun 27, 2011

I have mod_rewrite and mod_proxy loaded properly for the apache2 package in 11.04. I added the following to the bottom of my apache2.conf:

RewriteEngine: On
RewriteRule: ^/$ /test [L]

The server restarts fine, but / is not getting rewritten in the slightest. And when I added the RewriteLog directive, the log file had absolutely nothing in it.

View 3 Replies View Related

CentOS 5 :: Apache Memory Leak Since Glibc-2.5-42.el5_4.2 Update?

Jan 4, 2010

I updated several packages on one of my servers on Dec 21st and have been seeing excessive swapfile usage since then. The problem process seems to be httpd which in our environment runs a subversion server as well as serving a number of php pages over https. At present I am having to bounce apache approximately every 5 days as it has used all 8GB swap in that time.

[Code]..

Of the updates listed as installed, the only one that looks likely to affect apache is glibc. Looking at the stats from sar -r I can see swap usage increasing by approx 3% (of 8GB) every hour.

View 3 Replies View Related

Server :: SSL Not Working With Apache

May 6, 2009

I've been trying to enable SSL in a Apache+Debian server. I already enable the ssl module, I added the 443 port in the ports.conf and I added a virtual host for the 443 port, as follows.

NameVirtualHost *:443
<VirtualHost *:443>
ServerAdmin webmaster@localhost
ServerName www2.domain.com
DocumentRoot /var/www/

ErrorLog /var/log/apache2/error.log
CustomLog /var/log/apache2/access.log combined
SSLEngine On
SSLCertificateFile /etc/apache2/ssl/apache.pem
</VirtualHost>

The certificate is installed also. After I restart Apache, the error log don't show anything unusual. The only showed is this: Apache/2.2.3 (Debian) PHP/5.2.0-8+etch13 mod_ssl/2.2.3 OpenSSL/0.9.8c configured -- resuming normal operations. Still, I can't open any pages with https protocol, only with http.

View 14 Replies View Related

Ubuntu :: Web Server Not Working - Running Apache And Mysql

Apr 16, 2010

i have apache and mysql running, i can access my web server by visiting localhost on port 80 but for some reason when it doesnt work when i try using my ISP provided IP address... (it used to work).. i have my router setup with a DMZ on my LAN IP (my computers IP, this is the computer in my home network that serving with apache).. i also cant seem to shut down my mysql server (theres an update ive been trying to get) even when i use sudo...

View 5 Replies View Related

Ubuntu Servers :: Apache Not Working On Alternate Port?

May 31, 2010

I have tried setting apache up on port 8000, because my ISP blocks port 80.

When I try to listen on just port 8000, I can never connect, internally or externally. When I try to listen on both 8000 and 80, my internal computers will drop the 8000 from the url and connect on 80, and external computers try to do the same thing, but can't get through on port 80.

I know my router is set up correctly, I have 80, 8000, and 8888 all being forwarded, I have confirmed with [URL] that 80 is blocked, but 8000 and 8888 are open. I am able to connect to gnump3d through port 8888 internally and externally, but not apache2 on port 8000.

netstat -tnap confirms that apache is running and listening on ports 80 and 8000 to all users.

View 9 Replies View Related

Ubuntu Servers :: Apache Directory Browsing Not Working?

Jul 19, 2010

I had directory browsing enabled in Apache on a previous computer, but I can't get it working again:heres my apache2.conf

Code:
#
#Based upon the NCSA server configuration files originally by Rob McCool.

[code].....

View 6 Replies View Related

Fedora :: Mysql / PHP / Apache Installation Configuration Module / Library Update

Dec 20, 2009

how to do Mysql, PHP, Apache installation configuration, module/library update

View 2 Replies View Related

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 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

Fedora :: Run Apache-tomcat5.5.29 On Fedora9 But Sometimes Its Working And Sometimes Not?

Jun 11, 2010

I am trying to run apache-tomcat5.5.29 on fedora9 but sometimes its working and sometimes not.Error messages are: 1.could not connect to the server running at 8080(message is at browser) 2.port is not free(again at browser)then I tried to change the port no. of tomcat in server.xml but still it is not working. But sometimes it again starts running without any modification.

View 3 Replies View Related

OpenSUSE Network :: Apache - MPM Worker Not Working

Mar 28, 2010

I desperately need to get my apache server on OPenSuse to use the worker MPM I have tried simply placing worker in the quotes of the apache file /etc/sysconfig/apache2 but when I stop and start apache in the task monitor it is still showing the httpd2 processes to be prefork. Also there seems to be a problem on restart saying it cant find MPM.

View 9 Replies View Related

General :: Apache Website Not Working / Solution For This?

Jan 22, 2010

I have a LAMP server configured. Yesterday, I had a test.php file displaying everything fine. I transferred some files over to the new server and now I can't connect to the test page, webmin, or phpmyadmin. I think it has something to do with Apache but Im not sure what to do next. I have restarted Apache, MySql and all services are running.

View 3 Replies View Related

General :: Syslog - Access Log Of Apache Not Working

Aug 11, 2011

I am running a syslogd on my ubuntu 10.10 system. I have a apache2 server on the same machine. I have configured my apache2.conf file to send the error logs to the local syslog server.

The config is as under :-
LogLevel notice
ErrorLog syslog:local1

I have also configured the /etc/syslog.conf as under :-
local1.info /var/log/apache2/error_logs

I have created a file in the /var/log/apache2 dir with the ownerships and permissions as under:-
-rwxrwxrwx 1 syslog adm 77 2011-08-11 18:14 /var/log/apache2/error_logs

Next I restarted the sysklogd and apache2 servers with a service command as under:-
sudo service sysklogd restart
sudo service apache2 restart

I thereafter observed the /var/log/apache2/error_logs file and found the entries for apache2 closing down and coming up as under:-
Aug 11 18:14:14 cc apache2[4940]: [notice] caught SIGTERM, shutting down
Aug 11 18:14:19 cc apache2[5282]: [notice] ModSecurity for Apache/2.5.12 [URL] configured.
Aug 11 18:14:19 cc apache2[5282]: [notice] Original server signature: Apache/2.2.16 (Ubuntu) mod_ssl/2.2.16 OpenSSL/0.9.8o
Aug 11 18:14:20 cc apache2[5285]: [notice] Apache/2.2.16 (Ubuntu) mod_ssl/2.2.16 OpenSSL/0.9.8o Microsoft-IIS/5.0 configured -- resuming normal operations

Now the problem is I donot get any other messages thereafter. So it is hardly useful. How can I increase the logged messages from apache. I tried the facility:
local1.*

Then restarted the sysklogd and apache2, but the contents of the /var/log/error_logs file remained similar. Next, I followed the link. I created the perl script for recording access logs of apache2. I then restarted the apache2 and sysklogd. when I opened my website from a browser, the access log did not work. I think I am getting something wrong with the facility value , in apache2.conf it is ErrorLog syslog:local1 ! but the script is suggesting that it should be local2 in the line 4
openlog('apache','cons','pid','local2');
I therefore changed the script to local1 in above line. But still no access log?

View 2 Replies View Related

Server :: Add A Second Vhost To Once Working Apache Config

Mar 17, 2011

I am trying to add a second vhost to my once working apache config. Now I have things really bollixed up and cannot access anything. I am getting a error 400. The access log shows this:

192.168.0.2 - - [17/Mar/2011:11:24:41 -0400] "GET /" 400 951
192.168.0.2 - - [17/Mar/2011:11:24:41 -0400] "GET /" 400 951 "-" "-"

I have a default (I think) httpd.conf file and put all my config stuff in files in vhosts.d. I have 3 files there:

[Code]...

View 14 Replies View Related

Server :: Redirect Rule On Apache - Not Working

Jul 16, 2009

I'm trying to make a redirect rule on my .htaccess but it's not working as planned.

Quote:

The first rule works fine, but on the second rule i do have a problem.

When I type http://domain.com/?tempskin=_rss2 the redirect does not work, but if I change the ? to any other character or even group of characters, the redirect works fine. example:

[url] will be redirected to [url]

But i do need to redirect the ?tempskin=_rss2. I already tried some variations on the redirect rule without any success.

View 1 Replies View Related

CentOS 5 Server :: Apache-Tomcat Not Working?

Feb 5, 2009

I've installed Apache Tomcat--6 and even jdk1.6.I've even created a tomcat.sh file to start the serverautomatically and it includes the Environment variables also ($CATALINA_HOME & JAVA_HOME) for automatic startup.Next when i'm using http://localhost:8080 to call the server it shows unable to connect.I've tried changing the port no of tomcat in server.xml file. but still its not working.

-->Then i tried using--telnet localhost comand--it shows Trying 127.0.0.1...

telnet: connect to address 127.0.0.1: Connection refused

telnet: Unable to connect to remote host: Connection refused

Here I'[m stuck i don't understand how do i make the localhost work.

-->If I'm giving telnet localhost 25 the sendmail server is working.But the 80 and 8080 ports are not getting configured.

-->I've tried adding the port and its name in /etc/services file but still its not working.

-->When I'm giving the command--/sbin/chkconfig --list--->Its shows: xinetd based services:

...
...

telnet on.what should i do to get my tomcat server work properly.

View 2 Replies View Related

CentOS 5 Server :: MySQL Not Working From Apache?

May 25, 2009

I run mysqld on another server. I just switched to another dedicated server now, and i'm having trouble connecting to the mysqld server. If i run the php script from the bash console( php connect.php ) it works perfectly and connects to the mysqld server. However, if i run the script from apache ( http://localhost/connect.php ) it returns this: Can't connect to MySQL server on '(mysqld real ip)' (13) Mysql connection from another server(old httpd server) works perfectly, so it's not from the database server.

View 4 Replies View Related







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