You are here: PHP or ZEND bug or what ??? « PHP Programming Language « IT news, forums, messages
PHP or ZEND bug or what ???

Posted by Xristos Nikolopoulos on 11/04/23 11:42

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...

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация