Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 10th December 2012, 12:24
Didcot Didcot is offline
Junior Member
 
Join Date: Dec 2012
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default Can only view index.php but no other php files

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:-

Code:
<?php

// Show all information, defaults to INFO_ALL
phpinfo();

?>
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?
Reply With Quote
Sponsored Links
  #2  
Old 10th December 2012, 14:26
almere almere is offline
ISPConfig Developer
 
Join Date: Nov 2012
Location: Netherlands, Rotterdam
Posts: 231
Thanks: 20
Thanked 39 Times in 34 Posts
Send a message via Skype™ to almere
Default

Hi,

Please, check permissions to test.php (chmod and chown). What CMS did you install? What ISPConfig version do you use?
Reply With Quote
  #3  
Old 10th December 2012, 15:15
Didcot Didcot is offline
Junior Member
 
Join Date: Dec 2012
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.
Reply With Quote
  #4  
Old 10th December 2012, 15:28
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,421
Thanks: 812
Thanked 5,205 Times in 4,081 Posts
Default

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.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 10th December 2012, 16:00
Didcot Didcot is offline
Junior Member
 
Join Date: Dec 2012
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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?
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ubuntu and nginx delgado2061 Installation/Configuration 0 27th November 2011 23:36
Multiserver setup: repquota command not found. CSsab Installation/Configuration 2 27th January 2011 15:11
coexistence of php4 and php5 on ISPC3 AceLine Tips/Tricks/Mods 5 5th November 2010 14:56
libWand.so.10 error Taxick Installation/Configuration 8 3rd May 2009 01:27
network issues now it says "401 The web site is blocked by administrator" Check General 3 26th February 2008 14:22


All times are GMT +2. The time now is 04:30.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.