php not loading

Discussion in 'Server Operation' started by scouture, May 21, 2007.

  1. scouture

    scouture New Member

    i just installed httpd, php5, mysql and all the dependencies needed with yum on fc6. my php.conf loads up the correct module and httpd.conf points to conf.d where php.ini is located. however, php pages don't get handled on the server side (i see the code). what could cause this problem? is there a log somewhere that could tell me if the php module is being properly loaded?

  2. falko

    falko Super Moderator ISPConfig Developer

    What's in /etc/httpd/conf.d/php.conf?
  3. scouture

    scouture New Member

    LoadModule php5_module modules/
    AddHandler php5-script .php
    AddType text/html .php
    DirectoryIndex index.php
  4. scouture

    scouture New Member

    ok nevermind, i guess it is working (i just did a phpinfo() from my root dir) but here is the problem im facing.
    I installed phpmyadmin (again with yum) and when I goto localhost/phpMyAdmin/ I see the php code. infact any page i go in in that directory shows me the php code. could it be that that dir is not configured to handle php. i know its not in my /var/www/html/ dir so could that be the problem??
  5. scouture

    scouture New Member

    Never mind.. I'm not sure what i did but it works now. thanks

Share This Page