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

Newbie - How to enable PHP support in Apache?

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  404 Error  
Author Message
webmaster61

External


Since: Nov 15, 2003
Posts: 1



(Msg. 1) Posted: Sat Nov 15, 2003 3:35 am
Post subject: Newbie - How to enable PHP support in Apache?
Archived from groups: alt>apache>configuration (more info?)

Greetings,

I'm using SuSE 8.2 Pro, Apache is running but somehow my php pages won't
load in my browser.

I got apache2-mod_php4 and mod_php4 installed.

Do I have to edit a config file somewhere else?

Thanks in advance,

Sergio

 >> Stay informed about: Newbie - How to enable PHP support in Apache? 
Back to top
Login to vote
davideyeahsure

External


Since: Nov 03, 2003
Posts: 2907



(Msg. 2) Posted: Sat Nov 15, 2003 10:03 am
Post subject: Re: Newbie - How to enable PHP support in Apache? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Sergio Espinoza <webmaster.DeleteThis@sergioespinoza.com> wrote:
 > Do I have to edit a config file somewhere else?

Possible. When you said "your php page doesn't get loaded" what that
means? You see the source in the browser or what? If you see the
source you probably have to add some line in your httpd.conf to tell
apache to use php to serve those files. See the php documentation.

Davide<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Newbie - How to enable PHP support in Apache? 
Back to top
Login to vote
coo1

External


Since: Nov 13, 2003
Posts: 11



(Msg. 3) Posted: Sat Nov 15, 2003 11:51 am
Post subject: Re: Newbie - How to enable PHP support in Apache? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Sat, 15 Nov 2003 00:35:04 -0600, Sergio Espinoza wrote:

 > Greetings,
 >
 > I'm using SuSE 8.2 Pro, Apache is running but somehow my php pages won't
 > load in my browser.
 >
 > I got apache2-mod_php4 and mod_php4 installed.
 >
 > Do I have to edit a config file somewhere else?
 >
 > Thanks in advance,
 >
 > Sergio

In my setup, which was produced via a RedHat install where I already from
the installation specified to include php and apache, my httpd.conf has a
line which says to include all *.conf files from my conf.d directory:

Include conf.d/*.conf

In that directory, there is a php.conf file, put there by the installation
of the php package. I never changed this, just left it to be default. But
it includes the directive for loading the php module, and the
directives for handling *.php files:


<Files *.php>
  SetOutputFilter PHP
SetInputFilter PHP
  LimitRequestBody 524288
</Files>

Hope this helps.

/steve<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Newbie - How to enable PHP support in Apache? 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Does Apache support ASP? - Good morning, Am I correct in assuming that Apache does not support ASP and that I'll have to convert any scripts to PHP? - or is there a 'patch' that can be installed to ensure that the server can recognise ASP? I am currently experimenting with both....

Compiling Apache with SSL support on W2K - Hi, I'm trying to compile Apache with SSL s&#118;pport for W2K. Here's what I've done: * downloaded Apache 2.0.47 so&#118;rce code from www.apache.org * downloaded OpenSSL 0.9.7b so&#118;rce code from www.openssl.org * copied the OpenSSL s...

Reinstalling Apache - Newbie - I have installed Mandrake 9 and Apache, and everything was working fine...easy.. Then trying to modify a parameter, I run the "Web Server Wizard" supplied by Mandrake.. nooooo... after that, nothing was working anymore. I have tried to uninsta...

newbie apache problem - I have Mandrake 9.1 with apache2.0 I can see Apache-AdvancedExtranetServer page from my linuxbox either with http://localhost either with http://169.254.1.4 (linuxbox address). If I connect from another PC it freeze the browser and if I press stop..

newbie - apache and perl - Hi, after the installation of apache 2.0 on a Win XP system I have problems to execute pl-scripts. I read the Manual and I think I have done the same things. The version of perl is 5.6.1-635. In the file httpd.conf I have added the following lines: ....
   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 ]