473,799 Members | 2,885 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

PHP 5 + Apache 2 Access Forbidden Error

1 New Member
Hi there,

I know this question has been probably asked before, but all the answers I found couldn't help me. I am a noob when it comes to Linux, so please bear with me. I am running Suse Enterprise Server 10 and I installed Apache 2 and PHP 5 according to the installation guidelines, and I created the common test.php file. The Problem is I keep getting this error (from apache errorlog):

(13) Permission denied: file permissions deny server access.

I checked the permissions, and eventually I set them to 755, and now Firefox tries to download the php file instead of executing it.

Before any of you suggest it, I have added the php application type, as well as the php module to the apache config files.

Any other ideas?

Thanks in advance!

Alex.
Oct 29 '08 #1
1 3397
r035198x
13,262 MVP
Did you restart Apache after making those changes?
Does the phpinfo script display correctly?
Oct 30 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
4065
by: olegkon | last post by:
Hi, I am trying to create 2 separate environments (dev and test) on one powerful Unix server which has 2 network cards, 2 IP addresses, 2 server names... Using Apache 2.0.43 and Tomcat 4.1.29/JBoss 3.0.7, mod_jk 2.0.43 on Solaris 9, Intranet environment, Cocoon apps.
1
11459
by: Oleg Konovalov | last post by:
Hi, I am trying to create 2 separate environments (dev and test) on one powerful Unix server which has 2 network cards, 2 IP addresses, 2 server names... Using Apache 2.0.43 and Tomcat 4.1.29/JBoss 3.0.7, mod_jk 2.0.43 on Solaris 9, Intranet environment. Everything is fine on the first instance, but on the second instance when I do http://server2,
0
6377
by: Oleg Konovalov | last post by:
Hi, I am trying to create 2 separate environments (dev and test) on one powerful Unix server which has 2 network cards, 2 IP addresses, 2 server names... Using Apache 2.0.43 and Tomcat 4.1.29/JBoss 3.0.7, mod_jk 2.0.43 on Solaris 9, Intranet environment. Everything is fine on the first instance, but on the second instance when I do http://server2,
0
1089
by: someguy | last post by:
Hi, I realise that this might not be the appropriate newgroup for this question but there isn't a newsgroup on apache. I'm using python to do some cgi programming and i'm using DOM to sort a table when the user clicks on a different heading. Here is a sniplet of code: <th class = 'head'><a href="" onclick="sortTable(0)">Rank</a></th>
1
1968
by: Harrie Geerts | last post by:
attempt to invoke directory as script: c:/foxserv/www/cgi-bin This is standing in error.log Apache. Das steht in error.log Apache. And I get: Und ich bekomme: Forbidden.
1
6856
by: DotNetter | last post by:
I have two computers. Both computers have Windows 2003 installed as well as Visual Studio.Net 2003 installed. Computer A has active directory set and also has .Net and the webservice called WebserviceTest with a method called Service1 that only returns the string "Hello World". I have enabled Anonymous Access and have a user called ASPNET set up with normal permissions for this user.
5
5522
by: msuemnig | last post by:
I've create an Ubuntu Linux box, which comes pre-installed with Python (I've added the libapache2-mod-python throught the app manager). I've created .cgi and .py simple programs in the www root of apache. The problem is the programs just dump the contents to the browser in plain text. Or, in the case of the .py files, I am prompted to download the .py file. How can I get apache to recognize that it should execute the .cgi script? ...
6
4449
by: cheesecaker | last post by:
I've installed Apache 2.2 and PHP 5. Everything should be working, since my double- and triple-checking tells me everything is configured. However, when I try to access any PHP file on my server, I simply get Forbidden You don't have permission to access <the file> on this server. I realize that Apache 2.2 and PHP 5 are not officially compatible. I downloaded the special PHP development DLL for Apache 2.2, though, so at this point,...
2
3113
by: joe jacob | last post by:
I need to configure apache to run python scripts. I followed the steps mentioned in this site (http://www.thesitewizard.com/archive/ addcgitoapache.shtml). But I am not able to run python scripts from Firefox, I got a forbidden error "you do not have permission to access the file in the server" when I try to run the script form Firefox browser. Somebody please help me.
0
9538
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10473
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10249
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9068
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7563
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6804
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5461
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4138
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2937
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.