Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Nov 2008
    Posts
    1

    Default No PHP in Subdomains / Addon-Domains

    Hi out there!

    My server is running CentOS 5.3 with Apache 2.2 and PHP 5.2.10 with suPHP on and Suexec on!

    My problem is, PHP is working for each "main domain" like www.blabla.com etc.. but when i add a subdomain or a addon-domain, in this new domain PHP is not working (z.b. something.blabla.com/phpinfo.php) when i then open this page, a file download dialog appears. On myself it makes the view that something with the php handler is not correctly configured for sub/addon-domains.

    does anyone else have this problem or even better has a solution?

    kindest regards
    yves

  2. #2
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by yves.menge View Post
    Hi out there!

    My server is running CentOS 5.3 with Apache 2.2 and PHP 5.2.10 with suPHP on and Suexec on!

    My problem is, PHP is working for each "main domain" like www.blabla.com etc.. but when i add a subdomain or a addon-domain, in this new domain PHP is not working (z.b. something.blabla.com/phpinfo.php) when i then open this page, a file download dialog appears. On myself it makes the view that something with the php handler is not correctly configured for sub/addon-domains.

    does anyone else have this problem or even better has a solution?

    kindest regards
    yves
    Sounds like an issue of a conflicting .htaccess file. Be sure to check your paths for .htaccess files that could be causing PHP to behave in this way.

Similar Threads & Tags
Similar threads

  1. Addon domains without using subdomains
    By erlendm in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 01-18-2005, 11:55 PM
  2. Subdomains with addon domains...
    By REDtoLINE in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-29-2004, 01:55 PM
  3. subdomains on addon domains...
    By Devil Inside in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 02-08-2004, 01:57 PM
  4. Subdomains for addon domains
    By kaszpir in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 01-14-2004, 11:59 AM
  5. subdomains for addon domains
    By rich2 in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 10-15-2002, 12:52 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube