I recently posted my project, which is php + smarty + mysql, on my httpd server. But I ran into an error that reads:
500 Internal Server Error
My OS is archlinux, and the httpd server and php were installed as follows:
sudo pacman -S apache php
If I use a test native php file that contains the following:
<html>
<head>
<title>PHP Test Page</title>
</head>
<body>
This is Arch Linux, running PHP.
<?php
phpinfo();
?>
</body>
</html>
It works correctly. This tells me php might work well. But why is my smart project not working? Is there anyone who has run into this problem?
source
share