PHP 5.2.4 cli installation
Posted: Thu Jan 06, 2011 11:04 am
There are two questions here:
1. when I run "php -v", I get "PHP 4.4.9 (cli) (build ...". Some time ago I deleted PHP 4 and installed PHP 5.2.4. Apparently, my delete effort missed something. What do I have to do to expunge all of PHP 4 so that PHP 5.2.4 is the version I am using?
2. When I execute "phpinfo" there is no mention of the PHP 5.2.4 cli having been installed, i.e. "--enable-cli" does not appear in the output of phpinfo. Is my assumption correct that I can install PHP 5.2.4 cli myself?
I am trying to install a Zend Framework tutorial and the installation is "gagging" because the cli is written in PHP 5 OOP and PHP 4 does not use the keyword "protected" in a class.
Many thanks for your help.
Peter -
1. when I run "php -v", I get "PHP 4.4.9 (cli) (build ...". Some time ago I deleted PHP 4 and installed PHP 5.2.4. Apparently, my delete effort missed something. What do I have to do to expunge all of PHP 4 so that PHP 5.2.4 is the version I am using?
2. When I execute "phpinfo" there is no mention of the PHP 5.2.4 cli having been installed, i.e. "--enable-cli" does not appear in the output of phpinfo. Is my assumption correct that I can install PHP 5.2.4 cli myself?
I am trying to install a Zend Framework tutorial and the installation is "gagging" because the cli is written in PHP 5 OOP and PHP 4 does not use the keyword "protected" in a class.
Many thanks for your help.
Peter -