The solution to the unresponsiveness of running php scripts under Linux: First use an editor to open the httpd.conf configuration file; then add the php parsing module, such as [LoadModule php5_module modules/libphp5.so].
Cause analysis:
Apache does not load the php parsing module file
(Recommended tutorial: php video tutorial )
Solution:
Add the following sentences to httpd.conf:
AddType application/x-httpd-php .php LoadModule php5_module modules/libphp5.so <IfModule mod_php5.c> AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps </IfModule>
Related recommendations: php training
The above is the detailed content of What should I do if there is no response when running the php script under Linux?. For more information, please follow other related articles on the PHP Chinese website!