470,815 Members | 1,343 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,815 developers. It's quick & easy.

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

Similar topics

8 posts views Thread by Andy Jacobs | last post: by
1 post views Thread by Toni | last post: by
reply views Thread by cantelow | last post: by
3 posts views Thread by nntp | last post: by
8 posts views Thread by smorrey | last post: by
4 posts views Thread by Blueparty | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.