FYI: PHP 5.3 now required for all of my modules.
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
- Location: Fernie British Columbia, Canada
FYI: PHP 5.3 now required for all of my modules.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
UPDATE
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
All of my modules will now require PHP 5.4!
Read http://forum.cmsmadesimple.org/viewtopi ... =7&t=71719
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Some of you may have noticed that the series of modules that were released on Sunday now require PHP 5.3.
This is because: PHP 5.2 reached its end of life over 2 years ago. PHP 5.3 has been around since 2009, and PHP 5.4 is already available and maturing, Also, there are numerous features of PHP 5.3 that I want to use in my modules.
Unfortunately, ModuleManager does not test for php versions, or other system requirements, only the basic module dependencies and CMSMS versions. So people upgrading blindly may have difficulties.
If your website is not running PHP 5.3.5 or greater, I suggest you contact your host and find a way to get a newer version of PHP as soon as possible.
Thanks for your time.
UPDATE
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
All of my modules will now require PHP 5.4!
Read http://forum.cmsmadesimple.org/viewtopi ... =7&t=71719
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Some of you may have noticed that the series of modules that were released on Sunday now require PHP 5.3.
This is because: PHP 5.2 reached its end of life over 2 years ago. PHP 5.3 has been around since 2009, and PHP 5.4 is already available and maturing, Also, there are numerous features of PHP 5.3 that I want to use in my modules.
Unfortunately, ModuleManager does not test for php versions, or other system requirements, only the basic module dependencies and CMSMS versions. So people upgrading blindly may have difficulties.
If your website is not running PHP 5.3.5 or greater, I suggest you contact your host and find a way to get a newer version of PHP as soon as possible.
Thanks for your time.
Last edited by Rolf on Wed Apr 08, 2015 10:59 am, edited 1 time in total.
Reason: Added 5.4 update
Reason: Added 5.4 update
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: FYI: PHP 5.3 now required for all of my modules.
I just snapped to something. When I was having those weird problems with my CMSMS client testbed site with CMSMS dropping everything ahead of the <head> tag, I didn't know what to make of it. Now that I am installing the site on the client's server (yes, it's finally going live!), I see that his server is still using PHP5.2.9 -- which is weird because he has Arvixe hosting, which is supposed to be very friendly to CMSMS -- and his Product pages (using CGeCommerce) are exhibiting that exact same behavior. And I just checked and my testbed server (where I was having the problems) is also running PHP5.2; and I moved it to another server which is running PHP5.3 and the problem disappeared. I put in a request to Arvixe to upgrade their servers to PHP5.3, especially if they are going to tout themselves as being CMSMS friendly hosts. 

Submit your site to the We Love CMSMS showcase
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
- Location: Fernie British Columbia, Canada
Re: FYI: PHP 5.3 now required for all of my modules.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: FYI: PHP 5.3 now required for all of my modules.
Well, that didn't work. It's throwing out 500 Internal Server Errors now. 

Submit your site to the We Love CMSMS showcase
Re: FYI: PHP 5.3 now required for all of my modules.
I have in the .htaccess file in /public_html/:
Code: Select all
AddHandler application/x-httpd-php53 .php
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: FYI: PHP 5.3 now required for all of my modules.
Yes, that is what I had. Threw out the 500 internal server error so I took it out. There are other issues with the live server causing some modules to fail (no GS libraries, no CURL); hope to have fixed today. 

Submit your site to the We Love CMSMS showcase
Re: FYI: PHP 5.3 now required for all of my modules.
We have PHP 5.3.x and I am now getting THIS error when I tried to upgrade Products, CGExtensions and CGSimple Smarty (Products was the only one of the three that seemed to be successful):
Any ideas what's up now? I really would love to get this darn site operative.Warning: file_get_contents(__DIR__/help.inc) [function.file-get-contents]: failed to open stream: No such file or directory in /home/@@@@@/public_html/modules/CGExtensions/CGExtensions.module.php on line 260
Submit your site to the We Love CMSMS showcase
- fearmydesign
- Power Poster
- Posts: 363
- Joined: Sun Feb 28, 2010 10:54 pm
Re: FYI: PHP 5.3 now required for all of my modules.
So I had my host provider upgrade all 4 VPSs to PHP 5.4.13
Now I am getting 500 Internal Server Errors on many sites... :-/
I tried adding the line of code provided here to my htaccess but didn't work
What's weird is that I am able to log into the backend: www.artelye.com/admin or www.marylandgranite.com/admin
seems to be working fine... but why are the main pages not showing when I go to these domains..! (btw I have several sites down like this).
Any suggestions I can try? I am with tech support on the line already, but trying to figure this out. Thank you
Now I am getting 500 Internal Server Errors on many sites... :-/
I tried adding the line of code provided here to my htaccess but didn't work
Code: Select all
AddHandler application/x-httpd-php53 .php
seems to be working fine... but why are the main pages not showing when I go to these domains..! (btw I have several sites down like this).
Any suggestions I can try? I am with tech support on the line already, but trying to figure this out. Thank you
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
- Location: Fernie British Columbia, Canada
Re: FYI: PHP 5.3 now required for all of my modules.
Means that there is an error someplace. Look at your logsNow I am getting 500 Internal Server Errors on many sites... :-/
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: FYI: PHP 5.3 now required for all of my modules.
Be sure you clear your caches out; if you cannot access the backend via the CMSMS Dashboard, go to the /tmp/ directory and clear the templates and cache folders out. I had forgotten that little tip until Goran pointed it out to me. And the long and short was that someone (we suspect Client) mucked around in cPanel and switched the site back from 5.3.x to 5.2.x. So don't overlook a chance that they might have done something, if they have dashboard and cpanel access. 

Submit your site to the We Love CMSMS showcase
Re: FYI: PHP 5.3 now required for all of my modules.
Be sure you clear your caches out; if you cannot access the backend via the CMSMS Dashboard, go to the /tmp/ directory (via FTP or the cPanel File Manager) and clear the templates and cache folders out. I had forgotten that little tip until Goran pointed it out to me. And the long and short was that someone (we suspect Client) mucked around in cPanel and switched the site back from 5.3.x to 5.2.x. So don't overlook a chance that they might have done something, if they have dashboard and cpanel access. 

Submit your site to the We Love CMSMS showcase
- fearmydesign
- Power Poster
- Posts: 363
- Joined: Sun Feb 28, 2010 10:54 pm
Re: FYI: PHP 5.3 now required for all of my modules.
Yes, and I am trying to fix it. I have looked at the logs but not sure I understand what this measn for example:calguy1000 wrote:Means that there is an error someplace. Look at your logsNow I am getting 500 Internal Server Errors on many sites... :-/
Code: Select all
[Thu Apr 11 12:14:56 2013] [error] [client 70.34.92.174] PHP Deprecated: Comments starting with '#' are deprecated in /home/artelye/public_html/php.ini on line 1129 in Unknown on line 0, referer: http://www.artelye.com/index_main.html
- fearmydesign
- Power Poster
- Posts: 363
- Joined: Sun Feb 28, 2010 10:54 pm
Re: FYI: PHP 5.3 now required for all of my modules.
Yes, and I am trying to fix it. I have looked at the logs but not sure I understand what this measn for example:calguy1000 wrote:Means that there is an error someplace. Look at your logsNow I am getting 500 Internal Server Errors on many sites... :-/
Code: Select all
[Thu Apr 11 12:14:56 2013] [error] [client 70.34.92.174] PHP Deprecated: Comments starting with '#' are deprecated in /home/artelye/public_html/php.ini on line 1129 in Unknown on line 0, referer: http://www.artelye.com/index_main.html
Re: FYI: PHP 5.3 now required for all of my modules.
Sorry for the double post; I ironically got a 500 internal server error when I submitted this.
It is my understanding that the shebang (#) is deprecated only in php.ini files, so use // instead.

It is my understanding that the shebang (#) is deprecated only in php.ini files, so use // instead.
Submit your site to the We Love CMSMS showcase
- fearmydesign
- Power Poster
- Posts: 363
- Joined: Sun Feb 28, 2010 10:54 pm
Re: FYI: PHP 5.3 now required for all of my modules.
I had this same problem...pixelita wrote:Sorry for the double post; I ironically got a 500 internal server error when I submitted this.![]()
It is my understanding that the shebang (#) is deprecated only in php.ini files, so use // instead.