473,324 Members | 2,214 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

PHP or ZEND bug or what ???

Hello,

I have made an application that needs to upload files,
the application is deployed in several folders, and
each folder has its php files.

The problem is, I have in the folder I want to upload
the php files that do the job and a php.ini file to change
limits.

The file php.ini has:

----------------------------------------
upload_max_filesize = 10M
post_max_size = 10M
memory_limit = 16M
upload_tmp_dir = /tmp
max_execution_time = 5000
----------------------------------------

The .php files need to be Zend Encoded, so I dunno why
but it says Zend Optimizer Error, the standard message
that means Zend not installed.

I tried and modified the php.ini file to this:

----------------------------------------
upload_max_filesize = 10M
post_max_size = 10M
memory_limit = 16M
upload_tmp_dir = /tmp
max_execution_time = 5000

[Zend]
zend_extension = /usr/local/ioncube/ioncube_loader_lin_4.4.so
zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-2_6_2
zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-2_6_2
zend_optimizer.version=2.6.2
zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so
----------------------------------------

And then Zend worked.

Now you wonder why I post this question then ?

Because my project needs to be released to public, and statically
loading Zend won't work, because not all customers will have same paths,
same OS, same php version, same Zend version.

And what about updates, when new Zend comes out all screw...

Please help me what I can use alternatively to make the 5 directives work,
(
upload_max_filesize = 10M
post_max_size = 10M
memory_limit = 16M
upload_tmp_dir = /tmp
max_execution_time = 5000
)
or ideas how to fix the issue...
Mar 15 '06 #1
1 2129
anyone can help please ???
"Xristos Nikolopoulos" <ch*******@freemail.gr> wrote in message
news:dv**********@volcano1.grnet.gr...
Hello,

I have made an application that needs to upload files,
the application is deployed in several folders, and
each folder has its php files.

The problem is, I have in the folder I want to upload
the php files that do the job and a php.ini file to change
limits.

The file php.ini has:

----------------------------------------
upload_max_filesize = 10M
post_max_size = 10M
memory_limit = 16M
upload_tmp_dir = /tmp
max_execution_time = 5000
----------------------------------------

The .php files need to be Zend Encoded, so I dunno why
but it says Zend Optimizer Error, the standard message
that means Zend not installed.

I tried and modified the php.ini file to this:

----------------------------------------
upload_max_filesize = 10M
post_max_size = 10M
memory_limit = 16M
upload_tmp_dir = /tmp
max_execution_time = 5000

[Zend]
zend_extension = /usr/local/ioncube/ioncube_loader_lin_4.4.so
zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-2_6_2
zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-2_6_2
zend_optimizer.version=2.6.2
zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so
----------------------------------------

And then Zend worked.

Now you wonder why I post this question then ?

Because my project needs to be released to public, and statically
loading Zend won't work, because not all customers will have same paths,
same OS, same php version, same Zend version.

And what about updates, when new Zend comes out all screw...

Please help me what I can use alternatively to make the 5 directives work,
(
upload_max_filesize = 10M
post_max_size = 10M
memory_limit = 16M
upload_tmp_dir = /tmp
max_execution_time = 5000
)
or ideas how to fix the issue...

Mar 16 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: news | last post by:
I have lines of code that look like this: while ($row2sx = mysql_fetch_array($result2sx)) { Now that's the way I've always learned to create an array from a mySQL querey. I just started...
8
by: Andy Jacobs | last post by:
Evening folks This has probably been asked before so apologies for that. I'm using Dreamweaver for PHP and have been for nearly a year. I've done some stuff that I'm very happy with but I'm...
1
by: Toni | last post by:
I've tried to reinstall the zend environment and debugger on my new computer. I almost succeeded but when I try to debug or profile a webpage by clicking on the buttons on the toolbars I get the...
5
by: news | last post by:
I'm trying out the Zend Development Environment 4, and for the most part I like it, except for two things. It seems to think certain lines that are perfectly valid are bugs. Like this: while...
0
by: cantelow | last post by:
Greetings. I am getting some Arithmetic Exception exit signal messages in my apache logs and intermittent lost pages in a photopost app, dating from an upgrade to php 4.3.10, and I'm...
3
by: nntp | last post by:
What is ZEND. Why it has anything to do with programming PHP?
8
by: smorrey | last post by:
Hello everyone, just wanted to share my experiences with Zend "the php company". I decided to do the test drive of the Enterprise grade developer studio. Big mistake! >From day one I had nothing...
7
by: archimonde2 | last post by:
What are pros any cons to use eaccelerator and zend optimizer on php5-mod with apache2.2 ?? Does accelerators work immediately after install on all php files? When both are in use which...
4
by: Blueparty | last post by:
I am going to use Ioncube or Zend compiler/encoder to deploy PHP5 applications on servers at customers premisses. The factors that affect choice are: - reliability - easy of deployment at...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.