<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Change the path in the /etc/suphp.conf to<br>(hope I'm right)<br>/home/solarspeed/php/bin/php-cgi<br><br>Joachim<br>Gesendet mit meinem HTC<br><br><div id="htc_header" style="">----- Reply message -----<br>Von: ""Søren S. Straszek"" <dump_mail@straszek.dk><br>An: "BlueOnyx General Mailing List" <blueonyx@mail.blueonyx.it><br>Betreff: [BlueOnyx:08713] Re: more suphp problems<br>Datum: Mo., Okt. 3, 2011 21:38<br><br></div><br><br><div><div>Den 03/10/2011 kl. 18.30 skrev Charles Bowman:</div><br class="Apple-interchange-newline"><blockquote type="cite">Do a PHPINFO()<div>I think you are running [in suphp] php ver 5.1X.</div><div>That class is only available PHP5.2+<br><br><div class="gmail_quote">On 3 October 2011 17:22, "Søren S. Straszek" <span dir="ltr"><<a href="mailto:dump_mail@straszek.dk">dump_mail@straszek.dk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<br>
<br>
I am having some problems getting suphp to work on my sites. Suphp is running, but when it is the a site with  the ecommerce software from cre-loaded stops working.<br>
<br>
The error log show this:<br>
[Mon Oct 03 18:19:07 2011] [error] [client 92.246.30.157] PHP Fatal error:  Class 'DateTimeZone' not found in /home/.sites/106/site3/web/sandkasse/65/includes/application_top.php on line 102, referer: <a href="http://www.xxx.com/sandkasse/" target="_blank">http://www.xxx.com/sandkasse/</a><br>

<br>
And the php code for this:<br>
date_default_timezone_set(STORE_TIME_ZONE);<br>
$timezone = new DateTimeZone(STORE_TIME_ZONE);<br>
$dateTime = new DateTime("now", $timezone);<br>
$timeOffset = $timezone->getOffset($dateTime);<br>
<br>
<br>
When suphp is disabled everything is working fine.<br>
<br>
Is this a problem with the php-build, or the suphp module?<br>
<br>
Any help i appreciated<br>
<br>
BEst Regards<br>
<br>
Søren<br>
<br>
<br>
_______________________________________________<br>
Blueonyx mailing list<br>
<a href="mailto:Blueonyx@mail.blueonyx.it">Blueonyx@mail.blueonyx.it</a><br>
<a href="http://mail.blueonyx.it/mailman/listinfo/blueonyx" target="_blank">http://mail.blueonyx.it/mailman/listinfo/blueonyx</a><br>
</blockquote></div><br></div>
_______________________________________________<br>Blueonyx mailing list<br><a href="mailto:Blueonyx@mail.blueonyx.it">Blueonyx@mail.blueonyx.it</a><br>http://mail.blueonyx.it/mailman/listinfo/blueonyx<br></blockquote></div><br><div>Hi,</div><div><br></div><div>Found the cause of the problem: When running without suphp php version 5.2.17 is used, when switching suphp on suddenly php version 5.1.6 is used. </div><div><br></div><div>How can i fix this ?</div><div><br></div><div>Regards</div><div><br></div><div>Søren</div><div><br></div></body></html>