problem with 500 error on php pages of virtual host - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Support Area (/forum-30.html) +--- Forum: Update/Upgrade (/forum-44.html) +--- Thread: problem with 500 error on php pages of virtual host (/thread-16536.html) |
problem with 500 error on php pages of virtual host - cyril-c - 05-05-2013 11:43 AM I was installing linuxmint nadia ubuntu kernel after having doing the test on kde version is geniale, but I had concerns that the 500 error page in php (the html page on) I thought it was Were can be due to the kde version I was in linuxmint 12, I heberger my small site with ispCP omega-, php work, but since I was installing linuxmint nadia without going through an update (I'm my backups from external hard drive to my site), so my problem is that all my php site displays error 500 internal server error, however ispCP is Consus in php and all works, but I spend on the virtual host , well I is no website online and has a sacred problem, only the website in html walking vurtual host and not the php site: '( someone would have a solution please? RE: problem with 500 error on php pages of virtual host - joximu - 05-06-2013 10:32 AM Hi Cyril your post is very confusing... So you had linuxmint 12 and then installed linuxmint 14 (nadia) - without update...???? What dows this exactly mean? It seams that there are permission problems that throw the 500 error. So you should see more about the problms in the log files. Should be solvable - but it might be a big effort - depending on what you did ... :-/ /Joxi RE: problem with 500 error on php pages of virtual host - cyril-c - 05-07-2013 10:01 AM Hello and thank you joximus the problem is not the distribution linuxmint, is encoded on ubuntu, the problem is that the installation of ispCP Omega, I was up with the only choice so lucid package for ubuntu which is the current kernel that is quantal package (linux mint nadia is quantal code on ubuntu), I think the version of apache and php are old can be? I do not know how you explain it, I glue the error log that I was so below, I hope its pouras help you in any case thank you in advance for your help <b>Fatal error</b>: Directive 'allow_call_time_pass_reference' is no longer available in PHP in <b>Unknown</b> on line <b>0</b><br /> [Tue May 07 01:50:20 2013] [warn] [client 195.**.***.**.***] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server [Tue May 07 01:50:20 2013] [error] [client 195.**.***.**.***] Premature end of script headers: index.php RE: problem with 500 error on php pages of virtual host - joximu - 05-07-2013 09:52 PM Hi Cyril Here we have: *** <b>Fatal error</b>: Directive 'allow_call_time_pass_reference' is no longer available in PHP in <b>Unknown</b> on line <b>0</b><br /> *** it looks like this is a php-config directive which is no more supported with your new php version. ispcp ist - now - very old and does not support the newer php versions out of the box. You can try the following: change the php.ini in /var/www/fcgi/<domain>/php5/php.ini and also for domain = "master" which is the panel itself. Start with /var/www/fcgi/master/php5/php.ini In the php.ini you search for "allow_call_time_pass_reference" and comment the whole line. Then try again to load your ispcp-panel. If there are more fatal errors (with "in Unknown" line "0") - then theres a good chance that there are more configuration directives that are no more supported with your php. I assume you had php 5.2 or php 5.3 and now you have php 5.4 Read at least http://ch2.php.net/manual/en/migration54.incompatible.php If you found all the problems - also change the other php.ini and then you can change also the template so that new domains also hav a compatible php.ini: /etc/ispcp/fcgi/parts/php5/php.ini Hope this helps /Joxi RE: problem with 500 error on php pages of virtual host - cyril-c - 05-12-2013 11:35 AM hello joximu I is modified and Comenter line to / var / www / fcgi / <domain> / php5/php.ini and the master also I is Pabel of amistration, was at the virtualhost that his work not php page, the page html I is I know what to think :/ I was reinstall linux and reinstall ispCP Omega, lol I was mare of RE: problem with 500 error on php pages of virtual host - joximu - 05-13-2013 08:23 PM Hi Cyril so.. is the problem solved or not? I have problems understanding your last post... /Joxi RE: problem with 500 error on php pages of virtual host - cyril-c - 05-22-2013 09:53 PM hi joximu I took you to apologize to the response time of your last post, is involuntary, so I solved by taking the php.ini file in / etc/php5/apache2/php.ini and replace the one in /var/www/fcgi/master/php5/php.ini and the same thing for virtual domains. So problem resolved, thank you for your help and I hope you will agree that this solution and it works. By cons I is another concern with awstats, I is error 400 (not found) in the apache log it says that misses the awstats file in /var/www/ispCP/gui/awstats after verification I contaste the same thing it is not there yet it yas conf file field present in / etc / awstats, can you help me with this joximu? thank you in advance cyril-c RE: problem with 500 error on php pages of virtual host - joximu - 05-23-2013 08:41 AM Hi php.ini: I assume you did change some settings in the several php.ini files (tmp path for example) - but this should work... For new domains: change the php.ini template in /etc/ispcp/fcgi/parts/php5/php.ini awstats: there is no /var/www/ispcp/gui/awstats ... the awstats support consists of several setings: in the apache ispcp.conf: Quote: # httpd awstats support BEGIN. and /etc/apache2/sites-enabled/01_awstats.conf at least this should be sufficient for the web-part of awstats... (of course there are conf files for every domain in /etc/awstats...) /J RE: problem with 500 error on php pages of virtual host - cyril-c - 05-29-2013 12:11 AM hi can you tell me if that is in / var / www / ispCP / gui / stats of the errors after he told a log file per domain so I was after creating the stats file for each domain, and put awstats_domaine file. tld.conf the field, but is not aparament this is awastats.tpl can be the missing file? to generate the stats page? which are in / usr / lib / cgi-bin / awstats.pl? I was testing the generation of stats with sudo / usr / lib / cgi-bin / awstats.pl-update-config = ma_machine.mon_domaine.mon_pays and running, so where does the error is in which is located in / var/www/ispcp/gui/stats/domaine1 / etc ... It yas a folder in / var / www / awstats is empty cd is normal? here is soon to thank you in advance RE: problem with 500 error on php pages of virtual host - joximu - 05-29-2013 08:19 PM /var/www/awstats/ - is empty. /var/www/ispcp/gui/stats - does not exist! the awstats config files (for every/all domains) are in /etc/awstats the cron job Code: # AWStats Maybe you need the correct setting in ispcp.conf: AWSTATS_ACTIVE = yes AWSTATS_MODE = 0 btw. there are also some path settings and maybe your paths are different to mine (debian 5). Hope this helps... /J btw. what's your native language...? |