Linux uninstalled php but apche can still compile php files
巴扎黑
巴扎黑 2017-06-28 09:23:30
0
2
1080

I raised a question before/q/10..., and then deleted all the php files related to Linux (rpm -qa|grep php has no package, which php cannot find the file, php -v, php command Output command not found) But why can the server's apche still compile php files and output phpinfo()? I created some new test php files and they all compile and output. Even restarting the server has no effect. .
Solution to the problem:
The server's php is installed with dependencies. It seems that apache will have a php cache after installation. . If you change the version of php and re-install it, phpinfo will display the reinstalled php version information. .

巴扎黑
巴扎黑

reply all(2)
迷茫

Detect whether there are other versions of php, find . -name 'php', check the php_module file loaded by the apache configuration file

大家讲道理

Apache introduced the so file, delete it

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template