fapeg Posted January 6, 2007 Share Posted January 6, 2007 Hi,I've got PHP 5.1.2 installed on my Suse 9.3 Server. PHP is compiled without the freetype library, so I decided to download the latest PHP version and compile it with freetype support. I ran the configure script, make didn't give any errors and make install worked also well.My configure parametres:[code]foobar@v25809:~/php-5.2.0> './configure' '--prefix=/usr/local/php5' '--with-apxs2=/usr/sbin/apxs2' '--with-libxml-dir=/usr/lib''--with-zlib' '--with-zlib-dir=/usr/lib' '--with-mysql=/usr/bin/mysql' '--with-gd' '--enable-sockets' '--with-gettext=/usr/bin/gettext' '--with-freetype-dir=/usr/local'[/code]make install gave the following output:[code]v25809:/home/foobar/php-5.2.0 # make installInstalling PHP SAPI module: cgiInstalling PHP CGI into: /usr/local/bin/Installing build environment: /usr/local/lib/php/build/Installing header files: /usr/local/include/php/Installing helper programs: /usr/local/bin/ program: phpize program: php-configInstalling man pages: /usr/local/man/man1/ page: phpize.1 page: php-config.1Installing PEAR environment: /usr/local/lib/php/[PEAR] Archive_Tar - already installed: 1.3.1[PEAR] Console_Getopt - already installed: 1.2[PEAR] PEAR - already installed: 1.4.11Wrote PEAR system config file at: /usr/local/etc/pear.confYou may want to add: /usr/local/lib/php to your php.ini include_pathInstalling PDO headers: /usr/local/include/php/ext/pdo/[/code]PHP is loaded my /etc/sysconfig/apache2:[code]APACHE_MODULES="mod_perl mod_rewrite access actions alias auth auth_dbm autoindex cgi dir env expiresinclude log_config mime negotiation setenvif ssl userdir php5 /usr/lib/apache2-prefork/mod_frontpage.so perl python suexec"[/code]When I run PHP on the commandline it gives me the right version (5.2) but when I run an phpinfo script, my apache says I've 5.1.2 installed. I don't know where I have to tell apache to use the "newest" PHP version.Thanks for helping me, fapeg Quote Link to comment Share on other sites More sharing options...
trq Posted January 7, 2007 Share Posted January 7, 2007 You did restart the apache? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.