LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices

Reply
 
Search this Thread
Old 05-18-2006, 12:55 PM   #1
SkippyBoy
Member
 
Registered: Oct 2005
Distribution: Suse10.2
Posts: 65

Rep: Reputation: 15
Apache 2 & PHP5 Not playing nice


Hi All - I am having a problem getting Apache2 to handle .php files correctly.

I have SuSE10.0, installed Apache2 and all PHP5 modules with Apt-Get. My htdocs are in /srv/www/htdocs. The CLI for PHP5 works fine. (Hopefully that is enough info for that)

Anyway - I can browse to my webpage just fine - but when I try the simply test.php file - my browser always asks how I want to handle the file - Save it or Open it. (Sometimes it doesnt do either - just shows a blank page, like right now...)

Are there any settings I should check that the rpm's don't do?


To see what I mean - it is www.skippyboy.kicks-ass.net is the main page, then www.skippyboy.kicks-ass.net/test.php is the test page that isnt working.

Any help is appreciated.
 
Old 05-19-2006, 09:09 AM   #2
SkippyBoy
Member
 
Registered: Oct 2005
Distribution: Suse10.2
Posts: 65

Original Poster
Rep: Reputation: 15
Ok - I got things to work. Here is what I did...

Through YAST - I uninstalled all Apache and PHP files. Then I deleted the /etc/apache2/ directory.

I downloaded the source files from apache.org and php.net and compiled them.

Then I soft-linked the /srv/www/htdocs/ directory to /usr/local/apache2/htdocs/ directory.

PHP and Apache are playing nice now.

I guess it goes to show you that sometimes you really need to compile things yourself....
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache running with PHP4 & PHP5 possible? mastrboy Linux - Software 1 01-18-2006 10:35 PM
PHP5 & HTTPD (apache) on Fedora Core 4 fatum112 Linux - Software 4 12-02-2005 06:44 PM
Ubuntu and XP not playing nice. kojima Linux - Distributions 8 10-13-2004 06:29 PM
Grub and XP not playing nice kojima Linux - Software 1 10-13-2004 10:07 AM
Windows not playing nice.... absolute0net Linux - Networking 0 07-07-2003 09:03 AM


All times are GMT -5. The time now is 01:19 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration