Sponsored Content
Top Forums UNIX for Dummies Questions & Answers enable php & java support in apache Post 41041 by bionicfysh on Sunday 28th of September 2003 02:11:52 PM
Old 09-28-2003
Question enable php & java support in apache

Hello guys, I am in desperate need for this information:

I have an apache server running on linux (suse 8.1)

I am unable to run php or java code on it, and I wonder what is wrong.

for the php case, the browser asks me how he should treat the file, namely download it to my local drive or execute it with another program.


FOr the java case, I am simply returned with the following internal error, and this even for the most simple of java/CGI scripts.:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, root@myserver.dom and inform them of the time the error occurred, and anything you might have done
that may have caused the error.

More information about this error may be available in the server error log.


N.B I have checked the httpd.conf file, and there is no LoadModule php4_Module line, what does this mean ?
how can I check that php support is installed on my suse linux 8.1 ?
how can I configure php to run in apache ?
and the same for java ?



Many thanks for some pointers.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

PHP & Apache & MySQL install how-to ?

how do i install php & mysql with apache on suse linux ??? apache was installed and configured when i installed linux. all its files are in different folders. e.g http files in usr/local/httpd/htdocs/ and its configs are in etc/httpd/ so how do i install php and get it to work with apache and... (4 Replies)
Discussion started by: perleo
4 Replies

2. SuSE

How do I enable 3D support and change the bass and treble in SuSE 9.2?

I have a ATI Radeon 9600 Pro gfx card and was trying to figure out how to enable 3d support in linux. I had downloaded the ATI driver before and installed it and I ended up having to reinstall linux because it told me I was supposed to do something to some file that I didn't do so it restarted and... (3 Replies)
Discussion started by: CTroxtell21
3 Replies

3. Shell Programming and Scripting

Books on PHP & APACHE

Can anybody please suggest me a good book to learn PHP and Apache. I want to use it for general programming and espeacially as front end tool for INFORMIX RDBMS. The book should guide me from the basics, as I am a beginer for PHP & Apache on SUSE Linux 9.0. (1 Reply)
Discussion started by: V.V.KUMAR
1 Replies

4. Shell Programming and Scripting

Enable & disable cronjob

Hi All, I am new to cronjob and need some guidance on this. 1) How do i enable a cronjob ? Can it be done by "crontab mycronfile" or "crontab -e mycronfile" 2) How can i disable the cronjob? Can deleting of the "mycronfile" disable the cron or do i need to perform "crontab -r mycronfile"... (7 Replies)
Discussion started by: Raynon
7 Replies

5. Solaris

Apache on Solaris10 configured with loadable module support?

I have Apache 2 webserver as delivered with the Solaris 10 installation. How to verify if Apache is configured with loadable module support? Or if needs to be recompiled with loadable module support. (2 Replies)
Discussion started by: kavera
2 Replies

6. UNIX for Dummies Questions & Answers

Enable hpet support in unix

Hi, I am new to this forum. I have a machine, the BIOS doesn't offer a choice to enable/disable HPET, I know in Linux, the hpet.c file can be modified to turn on and off the hpet, I am looking for a way to do this in UNIX as well. Is there already code existed for the modification? If not can... (0 Replies)
Discussion started by: KAKAMOMO
0 Replies

7. Shell Programming and Scripting

Problem with call of Java Programm & return code handling & output to several streams.

Hello Everybody, thanks in advance for spending some time in my problem. My problem is this: I want to call a java-Programm out of my shell skript, check if die return code is right, and split the output to the normal output and into a file. The following code doesn't work right, because in... (2 Replies)
Discussion started by: danifunny
2 Replies

8. Red Hat

Process not running: /opt/java15/jdk/bin/java -classpath /opt/apache/apache-ant-1.7.0-mod/lib/ant-la

Have no idea on what the below error message is: Process not running: /opt/java15/jdk/bin/java -classpath /opt/apache/apache-ant-1.7.0-mod/lib/ant-launcher.jar org.apache.tools.ant.launch.Launcher -buildfile build.xml dist. Any help? (3 Replies)
Discussion started by: gull05
3 Replies

9. Red Hat

Runtime Error Enable user directory apache

Hi I am exactly according to this link CentOS 6 - Apache httpd - Enable Userdir : Server World I Enabled userDirectory Server version: Apache/2.2.15 CentOS release 6.8 (Final) But Iget this Error Forbidden You don't have permission to access /~mn/index.html on this server Goal... (2 Replies)
Discussion started by: mnnn
2 Replies

10. Web Development

How to enable x-client-ip address in apache webserver LogFormat?

how to enable x-client-ip address in apache webserver LogFormat i tried below option, but no luck... 1. LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined 2. LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" proxy 3.... (0 Replies)
Discussion started by: raghur77
0 Replies
php-config(1)							Scripting Language						     php-config(1)

NAME
php-config - get information about PHP configuration and compile options SYNOPSIS
php-config [options] DESCRIPTION
php-config is a simple shell script for obtaining information about installed PHP configuration. OPTIONS
--prefix Directory prefix where PHP is installed, e.g. /usr/local --includes List of -I options with all include files --ldflags LD Flags which PHP was compiled with --libs Extra libraries which PHP was compiled with --man-dir The directory prefix where the manpages is installed --extension-dir Directory where extensions are searched by default --include-dir Directory prefix where header files are installed by default --php-binary Full path to php CLI or CGI binary --php-sapis Show all SAPI modules available --configure-options Configure options to recreate configuration of current PHP installation --version PHP version --vernum PHP version as integer SEE ALSO php(1) VERSION INFORMATION
This manpage describes php, version 5.4.17. COPYRIGHT
Copyright (C) 1997-2010 The PHP Group This source file is subject to version 3.01 of the PHP license, that is bundled with this package in the file LICENSE, and is available through the world-wide-web at the following url: http://www.php.net/license/3_01.txt If you did not receive a copy of the PHP license and are unable to obtain it through the world-wide-web, please send a note to license@php.net so we can mail you a copy immediately. The PHP Group 2010 php-config(1)
All times are GMT -4. The time now is 08:20 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy