how would i find out if i have the source codes?

this is my dedicated machine that has other accounts of mine on it. it was set up for me through my hosting company. i am sure they have an automated script to setup any new machines for them....so iam not sure if i have the source on mine.

thanks

    do you have root permissions on that machine? if not, you wont be able to recompile php.

      thanks for the info, ubt have a few more questions.
      i see that i have usr/src dir and that php4.3.3 is in there. i can do teh command form there (maybe) but then what is the "make" make install" command at the end of your instructions?

      thank you very much.

        make will compile php and make install will install it.

          ok, so i did exactly what you said (aside from downloading it). i am getting a few errors whe i issue the make command:

          libtool: link: warning: library /usr/lib/libmcrypt.la' was moved.
          grep: /usr/lib/libltdl.la: No such file or directory
          /bin/sed: can't read /usr/lib/libltdl.la: No such file or directory
          libtool: link:
          /usr/lib/libltdl.la' is not a valid libtool archive
          make: *** [libphp4.la] Error 1

          i am not sure if there were erros when the compile went through. how do i tell if the comiled php was compiled correctly? there are many pieces that it went through (some saying yes and some saying no) i dont know if i made any changes, or anything.

          now i am confused.

          sorry.

            ok, these lines saying yes or no are correct. these are normal system checks which prepare compiling on your machine. if you see no, that wont be a problem as long as configure doesnt stop.

            could you please post your ./configure command with all parameters you gave it?

              ./configure --with-apxs=/usr/local/apache/bin/apxs --prefix=/usr --with-xml --with-swf=/usr/local/flash --enable-ftp --with-gd --with-jpeg-dir --with-xpm-dir=/usr/X11R6 --with-png-dir=/usr --with-ming --enable-magic-quotes --with-mysql --enable-safe-mode --enable-track-vars --with-ttf --enable-versioning --with-zlib --enable-bcmath --enable-calendar --with-freetype-dir=/usr --with-mcrypt --enable-wddx --with-pgsql --without-kerberos --with-curl=usr/bin/curl

                you have to install libtool before you can recompile php.

                  ah ha. thanks for all the help. I am sur eif i didnt have that issue, it would have been easier. I just had the hosting company take care of it.

                  i had it before and witha new install they did for us, it wasnt included. they took care of it. but it is nice to haeva bit more eperince with it for next time.

                  thanks again.

                  ps.
                  i am going to london on thursday, any good recommendations that the tourist guides would have missed? (i see in your profile that you are from germany)

                    Write a Reply...