After installing apache2 and php7.0,. php is simply not working:
$ ps -edf | grep -i php
root 1274 1 0 08:19 ? 00:00:00 php-fpm: master process (/etc/php/7.0/fpm/php-fpm.conf)
www-data 1282 1274 0 08:19 ? 00:00:00 php-fpm: pool www
www-data 1283 1274 0 08:19 ? 00:00:00 php-fpm: pool www
jon 3240 1975 0 08:25 pts/0 00:00:00 grep --color=auto -i php
I don't think this is adequate. And opening phpinfo.php with a browser just shows up the contents of the file.
In /var/syslog, I find a bunch of lines like this:
Feb 26 08:01:01 jon-neon php7.0-cli: php_invoke ctype: already enabled for PHP 7.0 cli SAPI
Feb 26 08:01:01 jon-neon php7.0-cli: php_invoke gettext: already enabled for PHP 7.0 cli SAPI
Feb 26 08:01:01 jon-neon php7.0-cli: php_invoke sysvsem: already enabled for PHP 7.0 cli SAPI
Feb 26 08:01:01 jon-neon php7.0-cli: php_invoke exif: already enabled for PHP 7.0 cli SAPI
What in the world does php have to do with exif?
In auth.log, I find
Feb 26 08:20:02 jon-neon systemd: pam_unix(systemd-user:session): session opened for user jon by (uid=0)
Feb 26 08:20:02 jon-neon sddm-helper: pam_unix(sddm:session): session opened for user jon by (uid=0)
Feb 26 08:20:02 jon-neon sddm-helper: pam_systemd(sddm:session): Cannot create session: Already running in a session
Feb 26 08:20:02 jon-neon sddm-helper: pam_unix(sddm-greeter:session): session closed for user sddm
Feb 26 08:20:02 jon-neon sddm-helper: pam_kwallet5(sddm:session): pam_kwallet5: pam_sm_open_session
Feb 26 08:20:02 jon-neon sddm-helper: pam_kwallet5(sddm:session): pam_kwallet5: final socket path: /tmp/kwallet5_jon.socket
Feb 26 08:20:03 jon-neon polkitd(authority=local): Registered Authentication Agent for unix-session:2 (system bus name :1.42 [/usr/lib/x86_64-linux-gnu/libexec/polkit-kde-authentication-agent-1], object path /org/kde/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
Feb 26 08:20:05 jon-neon systemd-logind[1031]: Removed session 1.
Feb 26 08:20:29 jon-neon dbus[1042]: [system] Failed to activate service 'org.bluez': timed out
Feb 26 08:21:30 jon-neon dbus[1042]: [system] Failed to activate service 'org.bluez': timed out
Also, dist-upgrade has messed up my grub, which is now some sort of neon stuff and ignores all but /dev/sda. I suppose that is another topic.
$ ps -edf | grep -i php
root 1274 1 0 08:19 ? 00:00:00 php-fpm: master process (/etc/php/7.0/fpm/php-fpm.conf)
www-data 1282 1274 0 08:19 ? 00:00:00 php-fpm: pool www
www-data 1283 1274 0 08:19 ? 00:00:00 php-fpm: pool www
jon 3240 1975 0 08:25 pts/0 00:00:00 grep --color=auto -i php
I don't think this is adequate. And opening phpinfo.php with a browser just shows up the contents of the file.
In /var/syslog, I find a bunch of lines like this:
Feb 26 08:01:01 jon-neon php7.0-cli: php_invoke ctype: already enabled for PHP 7.0 cli SAPI
Feb 26 08:01:01 jon-neon php7.0-cli: php_invoke gettext: already enabled for PHP 7.0 cli SAPI
Feb 26 08:01:01 jon-neon php7.0-cli: php_invoke sysvsem: already enabled for PHP 7.0 cli SAPI
Feb 26 08:01:01 jon-neon php7.0-cli: php_invoke exif: already enabled for PHP 7.0 cli SAPI
What in the world does php have to do with exif?
In auth.log, I find
Feb 26 08:20:02 jon-neon systemd: pam_unix(systemd-user:session): session opened for user jon by (uid=0)
Feb 26 08:20:02 jon-neon sddm-helper: pam_unix(sddm:session): session opened for user jon by (uid=0)
Feb 26 08:20:02 jon-neon sddm-helper: pam_systemd(sddm:session): Cannot create session: Already running in a session
Feb 26 08:20:02 jon-neon sddm-helper: pam_unix(sddm-greeter:session): session closed for user sddm
Feb 26 08:20:02 jon-neon sddm-helper: pam_kwallet5(sddm:session): pam_kwallet5: pam_sm_open_session
Feb 26 08:20:02 jon-neon sddm-helper: pam_kwallet5(sddm:session): pam_kwallet5: final socket path: /tmp/kwallet5_jon.socket
Feb 26 08:20:03 jon-neon polkitd(authority=local): Registered Authentication Agent for unix-session:2 (system bus name :1.42 [/usr/lib/x86_64-linux-gnu/libexec/polkit-kde-authentication-agent-1], object path /org/kde/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
Feb 26 08:20:05 jon-neon systemd-logind[1031]: Removed session 1.
Feb 26 08:20:29 jon-neon dbus[1042]: [system] Failed to activate service 'org.bluez': timed out
Feb 26 08:21:30 jon-neon dbus[1042]: [system] Failed to activate service 'org.bluez': timed out
Also, dist-upgrade has messed up my grub, which is now some sort of neon stuff and ignores all but /dev/sda. I suppose that is another topic.
Comment