Re: php pages in Apache



After serious contemplation, on or about Monday 12 March 2007 5:47 pm
Michael Soibelman perhaps from nowhere-there@xxxxxxxx wrote:

When I try to view a php page in /srv/www/htdocs I get a blank page.
Not an
error message. What could cause this ?? How to fix
it ?? /etc/apache2/conf.d/php5.conf looks o.k.
However, /etc/apache2/mime.types lists application/x-php php php3 php4
but
NOT php5. Is this where I should edit ??

Yes I set up Apache to run php5 module. Though it doesn't seem to be.

In the Apache server setup do you have the php5 module loaded?
YAST2 --> System --> /etc/sysconfig --> Network --> WWW -->
APACHE_MODULES. In the first field there should be a list of modules
including userdir and php5 also php. Is the apache2 server running?
In /etc/apache2 do you have a file called http.conf.local (not
http.local.conf) and does it have the line:
Include /etc/apache/mod_php.conf

If not create the file and then restart the apache2 server with:
rcapache2 restart.

Having just gone through the process of getting my webpages to display
while in /public_html (one directory for each website I develop using
Bluefish and the External Browser option I've had lots and lots of
experience in the last couple of weeks trying to get php5 to work on my
computer.

If those don't work we will proceed further.


--
Later,
Darrell Stec darstec@xxxxxxxxxx

Webpage Sorcery
http://webpagesorcery.com
We Put the Magic in Your Webpages
.



Relevant Pages

  • Re: php pages in Apache
    ... Yes I set up Apache to run php5 module. ... In the Apache server setup do you have the php5 module loaded? ... If not create the file and then restart the apache2 server with: ...
    (alt.os.linux.suse)
  • Re: apache 2.2.21 - back to 2.2.20 ?
    ... Since them, several webpages give problems ... i think work with php 4 and now you have php5 ...
    (freebsd-questions)
  • Re: php5 module is not created
    ... David Banning wrote: ... The main php5 port does not seem to ... Without the php5 module, ...
    (freebsd-questions)
  • Re: php5 module is not created
    ... David Banning wrote: ... The main php5 port does not seem to ... Without the php5 module, how does what get php5 to work with apache13? ...
    (freebsd-questions)
  • Re: php5 module is not created
    ... The main php5 port does not seem to ... Without the php5 module, ... the first install try. ...
    (freebsd-questions)