Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I've installed php5, apache2, and mysql from the lastest tarballs.
I think everything is installed fine(sigh*).
I tried phpinfo() on index.php and it shows me all the configuration properly, but when I tried to actually do some sample pages, mozilla wouldn't parse the php file as usual and just comes up with popup saying that what do you want to open this file with?
When I saw that i was screaming... F******K.
Somebody help me please~.
I am running FC6 with SELinux and I did modify httpd.conf file
for parsing php part by including these two lines,
I actually wrote something to check the interoperability between mysql and php - checking whether php can connect to mysql db and stuff- and it actually works. Php file with the code is called test.php, so.. I am not sure why it wouldn't work for other files named such as abc_de.php.
well it sounds like it is working, but the mimetype being sent to the browser is not being recognised, what does firefox or wireshark or whatever say the content-type of the file being sent actually is? should be text/html and if it is a normal webpage being sent. in that case then it'd be displayed. what would normally happen under fedora / redhat is that you'd use rpm's from yum or other official resources and that will automatically include all relevant configuration, e.g. php is configured under apache by the file /etc/httpd/conf.d/php.conf being dropped in by the php rpm.
WORD FINDER RESULTS
Your query f******k turned up these results:
which one was it?
Last edited by acid_kewpie; 04-03-2007 at 08:49 AM.
weell what actually is the content-type header you receive? there are plenty of FF extensions, but i just use wireshark and capture the raw traffic. it's up to the browser to recieve a correct mime type and do something with it. if it's not told it's got html outpout (remember that php itself is just serverside code to output html or other data to a client) then it'll take other actions like sacing it to disk if it's "application/data" or something.
That's odd that the AddHandler didn't work. Where did you place it and what exactly did you type in? I double checked on the Apache documentation and it says that AddHandler is required to pass off specific extensions to different modules to handle them.