To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here
PHPBuilder.com  
 

 

Go Back   PHPBuilder.com > Misc Help > Linux/Unix Help

Linux/Unix Help Help with server-side Linux and Unix issues

Reply
 
Thread Tools Rate Thread Display Modes
Old 10-21-2002, 11:04 PM   #1
bnicolas
Junior Member
 
Join Date: Aug 2002
Posts: 1
PHP install problem, engine not parsing php files

I have attempted to compile and install PHP using the 'Static' method described in the INSTALL file that comes

with php

php configured with:
./configure --with-mysql --with-pgsql --with-apache=/usr/local/apache/apache_1.3.22/

php.ini was copied to:
/usr/local/lib/php.ini

I have the following line un-commented in my httpd.conf file:
AddType application/x-httpd-php .php

apache installed in
/usr/local/apache

apache configured with
./configure --prefix=/usr/local/apache/ --activate-module=src/modules/php4/libphp4.a

Apache was already installed and working with mod perl, I just went into /usr/local/apache/apache_1.3.22

stopped the web server and ran the line above
(and then make & make install of course)

how can I check to make sure the libphp4 module was activated properly and that apache is using it?
I see nothing about a php module when I do a httpd -l, it gives me this
Compiled-in modules:
http_core.c
.
.
.
mod_perl.c
suexec: disabled; invalid wrapper /usr/local/apache/bin/suexec


I have mod-perl working with apache (for scoop site) so I don't want to completely wipe apache and try to

install from scratch using the 'Dynamic' method described in the php INSTAll file

My system:
uname -a = 'Linux my.host.name 2.4.3-20mdk #1 Sun Apr 15 23:03:10 CEST 2001 i686 unknown'
apache version 1.3.22
php version 4.2.3

My problem is that every time I try to make a request for a php page from a browser, the 'Download Dialog' box

appears in explorer and the browser automatically downloads the php file without the server processing the php

code??...


`which php` gives me nothing?
and there is no php binary in /usr/bin/
bnicolas is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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
Forum Jump


All times are GMT -4. The time now is 05:48 PM.






Acceptable Use Policy

internet.comMediabistrojusttechjobs.comGraphics.com

WebMediaBrands Corporate Info


Advertise | Newsletters | Feedback | Submit News

Legal Notices | Licensing | Permissions | Privacy Policy


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.