472,992 Members | 3,401 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,992 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 2107
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: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
4
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...
3
SueHopson
by: SueHopson | last post by:
Hi All, I'm trying to create a single code (run off a button that calls the Private Sub) for our parts list report that will allow the user to filter by either/both PartVendor and PartType. On...

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.