Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

still stuck with php5 #3

Open
OverWorldD opened this issue Oct 21, 2019 · 2 comments
Open

still stuck with php5 #3

OverWorldD opened this issue Oct 21, 2019 · 2 comments

Comments

@OverWorldD
Copy link

OverWorldD commented Oct 21, 2019

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
Copy link
Author

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant