473,473 Members | 2,032 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Apache 2.2 with PHP 5

66 New Member
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, things should work fine.

By the way, while you may tell me this is the wrong section, I'm almost completely certain that this is a server configuration error, and not something wrong with my PHP installation.
Jun 3 '07 #1
6 4437
cheesecaker
66 New Member
Anybody have an idea what's going on here?
Jun 3 '07 #2
Banfa
9,065 Recognized Expert Moderator Expert
Anybody have an idea what's going on here?
Don't be impatient, this is a multi-national forum, the expert you require and answer from could be asleep because it is night time where they are when you post your question.



A assume you have altered the Apache configuration to tell it about php files and how to deal with them?
Jun 3 '07 #3
Motoma
3,237 Recognized Expert Specialist
Apache 2.2 is only compatible with PHP 5.2 and later.
What operating system are you performing this install on?
Jun 4 '07 #4
r035198x
13,262 MVP
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, things should work fine.

By the way, while you may tell me this is the wrong section, I'm almost completely certain that this is a server configuration error, and not something wrong with my PHP installation.
Forbidden would be a security restriction. Check the .conf file and see if there are no unintentional restrictions to accessing the pages.
Jun 12 '07 #5
Motoma
3,237 Recognized Expert Specialist
Good call r035198x, I completely missed that portion of the OP's information.
Jun 12 '07 #6
DaiTengu
12 New Member
You might also want to check your permissions on your files & folders. I find that most of the time this is where the problem lies.
Jun 22 '07 #7

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

Similar topics

2
by: Mike | last post by:
I am sure that I am making a simple boneheaded mistake and I would appreciate your help in spotting in. I have just installed apache_2.0.53-win32-x86-no_ssl.exe php-5.0.3-Win32.zip...
5
by: Grant Collins | last post by:
Hi I am writing a web based application as part of a small project that I am undertaking using servlets beans and jsp. I already have one servlet - bean - jsp page working and I have written...
1
by: ptaz | last post by:
Hi I'm trying to run a web page but I get the following error. Ca anyone please tell me a solution to this. Thanks Ptaz HTTP Status 500 - type Exception report
19
by: Alex Madon | last post by:
Hello, I am testing a web application (using the DBX PHP function to call a Postgresql backend). I have 375Mb RAM on my test home box. I ran ab (apache benchmark) to test the behaviour of the...
0
by: zhenya.tkachenko | last post by:
Hi! Have a problem with mod_auth_mysql. Compilation and installation of module done ok: # /usr/local/apache/bin/apxs -c -L/usr/lib/mysql -I/usr/include/mysql -lmysqlclient -lm -lz...
6
by: MaiyaHolliday | last post by:
Hello, I've recently installed apache on a new computer, and cannot figure out why my site will not process any includes. (it was working on my old one) There are no errors on the page such as...
3
by: amanjsingh | last post by:
Hi, I am trying to implement Java Web Service using Apache Axis2 and Eclipse as a tool. I have created the basic code and deployed the service using various eclipse plugin but when I try to invoke...
0
rsrinivasan
by: rsrinivasan | last post by:
Hi All, When i run my JSP program, ihave the following exception. How i solve this problem? HTTP Status 500 - ...
6
by: josequinonesii | last post by:
I've searched, I've read, I've tested and re-read numerous post but to no avail yet... Quite simply, the settings I've applied to my httpd.conf, httpd-vhost.conf and my hosts files simply does not...
2
by: ramprakashjava | last post by:
sorry still that error exist , how to avoid this deprecated method overriding in my netbeans ! In Bundled tomcat log it shows Dec 30, 2009 9:03:45 PM...
0
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...
0
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,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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,...
1
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...
0
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...
0
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 ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
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...

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.