Hi, I'm following the tutorial The Perfect Setup - Ubuntu Feisty Fawn (Ubuntu 7.04) - Page 6, I' am using the command given to download PHP5 here is the command: apt-get install libapache2-mod-php5 php5 php5-common php5-curl php5-dev php5-gd php5-idn php-pear php5-imagick php5-imap php5-json php5-mcrypt php5-memcache php5-mhash php5-ming php5-mysql php5-ps php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl When I enter the command this is the output: Reading package lists... Done Building dependency tree Reading state information... Done Package php5-json is a virtual package provided by: php5-common 5.2.3-1ubuntu6.1 You should explicitly select one to install. E: Package php5-json has no installation candidate What should I do? I have run apt-get update --fix-missing and apt-get update and apt-get upgrade, I' t would be great if you could help me . Thanks, James E
php5-json is bundled with php5-common so their should be no need to install php5-json as long as you installed php5-common.
apache Hi, Thanks for the advice, It worked, But when I get to the next step:"15.1 Disable PHP Globally", I get to the part where you have to edit the file:/etc/apache2/mods-enabled/php5.conf, when i enter it it is completely empty except at the bottom where it says:"/etc/apache2/mods-enabled/php5.conf" 0 lines, 0 characters. What should I do? Thanks James E
when you installed php5 on page 6 you still installed just without php5-json ? Code: apt-get install libapache2-mod-php5 php5 php5-common php5-curl php5-dev php5-gd php5-idn php-pear php5-imagick php5-imap php5-mcrypt php5-memcache php5-mhash php5-ming php5-mysql php5-ps php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl
Hi, I entered the text from the example on the tutorial manually into the file:/etc/apache2/mods-enabled/php5.conf, the file now shows : <IfModule mod_php5.c> # AddType application/x-httpd-php .php .phtml .php3 # AddType application/x-httpd-php-source .phps </IfModule> ~ ~ ~ ~ ~ ~ ~ ~ "/etc/apache2/mods-enabled/php5.conf" 4 lines, 135 characters Is this ok? Thanks, James E