Can only view index.php but no other php files

Discussion in 'General' started by Didcot, Dec 10, 2012.

  1. Didcot

    Didcot New Member

    Not sure if this is the best place to post but I have ispconfig 3 installed so worth a try.

    I got my first site up and running which was "just" a case of setting up ispconfig and then uploading files to my server via ftp.

    The site fired up nicely and once configured all works ok.

    Now the problem is this site benefits from using memcache so I've installed that and it appears to be running but in the admin area of the site it tells me that memcache is not installed.

    I then decided to create a small php file to gather all the php info.

    Like this:-

    // Show all information, defaults to INFO_ALL
    Saved it as test.php in the root of the site the same as index.php.

    But the problem is, when i go to view test.php I get an error 500 but not when I view index.php.

    Could anyone enlighten me to what's going wrong here?
  2. almere

    almere Member HowtoForge Supporter


    Please, check permissions to test.php (chmod and chown). What CMS did you install? What ISPConfig version do you use?
  3. Didcot

    Didcot New Member

    It's ispconfig3 and I'm not using any CMS such as wordpress, it's actually the prosper202 script that I installed it that helps.

    file properties are set to 777.

    Ownership is set to client1 which is me in ispconfig admin area.

    By the way i'm not suggesting this is an ispconfig problem but i was just hoping maybe someone had seen this happen before.
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Please set the ownership of the records to the web[ID] user and client[ID] group of that website, when you upload the files by ftp, the onwership is set correctly. The chmod should be 755 and not 777.

    And you might want to take a look into the error.log file of this website, the reason for the error should be logged there.
  5. Didcot

    Didcot New Member

    That's wierd it just started working. LOL

    Anyway thanks for your help and talking to you seemed to do the trick. You haven't got any connections with the Higher Powers have you?

    Lets say i'd like an Ipad for Christmas can you do the same trick you did for this file issue please? :D

Share This Page