php information check
Posted: Thu Aug 10, 2006 1:40 pm
ok so ive built a program and now i want to make an install script that the user can just execute and it checks a few things, creates the database tables, configures the config.php and maybe a few other things.
but first how would i have the script check the version of php the server is running, if openssl is installed, and if it has zend optomiser?
my origional thought would be to parse the phpinfo() but i was wondering if there was any other way?
but first how would i have the script check the version of php the server is running, if openssl is installed, and if it has zend optomiser?
my origional thought would be to parse the phpinfo() but i was wondering if there was any other way?