Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Problem with PHP configuration in httpd.conf

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  question about multiple logs  
Author Message
user2372

External


Since: Jul 13, 2003
Posts: 3



(Msg. 1) Posted: Sun Jul 13, 2003 8:13 pm
Post subject: Problem with PHP configuration in httpd.conf
Archived from groups: alt>apache>configuration (more info?)

I would like developpe and execute PHP script. So i have
installed apache to interpret PHP. In my httpd.conf file,
i verify the presence of this line :

<IfDefine HAVE_PHP4>
LoadModule php4_module /usr/lib/apache-extramodules/libphp4.so
</IfDefine>

<IfDefine HAVE_PHP4>
#AddModule /usr/src/php-devel/sapi/apache/mod_php4.c
AddModule mod_php4.c
</IfDefine>

AddType application/x-httpd-php .phpInclude conf/addon-modules/php.conf
AddType application/x-httpd-php .php

Include conf/addon-modules/php.conf


So, i think the dynamic PHP module was enabled.
But my PHP script is not interpreted. I don't understand.

My installation : Mandrake 9.1, apache-1.3.27-8mdk,
apache-conf-2.0.44-11mdk,
apache-modules-1.3.27-8mdk,
apache2-common-2.0.45-4.3mdk,
apache-suexec-1.3.27-4mdk,
libphp_common430-430-11mdk,
mod_php-4.3.1-1mdk,
php-ini-4.3.0-1mdk.

Thank for your help.

Benoit.

 >> Stay informed about: Problem with PHP configuration in httpd.conf 
Back to top
Login to vote
mcp

External


Since: Jul 14, 2003
Posts: 14



(Msg. 2) Posted: Mon Jul 14, 2003 8:02 pm
Post subject: Re: Problem with PHP configuration in httpd.conf [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Benoit NOUYRIGAT" <nouyrigat.benoit RemoveThis @wanadoo.fr> skrev i en meddelelse
news:berss6$4ph$1@news-reader6.wanadoo.fr...
 > I would like developpe and execute PHP script. So i have
 > installed apache to interpret PHP. In my httpd.conf file,
 > i verify the presence of this line :
 >
 > <IfDefine HAVE_PHP4>
 > LoadModule php4_module /usr/lib/apache-extramodules/libphp4.so
 > </IfDefine>
You need to ensure that apache is started with '-D HAVE_PHP4', otherwise the
module will not get loaded!


Martin<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Problem with PHP configuration in httpd.conf 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
httpd.conf and virtual hosts, mod_ssl - Need Help plz - Hi - here's my situ: 1 server w/apache/mod_ssl with 3 virtual hosts running behind firewall - 1 ip address. Trying to get one (1) of the virtual hosts to be accessible thru ports 80 and 443. After 20 hours of RTFM, my attempts to connect to https for tha...

more tomcat/apache: mod_jk.conf auto generated? - Hi, I've gotten my hands on the right docs.. I'm continuing to read up, one thing I've done is upgraded 2.0.46 of apache. One thing it says, which I've seen in a few other docs, is that /usr/local/tomcat/conf/auto/mod_jk.conf is autogenerated by tomcat...

cgi problem - Background: 1. Program works on real world paid hosting (linux server). 2. Program works on Windows home testing server.(Omnihttpd) Just Installed Red Hat 8.0 . Created cgi-bin for main site using.. ScriptAlias /cgi-bin/ "/path/to/my/site/" an...

problem with apache - Hi I have installed apache with mysql and php and I have the follow problem: [Fri Jul 11 10:21:31 2003] [alert] httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName [Fri Jul 11 10:21:31 2003] [crit]..

Mod http_proxy problem - Hi all, I include the mod_proxy_http in my Apache configuration file (Apache 2.0.43 on Red Hat Linux 7.3): LoadModule proxy_http_module modules/mod_proxy_http.so and at the restart I got the following message: [root@n3l5wAM2j8avSc modules]# service..
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]