ispCP - Board - Support
PHP Problem - Debian Lenny x64 - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: PHP Problem - Debian Lenny x64 (/thread-12127.html)



PHP Problem - Debian Lenny x64 - alex_bueno - 11-13-2010 07:54 AM

Hi guys!

Just installed ISPCP 1.0.7RC2 in a fresh instalation of Debian Lenny x64. No errors during install process.

Panel works fine! Created reseller acount, created hosting plans (with PHP and CGI support) and finnaly created first new user!

I'm migrating my users from an old server (running 1.0.5). Did it manually, downloaded and upload files via FTP, created all databases and then... didn't work!

I really don't know why, but looks like apache isn't handling .php files. Show all php codes and html codes (that browser try to show a little bit of the page).

Could anyone help me please?


RE: PHP Problem - Debian Lenny x64 - MasterTH - 11-14-2010 05:45 AM

looks like the fcgi isnt active. Take a look if fcigd is enabled in the apache configuration.

otherwise its actually better to install the trunk version. rc2 is really buggy


RE: PHP Problem - Debian Lenny x64 - alex_bueno - 11-14-2010 11:32 AM

Looks like it's enabled!

I'll try 1.0.6! Didn't know it is too buggy!

Thanks!


RE: PHP Problem - Debian Lenny x64 - kilburn - 11-15-2010 10:23 PM

Just for the record, I bet you forgot to "enable php" on the domain's setup page Tongue I mean... php is installed and working correctly because otherwise you wouldn't be able to use the panel. Hence, there is a problem at the domain level. You could also take a look at the php directives within the corresponding virtualhost and see what's wrong in there.


RE: PHP Problem - Debian Lenny x64 - alex_bueno - 11-16-2010 07:48 AM

(11-15-2010 10:23 PM)kilburn Wrote:  Just for the record, I bet you forgot to "enable php" on the domain's setup page Tongue I mean... php is installed and working correctly because otherwise you wouldn't be able to use the panel. Hence, there is a problem at the domain level. You could also take a look at the php directives within the corresponding virtualhost and see what's wrong in there.

PHP is enbled! I'm not so stupid! Wink


RE: PHP Problem - Debian Lenny x64 - MasterTH - 11-16-2010 03:52 PM

why so aggressive?


RE: PHP Problem - Debian Lenny x64 - Kika - 11-17-2010 03:37 AM

You must edit the /etc/ispcp/fcgi/parts/php5/php.ini:

short_open_tag = On

after this change you must regenerate the config files: http://isp-control.net/documentation/howto:ispcp:regenerate_config