Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This 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.


  Search this Thread
Old 02-07-2004, 05:33 PM   #1
Registered: Jan 2004
Location: Minnesota, USA
Distribution: Slackware 10, Debian Sarge
Posts: 91

Rep: Reputation: 15
PHP 4.3.4 on Apache2

I've just installed PHP4 on Apache2. Apache2 seems to be working fine, but every time I try to run a PHP script, I get a forbidden error. HTML files are fine. I've already done LoadModule and AddType in httpd.conf. What could I do to remedy this?
Old 02-08-2004, 09:37 AM   #2
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Are the file permssions on the files ok?
ls -la /path/to/script/
Old 02-08-2004, 10:22 AM   #3
Registered: Mar 2003
Location: Macondo
Distribution: Mandrake 9.1, 10.1, SuSE 8.1 pro, 10.1, Red Hat 8.0/9.0
Posts: 380

Rep: Reputation: 30
What are the apache error logs saying?
Old 02-08-2004, 01:03 PM   #4
Registered: Jan 2004
Location: Minnesota, USA
Distribution: Slackware 10, Debian Sarge
Posts: 91

Original Poster
Rep: Reputation: 15
The permissions are fine. The apache error log doesn't seem to say anything. I've switched back Apache 1.3.29 and an older version of PHP since I really needed it to be running for now. I might play around with Apache2 sometime ni the future.


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

All times are GMT -5. The time now is 10:50 AM.

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