well what are you tring to access? i have feeling that
there are php errors, by default php supresses
displaying errors. maybe it's trying to connect to a
database backend and failing. or some neccessary
module isn't loaded so it'd fail to run the page.

to test if you've done everything correctly create a
new file, call it test.php with just the following
content:

<?php
phpinfo();
?>

place it in an apache accessible place, /var/www/html
for example, and try to access it. it should display
the php version and the loaded libraries and a zillion
variable. otherwise there's something wrong with the
php installation.

to enable showing php errors is another issue, let's
make sure php is running fine first :-)


--- Al-Faisal El-Dajani <[EMAIL PROTECTED]>
wrote:

> I already had modified the LoadModule and
> DirectoryIndex directives... i
> added to my httpd.conf file:
> AddType application/x-httpd-php .phtml .pwml .php3
> .php4 .php .php2  .inc
> and it did the trick... however, when i restarted my
> server, it showed a
> blank page when i go to localhost/drupal, although
> 15 minutes ago, it worked
> fine... i tried removing the line i added, to see if
> i go back to page
> source as text... it still shows a blank page... i
> restarted the server
> <strong>and</strong> the machine, but it still
> refuses to show anything...
> what is going on??
> this is my first try with apache and php, so bare
> with me a little :)
> 
> On 2/21/06, Aram Yegenian < [EMAIL PROTECTED]>
> wrote:
> >
> > here's my php.conf
> >
> > LoadModule php5_module modules/libphp5.so
> > AddHandler php5-script .php
> > AddType text/html .php
> > DirectoryIndex index.php
> >
> > --- Al-Faisal El-Dajani < [EMAIL PROTECTED]>
> > wrote:
> >
> > > ok, how do i configure apache to support php? i
> > > thought enabling the module
> > > would do it.. what else should i do?
> > >
> > > On 2/21/06, Khair-ed Din Husseini
> > > <[EMAIL PROTECTED]> wrote:
> > > >
> > > >  Probably your apache is not configured
> correctly
> > > to support php
> > > >
> > > >
> > > >  ------------------------------
> > > >
> > > > *From:* [EMAIL PROTECTED]
> > > [mailto: [EMAIL PROTECTED] ] *On Behalf Of
> > > > *Al-Faisal El-Dajani
> > > > *Sent:* Tuesday, February 21, 2006 15:11
> > > > *To:* Jordan PHP User Group Mailing list
> > > > *Subject:* [JoPHP] Drupal problem
> > > >
> > > >
> > > >
> > > > I don't know if this question is related to
> php
> > > but i don't know where
> > > > else to ask. I installed Apache 2.0, MySQL
> 4.1,
> > > PHP 5.1.2, and Drupal 4.6.
> > > > Everything installed fine, but whenever i go
> to
> > > localhost/drupal it shows me
> > > > the source of index.php and it doesn't get
> > > rendered. Does anybody know
> > > > what the problem is?
> > > >
> > > > --
> > > > Al-Faisal El-Dajani
> > > > Tel: +962-7-77 799 781
> > > > URL: http://www.linuxhome.trickip.net
> > > > P.O Box: 140056
> > > > 11814 Amman, Jordan
> > > >
> > > > May the source be with you
> > > >
> > > >
> _______________________________________________
> > > > Jordan PHP Users Group
> > > > http://php.jolug.org/
> > > > Php mailing list
> > > > [email protected]
> > > >
> > >
> http://mail.jolug.org/mailman/listinfo/php_jolug.org
> > > >
> > > >
> > > >
> > >
> > >
> > > --
> > > Al-Faisal El-Dajani
> > > Tel: +962-7-77 799 781
> > > URL: http://www.linuxhome.trickip.net
> > > P.O Box: 140056
> > > 11814 Amman, Jordan
> > >
> > > May the source be with you
> > > >
> _______________________________________________
> > > Jordan PHP Users Group
> > > http://php.jolug.org/
> > > Php mailing list
> > > [email protected]
> > >
> http://mail.jolug.org/mailman/listinfo/php_jolug.org
> > >
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam
> protection around
> > http://mail.yahoo.com
> >
> > _______________________________________________
> > Jordan PHP Users Group
> > http://php.jolug.org/
> > Php mailing list
> > [email protected]
> >
> http://mail.jolug.org/mailman/listinfo/php_jolug.org
> >
> 
> 
> 
> --
> Al-Faisal El-Dajani
> Tel: +962-7-77 799 781
> URL: http://www.linuxhome.trickip.net
> P.O Box: 140056
> 11814 Amman, Jordan
> 
> May the source be with you
> > _______________________________________________
> Jordan PHP Users Group
> http://php.jolug.org/
> Php mailing list
> [email protected]
> http://mail.jolug.org/mailman/listinfo/php_jolug.org
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

_______________________________________________
Jordan PHP Users Group
http://php.jolug.org/
Php mailing list
[email protected]
http://mail.jolug.org/mailman/listinfo/php_jolug.org

Reply via email to