drj-io / php7-debian-build

Install php7 on Debian Wheezy
24 stars 7 forks source link

still stuck with php5 #3

Open OverWorldD opened 5 years ago

OverWorldD commented 5 years ago

Did all the steps but php5 is still installed according to info.php. php -v says I have php v8.0.0-dev. I did not find the correct file /folder to add extension=pdo.so extension=pdo_mysql.so. Where am I supposed to add those? My php.ini is in php5/php.ini

OverWorldD commented 5 years ago
marsboard@marsboard:~/php-src$ sudo make install
Installing PHP SAPI module:       apache2handler
/usr/share/apache2/build/instdso.sh SH_LIBTOOL='/usr/share/apr-1.0/build/libtool' libphp8.la /usr/lib/apache2/modules
/usr/share/apr-1.0/build/libtool --mode=install install libphp8.la /usr/lib/apache2/modules/
libtool: install: install .libs/libphp8.so /usr/lib/apache2/modules/libphp8.so
libtool: install: install .libs/libphp8.lai /usr/lib/apache2/modules/libphp8.la
libtool: install: warning: remember to run `libtool --finish /home/marsboard/php-src/libs'
chmod 644 /usr/lib/apache2/modules/libphp8.so
[preparing module `php' in /etc/apache2/mods-available/php.load]
Module php already enabled
Installing shared extensions:     /usr/local/php/lib/php/extensions/no-debug-non-zts-20190128/
Installing PHP CLI binary:        /usr/local/php/bin/
Installing PHP CLI man page:      /usr/local/php/php/man/man1/
Installing phpdbg binary:         /usr/local/php/bin/
Installing phpdbg man page:       /usr/local/php/php/man/man1/
Installing PHP CGI binary:        /usr/local/php/bin/
Installing PHP CGI man page:      /usr/local/php/php/man/man1/
Installing build environment:     /usr/local/php/lib/php/build/
Installing header files:          /usr/local/php/include/php/
Installing helper programs:       /usr/local/php/bin/
  program: phpize
  program: php-config
Installing man pages:             /usr/local/php/php/man/man1/
  page: phpize.1
  page: php-config.1
/home/marsboard/php-src/build/shtool install -c ext/phar/phar.phar /usr/local/php/bin
ln -s -f phar.phar /usr/local/php/bin/phar
Installing PDO headers:           /usr/local/php/include/php/ext/pdo/
marsboard@marsboard:~/php-src$
OverWorldD commented 5 years ago
marsboard@marsboard:~/php-src$ php -v
PHP 8.0.0-dev (cli) (built: Oct 21 2019 14:00:11) ( NTS )
Copyright (c) The PHP Group
Zend Engine v4.0.0-dev, Copyright (c) Zend Technologies