PHP help !!!

Xristos Nikolopoulos chr_nikol at freemail.gr
Fri Mar 17 01:28:47 EET 2006


kseri kanis ???


"Xristos Nikolopoulos" <chr_nikol at freemail.gr> wrote in message 
news:dv9sfh$l03$1 at 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...
>
> 





More information about the Linux-greek-users mailing list