LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices

Reply
 
Search this Thread
Old 04-19-2005, 12:31 PM   #1
Jediman
LQ Newbie
 
Registered: May 2004
Posts: 24

Rep: Reputation: 15
pear issue with Apache 2 and PHP


Hi all! My server has Apache 2 installed on it, along with php for it, and pear...now its running on a Mandrake 10.1 distro....I have tried and tried to get everything working with php BUT for some stupid reason its not working...

The error is as follows:
Warning: Unknown(/var/www/html/info.php): failed to open stream: Permission denied in Unknown on line 0

Warning: (null)(): Failed opening '/var/www/html/info.php' for inclusion (include_path='.:/usr/lib/php/:/usr/share/pear/') in Unknown on line 0


I'd like to keep Apache 2 at this point. I dont have much going on as far as production, and since I have most of what I need setup already, and was just trying to finish off getting php going when I came across that error.


Pear was manually installed, and the apache2 and php were done via rpms/ I have attempted to get php.ini going by not allowing the line for the pear path to terminate in /'s . But that of course did not work!

If anyone has the workaround for this to get it going for apache 2 , I would appreciate it!
 
  


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
PHP 4 and Pear on suse 10... jsheffie Suse/Novell 2 03-07-2006 06:40 AM
urpmi and php-pear Huppybanny Linux - Newbie 9 10-19-2005 08:15 AM
PHP & Apache Issue? Plz help! wh33t Programming 1 10-01-2005 05:17 AM
php pear problem craddy Linux - Software 4 11-09-2004 08:25 PM
Trouble with PHP & Pear Gerardoj Programming 0 10-17-2004 03:30 PM


All times are GMT -5. The time now is 05:58 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