PHP scripts don't work, please help.

Discussion in 'Installation/Configuration' started by CombatGod, May 6, 2006.

  1. CombatGod

    CombatGod New Member

    So I checked PHP Scripts and I still can't get PHP to work.

    I installed ISPConfig on Ubuntu with no errors.

    I have the following running:
    Shell Access, CGI Scripts, Standard SCGIs, PHP Scripts, PHP Safe Mode (tried it on and off), FTP Access, MySQL.

    Is there any way I can check if PHP programs are running? Everything seems ok but it doesn't run PHP. You can take a look yourself:

    All it does is show file as text :(
  2. FryShadow

    FryShadow New Member

    that's mean your php not realy installed.
    is your apache have set to load the php module ?
  3. CombatGod

    CombatGod New Member

    I know Apache is all set up.

    Whether or not it is loading the PHP module I do not know. How can I check?
  4. falko

    falko Super Moderator Howtoforge Staff

    Why do you use ? Shouldn't you use instead?

    PHP is disabled globally on the server, and when you use you use the server's default page in which PHP is disabled. According to what you posted PHP is enabled for your virtual host so if you just use instead it should work.
  5. CombatGod

    CombatGod New Member

    Try it doesn't work.

    I use dynamic DNS for the server. So I'm not sure if I can even make a DNS address create a DNS entry for I have tried and I can't get it to work. I have to register with a DNS server and forward the domain.

    Unless I am doing something wrong.
  6. falko

    falko Super Moderator Howtoforge Staff

    ISPConfig uses name-based vhosts, so you must use to access that web site and nothing else. Please point the DNS record to your public IP address - don't use forwards, that doesn't work.
  7. CombatGod

    CombatGod New Member

    What IP address should I use if I use a Dymanic DNS service?

    I guess I'm confused as to what I should do using a Dynamic DNS service.

    What I have been doing is accessing the server through my dynamicly assigned address then using a DNS service and forward all my domains.

    So what I do is for example I want I set up the website then set up the DNS to point to

    I do not know any other way of doing this using Dynamic DNS.

    If I am missing something please let me know.
    Last edited: May 8, 2006
  8. falko

    falko Super Moderator Howtoforge Staff

    You must let your domain point to your public IP address. Unfortunately, it's a dynamic one, but I think that has solutions for this. Just check out their web site.
  9. CombatGod

    CombatGod New Member

    I checked and all they can do is assign an address to a dynamic IP. That's is :(
  10. falko

    falko Super Moderator Howtoforge Staff

    Last edited: May 11, 2006

Share This Page