By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,016 Members | 2,265 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,016 IT Pros & Developers. It's quick & easy.

PHP or ZEND bug or what ???

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.