473,800 Members | 2,602 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Strange Apache PHP Problem in Ubuntu Breezy

99m
I used to have Apache and PHP4 working perfectly in Ubuntu Hoary Linux.
I upgraded to Ubuntu Breezy Linux and I either get one of the following
problems:

"You don't have permission to access /testsite/index.php on this
server."

or, if I put a test.php in the root, and try to run it, I get a Firefox
dialog that's sort of like, "What do you want to do with this file?
View it in gedit (notepad)?"

So then I uninstalled and reinstalled PHP4 along with
libapache2-mod-php4 and apache2. This failed with the same result.

So then I upgraded to PHP5 and reinstalled all this. Again, this failed
with the same result.

So then I went back to PHP4 again, rebooted, and tried again. Same
result.

So then I upgrade again to PHP5 again, rebooted, and tried again. Same
result.

What's the trick? How do I get my PHP to work properly through Apache
again?

Nov 25 '05 #1
3 1747
Hi,
I had the same problem, so i haved installed the following package :
libapache-mod-php4 via apt-get

;) Good luck

Dec 9 '05 #2
Hi,
I had the same problem, so i installed the following package :
libapache-mod-php4 via apt-get

;) Good luck

Dec 9 '05 #3
Hi,
I had the same problem, so i installed the following package :
libapache-mod-php4 via apt-get

;) Good luck

Dec 9 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
1414
by: Ido Yehieli | last post by:
Hi all, I have succesfully installed apache+mod_python (ubuntu 5.10 (Breezy), libapache2-mod-python2.4 Version: 3.1.3-3ubuntu1, apache2 Version: 2.0.54-5ubuntu4, python2.4 Version: 2.4.2-1). It seems apache and everything functions fine. I tried to run the example application from the mod_python site (http://www.modpython.org/examples/psp_site.tgz) by decompressing the
5
5523
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? ...
1
6632
by: Michael | last post by:
(Also posted in the alt.os.linux.ubuntu newsgroup, but I thought it might be more appropriate here) Hi, I'm running the Ubuntu Breezy Badger OS. I just installed the Firebird Classical Server from the Synaptic Package Manager, I can access my database from another machine with a program I wrote for that purpose or my database manager.
6
2599
by: Josefo | last post by:
Hello all. I am a newbie following the C++ tutorial in : http://www.cplusplus.com/doc/tutorial/templates.html I am unable to succesfully compile any of the examples with templates of this tutorial. I use the standard c++ compiler which comes with ubuntu breezy distro. I guess that somethig is wrong with it or (more likely..) I should use some option when compiling. This is, for instance, one of the codes: // template specialization...
1
4682
by: wadacom | last post by:
I'm sorry to take your time for newbie problems but I've been searching what to do about the problem with my apache server I have. I work with ubuntu dapperdrake I put the last apache server on it and I tried to put the mod_python module to work. the only answer I got was that apache didn't find api structure in the module. afterwards I read I didn't need this module to work with python (only a speed difference as I understand) but the problem...
0
1905
by: dirtycow | last post by:
Hi all, I'm trying to compile PHP 5.2.1 on my Ubuntu 6.10 server. I've downloaded the source code from php.net and am running the following "configure" command on it: ../configure --with-apxs2=/usr/bin/apxs2 --with-mysql --with-informix=/opt/informix --enable-shared --enable-pdo=shared --without-sqlite --without-pdo-sqlite --with-pdo-mysql=shared --with-zlib --with-xml --with-pdo-informix=shared,/opt/informix
2
1634
by: tool | last post by:
I'm having a problem that I'm not sure of the source for... so I'm asking here as the Apache group doesnt seem to know anything about the error message Apache generates. The error message is "Your program accessed memory currently in use at 00003f13 from 167f:02fe" This only happens if I start mysqld.exe then apache then shell out of a web page using PHP exec() to execute another program.
3
2580
by: brundlefly76 | last post by:
I am using the apache-perl webserver in Feisty (an Apache 1.3 with mod_perl enabled), which works fine, but I cannot figure out how to install php5 into this webserver as well. Here's some stuff I have tried from the docs and googling: sudo apt-get install php5 This seemed to only work for apache 2. sudo apt-get install libapache-mod-php5
2
2116
by: ratcateme | last post by:
Hi i am using php 5.2.3 on Ubuntu 7.10 and apache 2.2.4. i have just switched from windows 2000 and have encountered a problem with my log viewer script unlike windows i cannot just open the apache log file with php as it is always being used by apache. now i can copy using command line: cp /var/log/apache2/access.log /var/log/apache2/access.log.copy I need to do this in php but i don't no how. Please help Thanks Scott.
0
10507
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
10279
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
10036
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9092
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
7582
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
6815
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
5607
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3765
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2948
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.