Re: php pages in Apache
- From: Darrell Stec <darrell_stec@xxxxxxxxxxxxxxxxxx>
- Date: Mon, 12 Mar 2007 18:23:16 -0400
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
.
- Follow-Ups:
- Re: php pages in Apache
- From: Michael Soibelman
- Re: php pages in Apache
- References:
- php pages in Apache
- From: Michael Soibelman
- php pages in Apache
- Prev by Date: Re: Radeon problem in 10.2
- Next by Date: Re: IM and webcam
- Previous by thread: php pages in Apache
- Next by thread: Re: php pages in Apache
- Index(es):
Relevant Pages
|