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_file size = 10M
post_max_size = 10M
memory_limit = 16M
upload_tmp_dir = /tmp
max_execution_t ime = 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_file size = 10M
post_max_size = 10M
memory_limit = 16M
upload_tmp_dir = /tmp
max_execution_t ime = 5000
[Zend]
zend_extension = /usr/local/ioncube/ioncube_loader_ lin_4.4.so
zend_extension_ manager.optimiz er=/usr/local/Zend/lib/Optimizer-2_6_2
zend_extension_ manager.optimiz er_ts=/usr/local/Zend/lib/Optimizer_TS-2_6_2
zend_optimizer. version=2.6.2
zend_extension=/usr/local/Zend/lib/ZendExtensionMa nager.so
zend_extension_ ts=/usr/local/Zend/lib/ZendExtensionMa nager_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_file size = 10M
post_max_size = 10M
memory_limit = 16M
upload_tmp_dir = /tmp
max_execution_t ime = 5000
)
or ideas how to fix the issue...
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_file size = 10M
post_max_size = 10M
memory_limit = 16M
upload_tmp_dir = /tmp
max_execution_t ime = 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_file size = 10M
post_max_size = 10M
memory_limit = 16M
upload_tmp_dir = /tmp
max_execution_t ime = 5000
[Zend]
zend_extension = /usr/local/ioncube/ioncube_loader_ lin_4.4.so
zend_extension_ manager.optimiz er=/usr/local/Zend/lib/Optimizer-2_6_2
zend_extension_ manager.optimiz er_ts=/usr/local/Zend/lib/Optimizer_TS-2_6_2
zend_optimizer. version=2.6.2
zend_extension=/usr/local/Zend/lib/ZendExtensionMa nager.so
zend_extension_ ts=/usr/local/Zend/lib/ZendExtensionMa nager_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_file size = 10M
post_max_size = 10M
memory_limit = 16M
upload_tmp_dir = /tmp
max_execution_t ime = 5000
)
or ideas how to fix the issue...
Comment