I had a test system running on a 32bit OS, but ever since moving to the 64bit system i'm having lots of issues. This is on CENTOS 6.2 and again i'm a linux and ZM noob here.
I am getting a Http 500 Internal Server Error when i go to http : //{ip}/zm - if i go to just http : //{ip} i get the apache landing page, so i don't think its apache.
I went into the apache logs and found this: unexpected $end in /var/www/html/zm/includes/functions.php on line 2437
I did a bit of Googling and searching this forum and i found something about chaing the Short_open_Tags in the php.ini file to "On" which i did (i think):
; short_open_tag
; Default Value: On
; Development Value: On
; Production Value: On
Any other ideas? or did i do the above wrong? I also tried removing the ';' before each and that didn't help.
Also restarted httpd after every change attempt.
HTTP 500 Internal Server Error
Re: HTTP 500 Internal Server Error
There's at least 2 short tag values in php.ini. The one you're interested in is the second one; down around line 229? Anyway have another look.
-
- Posts: 13
- Joined: Mon Aug 15, 2011 10:26 pm
Re: HTTP 500 Internal Server Error
I was having the same error. I change this line in my /etc/php/php.ini
to this:
Be sure to remove the ";" from the beginning of the line as lines starting with ";" are treated as Comments in /etc/php/php.ini and are ignored.
After that I restarted the Apache daemon and all was well.
Hope that helps.
Code: Select all
short_open_tag = Off
Code: Select all
short_open_tag = On
After that I restarted the Apache daemon and all was well.
Hope that helps.
-
- Posts: 13
- Joined: Mon Aug 15, 2011 10:26 pm
Re: HTTP 500 Internal Server Error
hey Karlwyatt, it just occured to me that an easy way to confirm if your have short_open_tag set to on is to create a page to display php settings. You can do that by making a php doc that contains just the the following line:
Just name it whatever.. for example name it "info.php" and after you add that line browse to it: http://your_ip_address/info.php
It should show all of the PHP details. Search the page for short_open_tag set and it should say if it's on or off.
Code: Select all
<?php phpinfo(); ?>
It should show all of the PHP details. Search the page for short_open_tag set and it should say if it's on or off.
Re: HTTP 500 Internal Server Error
You guys were right, there were two places that contained short_open_tag, i found the other and it works great now.
Thanks
Thanks