OpenSUSE Network :: Apache2 Not Processing Php Files

May 6, 2011

I'm running apache2 and I installed php5 with yast. httpd2 -M states that php5 is loaded. /etc/apache2/conf.d/php5.conf is being included in httpd.conf and it contains:

Code:
<IfModule mod_php5.c>
AddHandler application/x-php .php
AddHandler application/x-httpd-php .php4
AddHandler application/x-httpd-php .php5

[Code]....

The first line was added by me since that's what mime.types actually contains.

php.ini is in /etc/php5/apache2 and since I was not sure apache/php was finding it I added a PHPIniDir "directive" into httpd.conf. I have not changed it.

Test file is the typical /srv/www/htdocs/info.php with <?php infophp(); ?>

Normal index.htm is working fine. php -a is working fine.

I spent a long afternoon around this configuration and I looked in plenty of pages for solutions. I only do occasional system administration so I might have easily overlooked something trivial, but I run out of ideas.

There is a thread in this web site with a similar problem but no solution:

Php5 not recognized in SUSE 10.2 Apache2

What could be missing/wrong if php5 is loaded and the addhandler is defined? How can I further test?

View 9 Replies


ADVERTISEMENT

OpenSUSE Network :: PHP/Apache2: PHP Pages Are Just Blank

Jul 1, 2010

THIS ISN'T A SCRIPTING ERROR! I'M USING PHPMYADMIN (or trying to)! People on #httpd are useless for help.

Well, ir jus installed Apache2 and PHP5 on my openSuSE 11.2 server, and I just get blank pages for PHP, but HTML works fine. Ima jus guess this is a common error.

View 3 Replies View Related

OpenSUSE Network :: Add New User / Group To Apache2

Oct 8, 2010

i try to install bugzilla on suse 11.2. For that i want to add a new user / group to the apache2. I want to add the following commands to the envvars but there is no such file available

export APACHE_RUN_USER=apache2
export APACHE_RUN_GROUP=apache2

View 2 Replies View Related

OpenSUSE Network :: 10.3 - Hosting ASP Website (Apache2 Setup)

Feb 8, 2011

I'm completely new to this whole hosting on linux thing. I'm using apache2 and have everything setup as if I was doing it on a windows machine but when I navigate to the site via URL it displays the source code as plan text and thats all I see. I'm running openSuse 10.3.

View 9 Replies View Related

OpenSUSE Network :: 11.4 Apache2 Ignoring Uid.conf Options?

Mar 20, 2011

I am trying to install BackupPC on openSUSE 11.4 64 bit.BackupPC is complaining that I am not running the Apache server as user backuppc but as user with id 0 (root)I have the following in the /etc/apache2/uid.conf (which is getting read as I can put a syntax error in the file and it complains):

User backuppc
Group www

When I run either the httpd2-itk (default in rcapache2) or the plain httpd2 processes and then do a:

ps aux

The user reported as running the http processes is root NOT backuppc.On a openSUSE 11.3 machine where I have BackupPC running successfully the ps command returns backuppc as the user running the processes.Is this something others are seeing or do I have some configuration incorrect?

View 8 Replies View Related

OpenSUSE Network :: How To Start Apache2 On OpenSuse 11.1

Mar 2, 2010

I have installed the package "Web and LAMPP Server" with the YAST2 installation manager on my openSuse 11.1. The installation runs well without any error messages. When I try to start Apache2 in the YAST2 runlevel manager or from the command line it fails.The start problem seems to me simular as amavis configuration. I have to configure /etc/amavisd.conf before a was able to start amavis in the YAST2 runlevel manager.

How can I make Apache2 to start? Do I have to configure a special file before I am able to start Apache2 in the YAST2 runlevel manager or why doesn�t Apache2 start?

View 1 Replies View Related

OpenSUSE Network :: Apache2 - Server Doesn't Work And Say's "No Database Selected"

Oct 17, 2010

I broke my apache server. I went into the Yast administrator / HTTP Server and enabled the "rewrite" module. The server stopped working so I went back in and disabled it. Now the server still doesn't work and when I try browsing to any of the sites on it all I see is a page that says "No database selected" for any sites using databases. For static sites I get a 404 error. I broke rule #1 and didn't have back-up configuration files so now I'm stuck. What could the Yast module have done to my configuration files? I have restarted apache several times and even re-booted the computer.

View 3 Replies View Related

Fedora :: Processing Hidden Files

May 12, 2010

Doing "ls -a" provides a listing of the hidden files.To process all the .bak files you can do *.bak for:
that.bak
this.bak

But how do you process all the hidden files like:
.that.bak
.this.bak

What is the equivalent of *.bak for only the hidden files?

View 6 Replies View Related

Programming :: Processing Files Using Perl?

Aug 23, 2010

I am looking for some suggestions if possible, regarding processing the files using perl script. Scenario is I have a location where new files will be added always. I need to process these files for some validation. I wrote a perl script to do this and I thought I can rename the files once they are processed in that way I dont process the same files again. But now I can't rename the files due to some restrictions. Second thought, to process them based on date stamp but as my perlscript is being automated and runs every one hour to process the files I can't go by date stamp.

View 5 Replies View Related

Fedora Installation :: How To Use Processing.org's Processing-1.0.9 As Application?

Mar 1, 2010

New to Fedora (from Windows), I am up and running ok with packages from the repository but only half ok with Processing, the Java graphics programming front end from processing.org.Their download gave me a .tgz file which Package Manager extracted for me into a location of my choice and where there is now a "processing" shell script.This works ok and I have managed to create a launcher on the desktop. That starts ok but always with processing's default action of giving you a new and automatically named work file.In Windows an existing Processing file (.pde file) could be "opened-with" Processing. Trying to do similar in Fedora I find that I am expected to nominate an Application to open with but Processing has not installed as an application.I guess the question is how do I promote Processing to be an Application?Or is there a different approach?

View 4 Replies View Related

Ubuntu :: Errors Were Encountered While Processing: Base-files

Jan 20, 2010

I'm unable to install any package on my Ubuntu, apt-get terminates with following error message. I'm using Ubuntu Intrepid 8.10

Code:
baipaneni@Baipaneni:~$ sudo apt-get install python-tagpy
[sudo] password for baipaneni:
Reading package lists... Done
Building dependency tree

[Code]....

View 3 Replies View Related

Ubuntu Multimedia :: 10.04 -- No Sound -- Errors In Processing Files?

Apr 12, 2011

Ubuntu 10.04 with an HP d530 SFFFrom lspci:00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)When trying to do sudo apt-get install -f, I get this:

Errors were encountered while processing:
libdirac-encoder0
libfaac0

[code].....

View 1 Replies View Related

Networking :: Automate The Transfer And Processing Of Files Between Two Systems?

Oct 30, 2010

I'm trying to automate the transfer and processing of files between two systems to help test and compare a new server installation. The workflow is a bit complex but I'm basically modifying a script on server 'A' to push a file to server 'B' as standard input to another script.

[Code]...

But no luck. I've tried it without the port in the server_args parameter, without the '-l' option; I've tried having the server parameter set to 'tcpd' and the call to '/bin/nc' in the server_args too. But no success. Can anyone point out what I'm doing wrong with the config? PS. I've restarted xinetd and server B is listening on port 1112 and accepting connections - but nothing gets piped into the script on server B.

View 2 Replies View Related

OpenSUSE Network :: Create A Home Network To Share Files - Scanner And Printer

Dec 31, 2009

I have four PCs in my house that are running opensuse 11.2 and I want to create a home network to share files, scanner and printer.

View 4 Replies View Related

OpenSUSE Network :: Share Files Across The Network Or Access The Printer?

Feb 22, 2011

i have 3 comps(running suse 11.3) and a laptop(running vista sp2). i have installed samba on all suse comps. i have a printer attached to one of the comps and it has been shared also the internet connection on that comp has been shared. all the computers are connected using lan cables through an ethernet switch. i also have a wireless router which is connected to the ethernet switch.

I am able to view all the comps on the network except the laptop running vista. all the desktops are visible on the network and are able to print and share files on the network and also connect to the internet. the laptop running vista can connect to the internet but its not visible on the network and nor can it share files across the network or access the printer.

View 1 Replies View Related

Ubuntu Servers :: Apache2 Log Files Not Rotating?

Mar 29, 2010

I can't get my apache2 log files to rotate on an Ubuntu 8.04 64-bit server install.

Does anybody know of logrotate creates an error log somewhere by default?

Here's my /etc/logrotate.d/apache2 file if someone has any insight if I am doing something wrong.

/var/log/apache2/*.log /var/log/apache2/portal/*.log {
weekly
missingok
rotate 52
nocompress

[Code].....

View 9 Replies View Related

Ubuntu Servers :: Apache2 - Cannot Parse PHP Files

May 5, 2010

I have apache2 installed along with php5 and mysql5.0. I have installed them by themselves along with just installing the full LAMP install through terminal. My problem is that I cannot parse php files, it will just download them instead. I did change my apache server to nick/projects (nick is my username). If I navigate to localhost/index.html it works fine but will not parse the php files I have put there. I also have rails working fine in that folder too using apache2.

View 7 Replies View Related

Debian :: Apache2 Doesn't Start With Log Files Save To RAM?

Dec 12, 2010

I have apache2 running under debian squeeze on a Seagate DockStar of a USB flash drive. To reduce the wear on the USB stick, I want to move all log files to RAM. What I did was to update create an entry in /etc/fstab to mount /var/log to tmpfs.Things seems to work except apache2. y start apache2, it complains aboutStarting web server:apache2(2)No such file or directory: apache2: could not open error log file /var/log/apache2/error.log.If I create the file, apache2 starts fine. Is there a step or two I am missing so I don't need to do this every time I reboot

View 1 Replies View Related

Ubuntu :: Does Apache2 Have A Way To Automatically Delete Temp Files

May 1, 2010

I have a PHP script running on my website that can generate temporary images, but if I clean them up right away, then the browser doesn't have time to render them.Is there some way to make Apache2 delete them after 5 minutes or so?

View 3 Replies View Related

Ubuntu :: Does Apache2 Have A Way To Automatically Delete Temp Files?

Aug 14, 2010

I have a PHP script running on my website that can generate temporary images, but if I clean them up right away, then the browser doesn't have time to render them. Is there some way to make Apache2 delete them after 5 minutes or so?

View 1 Replies View Related

Ubuntu Servers :: Apache2 Cannot Access Image Files

Nov 12, 2010

I have installed LAMP server, I cant access any image files though Apache2.

All other, text document are showing, html, and php etc.

View 1 Replies View Related

Software :: After Install LAMP The Apache2 Can't Access Php Files

Feb 24, 2011

After install LAMP, apache2 can't access php files; I can see the info from the phpinfo(); but when I create a php file in /var/www and try to access the file (via web browser), the page is blank. If I change the extension to html I can acces without problems. I checked everythig but I can't understand why any web browser access a blank page. Nothing appears when I'm cheking the error.log file (apache2)

View 12 Replies View Related

SUSE :: Apache2 Reload Error Cannot Load /usr/lib64/apache2/mod_dav_svn.so Into Server?

Nov 19, 2010

I have suse10 64 bit installed. I am setting up a svn server on it. After installation and adding the modules ,while reloading the apache2 it's throwing the error as: HTML Code: httpd2-prefork: Syntax error on line 113 of /etc/apache2/httpd.conf: Syntax error on line 31 of /etc/apache2/sysconfig.d/loadmodule.conf: Cannot load /usr/lib64/apache2/mod_dav_svn.so into server: /usr/lib64/libsvn_subr-1.so.0: undefined symbol: apr_memcache_add_server

View 9 Replies View Related

Debian :: Apache2 Start Error Starting Web Server: Apache2[Wed Dec 09 15:36:40 2009] [warn] NameVirtualHost?

Dec 9, 2009

I am getting this error

Starting web server: apache2[Wed Dec 09 15:36:40 2009] [warn] NameVirtualHost XX.XX.XX.XXX:80 has no VirtualHosts(99)Cannot assign requested address: make_sock: could not bind to address 68.178.232.100:80
no listening sockets available, shutting down Unable to open logs failed!

also what is 68.178.232.100

View 1 Replies View Related

Ubuntu Installation :: Reinstall Apache2 - Recreating Config Files

May 11, 2010

I've deleted /etc/apache2 and did run:
Code:
sudo apt-get -o DPkg::Options::="--force-confmiss" --reinstall install apache2.2-common
to get the default config back.

But starting the server via:
Code:
sudo /etc/init.d/apache2
results in:

Code:
Syntax error on line 161 of /etc/apache2/apache2.conf:
Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration
line 160-163 look like this:

Code:
<Files ~ "^.ht">
Order Allow,Deny # line in question
Deny from all
</Files>

The funny thing is that the exact same definition is in a debian lenny server config on another server. So why did this install a not working config?

I just removed apache2 via:
Code:
sudo aptitude remove apache2
sudo rm -r /etc/apache2
and reinstalled it via:
Code:
sudo aptitude install apache2
which also did not fix the config bug?

For testing I installed apache2 on another ubuntu 9.10 and did just copy the folder /etc/apache2 to my local installation - this fixed the problem. Still, why cant I reinstall apache2 with a working config?

View 8 Replies View Related

Server :: Apache2 And Frontpage Support - Can't Find The Correct Files?

Jun 28, 2011

i want to ask for a guide how to install frontpage extensions on apache2 , i searched a lot but i can't collect the pieces , in the most cases i can't find the correct files..

View 5 Replies View Related

Ubuntu Networking :: Apache2 And Localhost - Network Manager Kept On Messing Around And Disconnecting

Mar 14, 2010

a while ago, Network manager kept on messing around and disconnecting me etc. I attempted to setup a static network (wired) and since then, everything worked fine. I also have apache running and have had no problems with that. I know there were some apache auto updates this week but I have been doing no dev work. I went to check out one of my local sites to do some work yesterday and there was just nothing happening.

I checked everything with apache, it is all running etc. I have stripped back the conf files to be clean and fresh and netstat is showing apache as listening on 127.0.0.1:80 as it should for a single default site that I have on there now. BUT if I try to ping localhost by name or by 127.0.0.1 I am getting "Destination Port Unreachable" Since I have been trying to fix this, I have been trawling the internet to try and clean up my network setup from scratch (I have also had problems with https sites that has turned up to be the MTU setting on my eth0 interface) but to be honest I am not sure exactly what should be set between ifconfig, route, netstat and apache. should I be able to ping localhost independantly of running apache2 (i.e if it is stopped) or would a successful ping rely on apache working correctly.

View 6 Replies View Related

OpenSUSE Network :: How To Back Up Files From 11.1

Jan 20, 2010

I am using opensuse11.1 .i want take take backup of files at scheduled time into my remote system .

View 1 Replies View Related

OpenSUSE Network :: Copying Files From FTP?

May 21, 2010

when I try to copy files from ftp server, at some moment speed falls to 0, i recive message "copy stalled" and my system frozen.I used Opensuse 11.2 (kernel linux 2.6.31). Some people advise me to upgrade the kernel. I upgraded it to linux-2.6.34, but it did not fixe a problem.Copying from ftp is very important for me, i like opensuse, but if i will not fixe this problem, i will must to change the OS.

View 5 Replies View Related

OpenSUSE Network :: Delete All The Files In Tmp?

Nov 26, 2010

Can I just go in a delete all the files in tmp? Or, do I need to be more careful? I noticed that a lot of flv fragments go in there. I did just delete those because I couldn't see how they could be useful again. What about all the other stuff?

View 9 Replies View Related







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