No php

Discussion in 'Installation/Configuration' started by bswinnerton, Aug 18, 2007.

  1. bswinnerton

    bswinnerton New Member

    Hi there,

    I'm setting this up on a new server and I am following the guide for ubuntu feisty setup.

    But for some reason when i try to access phpmyadmin (this is before i set up ispconfig) i can't actually read a .php file from any browser, all that i see is the actual code.

    I am sure that i installed all of the necessary php files, what could i be doing wrong?
     
  2. daveb

    daveb Member

    on page 6 section 15.1 of the perfect setup Ubuntu Feisty Fawn guide you disable php so ispconfig could configure PHP on a per-website basis once installed.
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    Install the ISPConfig phpmyadmin pacakge. You can not use the package that you installed before with ISPConfig.
     
  4. bswinnerton

    bswinnerton New Member

    I understand that, i did disable php for each site, and i used the package straight from the ispconfig website. I just installed it before i installed ispconfig so that i could manipulate the databases.

    Whats going on?
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    Please install the phpmyadmib package for ISPConfig as I posted above, you will find it on the ISPConfig downloads page.

    You could not have installed the phpmyadmin package from ispconfog before you had installed ISPConfig, as the pacake is a ispconfig specific installer.
     
  6. bswinnerton

    bswinnerton New Member

    I just decided to re-install ubuntu, but correct me if i'm wrong, ispconfig is in php so i wouldn't of been able to see it anyway.
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    You mix up the webserver that runs your websites and the ISPconfig webserver for the controlpanel. ISPConfig has its own webserver and PHP interpreter, so it runs even if PHP is not installed on your server.

    And I really dont know why you want to reinstall Ubuntu, verything on your server runs fine and as expected. You just did not install the ISPConfig phpmyadmin pacakfe as I suggested twice in this thread.
     
  8. bswinnerton

    bswinnerton New Member

    I apoligize for not listening to you, the reason i re-installed was a few packages failed during the installation of ubuntu, so I wanted to start from new. I will now know what do and thank you Till.
     
  9. bswinnerton

    bswinnerton New Member

    I seem to be having this problem again. PHP is enabled on the site, however i cannot view php pages outside of ispconfig (E.G. phpmyadmin which was installed through the upgrade manager)

    How can I fix this?
     
  10. falko

    falko Super Moderator ISPConfig Developer

    The phpMyAdmin that comes with your distribution is installed in a document root outside of ISPConfig where PHP is disabled. Please use the phpMyAdmin package of ISPConfig.
     
  11. bswinnerton

    bswinnerton New Member

    So, how can I enable PHP? The only way that I have successfully done it is to undo the disable php part on the how-to. The check-box in ISPConfig didn't work.

    Thanks!
     
  12. falko

    falko Super Moderator ISPConfig Developer

    That's right. Therefore I recommend to use ISPConfig's PHP package.
     
  13. bswinnerton

    bswinnerton New Member

    I'm sorry if I seem difficult,

    I can't seem to find the PHP package on the ISPConfig downloads. I have phpmyadmin already installed on the computer through the ISPConfig download. But as for PHP it doesn't work unless I Undo what i did in the how-to
     
  14. falko

    falko Super Moderator ISPConfig Developer

    Then you can find phpMyAdmin under Tools in ISPConfig.
     
  15. bswinnerton

    bswinnerton New Member

    That I am aware of.

    The problem that I am having is that PHP will not show up (besides in code) unless i uncomment
    Code:
    [...]
    #application/x-httpd-php                                phtml pht php
    #application/x-httpd-php-source                 phps
    #application/x-httpd-php3                       php3
    #application/x-httpd-php3-preprocessed          php3p
    #application/x-httpd-php4                       php4
    [...]
     
  16. falko

    falko Super Moderator ISPConfig Developer

    Do you mean on web sites you created with ISPConfig?
     
  17. bswinnerton

    bswinnerton New Member

    Yes, thats correct.
     
  18. falko

    falko Super Moderator ISPConfig Developer

    What's in Vhosts_ispconfig.conf and in Apache's error log?
     

Share This Page