ionCube Logo
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


 
Post new topic   Reply to topic    ionCube Forum Index -> ionCube Package Foundry

Script requirements

Author Message
Rich2k
Guest





PostPosted: Tue Jan 25, 2005 1:08 am    Post subject: Script requirements Reply with quote

I haven't found this capability in IPF yet and so if it isn't please take it as a suggestion.

I noticed that IPF performs a number of system checks as to what it supports, it would be great if we could put a list of required PHP extensions, such as mysql, imap, etc which aren't always enabled by default in PHP installations and make IPF check that they are installed (which can be done though PHP). If the required extensions that we have defined aren't installed we could warn the user. This means that we could at least check the system requirements for the script before installation.
Back to top
liaison
ionCube Support


Joined: 16 Dec 2004
Posts: 2757

PostPosted: Tue Jan 25, 2005 10:04 am    Post subject: Reply with quote

Great idea, and we have thought of this already. It's on the todo / wishlist along with some neat ideas of how we might cover this idea.

Worth noting though that you can do this already if you code it into a post install script, although this would occur after installation rather than before. This shouldn't be so bad as typically shared hosts have a good range of features pre-installed, and on hosts where the user has control, and where perhaps they may not have the prerequisites, they can install them as they do have control. Having the package installed before or after meeting the requirements then doesn't matter so much.

Nick
_________________
Community Admin
Back to top
View user's profile Send private message
clynx
Guest





PostPosted: Thu Apr 07, 2005 12:13 pm    Post subject: Reply with quote

Maybe you could simply add a Pre Installation Script. This will be executed before the Installer copies the real Files ...

When the Result is empty Installer can continue, otherwise it is assumed that an Error occured, and should be displayed.

Maybe, when you have access to the real PHP Enviroment you should check a Constant like SCRIPT_RESULT, which can have

1 => success
2 => notice
3 => error

I know ... this could be done much better, but that would IMHO be a good starting Point ...

Regards

clynx
Back to top
liaison
ionCube Support


Joined: 16 Dec 2004
Posts: 2757

PostPosted: Thu Apr 07, 2005 1:00 pm    Post subject: Reply with quote

A preinstall script is a good idea for a feature.
_________________
Community Admin
Back to top
View user's profile Send private message
ts77



Joined: 20 Jul 2006
Posts: 2

PostPosted: Thu Jul 20, 2006 10:02 am    Post subject: Reply with quote

Is there any news for that?
Back to top
View user's profile Send private message
liaison
ionCube Support


Joined: 16 Dec 2004
Posts: 2757

PostPosted: Thu Jul 20, 2006 11:25 am    Post subject: Reply with quote

This may be added in a future release.
_________________
Community Admin
Back to top
View user's profile Send private message
dinesh



Joined: 24 Nov 2008
Posts: 1

PostPosted: Mon Nov 24, 2008 8:10 am    Post subject: Reply with quote

is it available in the latest version?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    ionCube Forum Index -> ionCube Package Foundry All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum