mdevelle Posted June 16, 2004 Posted June 16, 2004 I am trying to get PHP to run on my website. I created a simple PHP script (test_phpinfo.php) that displays phpinfo() and it runs OK in the root (public_html). when trying to run this same script from a subdirectory (public_html/smarty), I get a 404 error although I can see the file, verify its contents and verify the permissions on the file and directory (using CpanelX File Manager). What am I missing? Thanks Quote
purplespider Posted June 16, 2004 Posted June 16, 2004 Hey, www.mikeandkathys-greatadventure.com/Smarty/test_phpinfo.php works fine for me! Remember that directory names are case sensitive on Linux servers so you must have called the directory /Smarty, instead of /smarty which is different. Hope that helps! James (Edited to make more sense!) Quote
mdevelle Posted June 16, 2004 Author Posted June 16, 2004 Eureka!! Thanks. That was it. Smarty works, smarty doesn't. I knew it had to be something simple and right in front of my nose that I couldn't see. Quote
purplespider Posted June 16, 2004 Posted June 16, 2004 No probs! It's always the little simple things which seem to be the hardest to find! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.