Board index   FAQ   Search  
Register  Login
Board index System Administration Server installation and configuration

Zend Optimizer : Parse Error on Shared Hosting Server

Discuss server installationa nd configuration issues here

Moderators: macek, egami, gesf

Zend Optimizer : Parse Error on Shared Hosting Server

Postby susilosaja » Fri Jun 08, 2012 9:32 pm

Hi,

I have these php api called phpgrid that use Zend Framework. I installed Zend Framework 3.3.3 on my computer on Windows, and everything works fine. These came from phpinfo on Joomla (I'm using Joomla by the way) on my computer :

PHP version 5.2.9-1

Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
with Zend Extension Manager v1.2.0, Copyright (c) 2003-2007, by Zend Technologies
with Zend Optimizer v3.3.3, Copyright (c) 1998-2007, by Zend Technologies

Zend Memory Manager enabled
report_zend_debug On
zend.ze1_compatibility_mode Off

Zend Optimizer
Optimization Pass 1 enabled
Optimization Pass 2 enabled
Optimization Pass 3 enabled
Optimization Pass 4 enabled
Optimization Pass 9 enabled
Zend Loader enabled
License Path no value
Obfuscation level


But on my shared hosting server, when I open a page that use this phpgrid classes, it shows the error on the bottom. The server run on Linux. These are the phpinfo on my server :

PHP 5.2.17 (cli) (built: May 30 2012 22:04:44)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
with the ionCube PHP Loader v4.0.12, Copyright (c) 2002-2011, by ionCube Ltd., and
with Zend Optimizer v3.3.9, Copyright (c) 1998-2009, by Zend Technologies

Zend Extension 220060519
Zend Memory Manager enabled
report_zend_debug On
zend.ze1_compatibility_mode Off



Can someone help me with this?



??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? ??????????????í?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????1??9??0???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????Q????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????­???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????†??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????J???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
Parse error: syntax error, unexpected '?' in /home/coolbana/public_html/administrator/my/phpgrid/include/cls_datagrid.php on line 1
susilosaja
New php-forum User
New php-forum User
 
Posts: 1
Joined: Fri Jun 08, 2012 9:29 pm

Re: Zend Optimizer : Parse Error on Shared Hosting Server

Postby johnj » Wed Jun 20, 2012 9:25 pm

Your local host and shared host are using two different versions of php and two different operating systems. So, what you set on one may not always be correct on another one with a different version of php and OS.

First of all check if php is enabled and working on your shared host.
johnj
php-forum Super User
php-forum Super User
 
Posts: 1805
Joined: Thu Mar 10, 2011 5:07 pm


Return to Server installation and configuration

Who is online

Users browsing this forum: No registered users and 0 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.