Results 1 to 2 of 2

Thread: Installation issue for v4.5 on Ubuntu server (php5-json)

  1. #1
    jimbo mf is offline Junior Member
    Join Date
    Oct 2006
    Posts
    2

    Default Installation issue for v4.5 on Ubuntu server (php5-json)

    Hi I am installing Sugar version 4.5 on a Ubuntu server (6.06)
    Everything is fine except for getting the correct version of php5-json. Sugar requires 1.1.1 but this version is not available in the repositories.
    I understand that this is not strictly a sugar problem. I have found and downloaded version 1.1.1 but have had trouble installing it with ./configure.

    I am using the following command: ./configure --with-php-confic=/etc/php5/apache2/php.ini

    i am getting the following error:
    /etc/php5/apache2/php.ini: line 1: [PHP]: command not found
    /etc/php5/apache2/php.ini: line 3: syntax error near unexpected token `;;'
    /etc/php5/apache2/php.ini: line 3: `;;;;;;;;;;;'
    configure: error: Cannot find php-config. Please use --with-php-config=PATH

    The php.ini file is as installed.

    I am hoping that someone has got the correct version of php5-json on their ubuntu server and can share some insight.

    Thanks for your time.

    James

  2. #2
    jimbo mf is offline Junior Member
    Join Date
    Oct 2006
    Posts
    2

    Default Re: Installation issue for v4.5 on Ubuntu server (php5-json)

    Ok just to update, I had not installed php5-dev packages.
    Once this was done I was able to install with./cofigure; make; make install

    Hope that helps.

    James

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •