LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 05-10-2005, 08:51 PM   #1
unreal128
Member
 
Registered: Jun 2003
Distribution: SuSE, Slackware, Gentoo
Posts: 207

Rep: Reputation: 30
Apache2 and PHP


I have install Apache2 with PHP4 on my SuSE 9.2 distro via YaST. It loads up index.php fine when not explictly stated. Although when I call the file directly, Apache doesn't process the file and instead offers the user to save the unprocessed PHP script to disk (and does!) I know it works when not explictly stated because "httpd.conf" is setup to seek an index.php/html/htm/etc... I checked "./conf.d/php4.conf" and it "AddType"s the php extension correctly to "x-httpd-php" if the "sapi_apache2" module is loaded. php_info() shows that PHP is being processed by the Apache2 API handler (hence sapi_apache2?) Is there something I am missing and need to check?

Last edited by unreal128; 05-10-2005 at 08:55 PM.
 
  


Reply



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
Apache2.0.52, t1lib-5.0.2, php-apache2-5.0.2 wizard7423 Slackware 2 04-04-2011 08:09 PM
php5 apache2 mysql4 don't work, php does not seem to read php.ini atom Linux - Software 5 03-24-2005 11:05 AM
AS 3 w/ PHP, MySQL, and Apache2 pollardw Red Hat 1 02-23-2004 08:47 PM
PHP 4.3.4 on Apache2 wenberg Linux - Software 3 02-08-2004 12:03 PM
Apache2 and PhP wolfwolf Linux - Networking 0 03-12-2003 11:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration