Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 13
Im trying to upgrade to 5.3.3 and having major issues. to install this im using this script to start with Code: pastebin.org/463285 and i finish with this. Code: pastebin.org/463287 I ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2010
    Posts
    16

    upgrading to PHP 5.3.3 issues


    Im trying to upgrade to 5.3.3 and having major issues.
    to install this im using this script to start with
    Code:
    pastebin.org/463285
    and i finish with this.
    Code:
    pastebin.org/463287
    I keep getting error at c-client part.
    And it fails with these errors:
    Code:
    osdep.c:266:20: error: x509v3.h: No such file or directory
    osdep.c:267:17: error: ssl.h: No such file or directory
    osdep.c:269:17: error: pem.h: No such file or directory
    osdep.c:270:20: error: buffer.h: No such file or directory
    osdep.c:271:17: error: bio.h: No such file or directory
    osdep.c:272:20: error: crypto.h: No such file or directory
    osdep.c:273:18: error: rand.h: No such file or directory
    All errors here:
    pastebin.org/463299
    Suggestions?
    i really need to get in PHP5.3 :S

  2. #2
    Linux Engineer Segfault's Avatar
    Join Date
    Jun 2008
    Location
    Acadiana
    Posts
    878
    Support requests get more responses if you tell us what distro you are using, also why you are not using distro repositories to upgrade.

  3. #3
    Just Joined!
    Join Date
    May 2010
    Posts
    16
    wooops
    Debian 5.0

    you mean using aptitude install php?
    didnt work to well

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Engineer Segfault's Avatar
    Join Date
    Jun 2008
    Location
    Acadiana
    Posts
    878
    Debian -- Package Search Results -- php5

    What you mean didn't work.

    apt-get install php5 failed?

  6. #5
    Just Joined!
    Join Date
    May 2010
    Posts
    16
    the version doesnt change :S
    it asked if i wanted to keep my php.ini and i choose yes and so on

    apt-get install php5 only gives me 5.2
    i used
    Code:
     howtoforge.com/installing-php-5.3-nginx-and-php-fpm-on-ubuntu-debian
    to upgrade

  7. #6
    Just Joined!
    Join Date
    May 2010
    Posts
    16
    I do have several domains on the server,
    do i need to install on each? :S
    in that case, how?

  8. #7
    Linux Engineer Segfault's Avatar
    Join Date
    Jun 2008
    Location
    Acadiana
    Posts
    878
    You can install packages for newer Debian, like testing packages on stable. See Debian documentation, I haven't used Debian for many years, I don't remember.

  9. #8
    Just Joined!
    Join Date
    May 2010
    Posts
    16
    Code:
    ps27086:~# apt-get install -t experimental php5
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:
    
    The following packages have unmet dependencies:
      php5: Depends: libapache2-mod-php5 (>= 5.3.3-1) but it is not going to be installed or
                     libapache2-mod-php5filter (>= 5.3.3-1) but it is not going to be installed or
                     php5-cgi (>= 5.3.3-1) but it is not going to be installed or
                     php5-fpm (>= 5.3.3-1) but it is not going to be installed
    E: Broken packages
    this is what i get when i try.
    anyhow making it install all?

  10. #9
    Just Joined!
    Join Date
    May 2010
    Posts
    16
    im now trying to configure php5 and i keep getting the same error.
    Code:
    configure: error: Please reinstall the BZip2 distribution
    Suggestions how to fix it?
    Yes bzip2 is installed
    Also tried apt-get install bzip2

    This is the config i use
    Code:
    ./configure \
    	--prefix=/opt/php5 \
    	--with-config-file-path=/opt/php5/etc \
    	--with-curl \
    	--with-pear \
    	--with-gd \
    	--with-jpeg-dir \
    	--with-png-dir \
    	--with-zlib \
    	--with-xpm-dir \
    	--with-freetype-dir \
    	--with-t1lib \
    	--with-mcrypt \
    	--with-mhash \
    	--with-mysql \
    	--with-mysqli \
    	--with-pdo-mysql \
    	--with-openssl \
    	--with-xmlrpc \
    	--with-xsl \
    	--with-bz2 \
    	--with-gettext \
    	--with-fpm-user=www-data \
    	--with-fpm-group=www-data \
    	--enable-fpm \
    	--enable-exif \
    	--enable-wddx \
    	--enable-zip \
    	--enable-bcmath \
    	--enable-calendar \
    	--enable-ftp \
    	--enable-mbstring \
    	--enable-soap \
    	--enable-sockets \
    	--enable-sqlite-utf8 \
    	--enable-shmop \
    	--enable-dba \
    	--enable-sysvmsg \
    	--enable-sysvsem \
    	--enable-sysvshm

  11. #10
    Linux Engineer Segfault's Avatar
    Join Date
    Jun 2008
    Location
    Acadiana
    Posts
    878
    So instead of installing dependencies required in post #8 you decided to build from source?

    The error you are getting indicates bzip2 headers are not found.

Page 1 of 2 1 2 LastLast

Posting Permissions

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