jkewlo Posted May 11, 2007 Share Posted May 11, 2007 hello my name is johnny i am not new to php but new to installing it i have installed lastest stuff out apache, php, mysql, even wamp well of course i have installed it. but when i goto localhost/ it shows my folders i have which is Index of / * Thumbs.db * up/ * wow/ now if i goto up/ it shows all my files Index of /up * Parent Directory * Thumbs.db * _notes/ * admin.php * admin/ * adminprocess.php * ban.psd * banner.png * calander.php * chat.php * chat/ * check.php * config.php * dir.php * download.php * forgotpass.php * getChat.php * imageupload.php * include/ * index.php * leavecomment.php * login.php * logout.php * member/ * news.php * newsprocess.php * office/ * process.php * processFiles.php * processcomment.php * profile.php * reg.php * reg1.php * reg2.php * signup.php * tom/ * upload.php * uploadForm1.php * uploadForm2.php * useredit.php * userinfo.php etc... now when i goto localhost/up/index.php it shows the source code of the .php how do i correct this i have moved the .dll to system32 folder and the .ini to windows folder please it would be great if you could help me get this installed thanks a bunch! ~Johnny Quote Link to comment https://forums.phpfreaks.com/topic/50894-php-shows-directory-and-source-code/ Share on other sites More sharing options...
Lumio Posted May 11, 2007 Share Posted May 11, 2007 PHP is not installed and also Apache shows directory-content (you can fix that with an option in a config-file of apache) Quote Link to comment https://forums.phpfreaks.com/topic/50894-php-shows-directory-and-source-code/#findComment-250333 Share on other sites More sharing options...
chronister Posted May 11, 2007 Share Posted May 11, 2007 unfortunately I cannot be of much help here, but the php is not being parsed at the server level. Anytime you see the actual source code on screen it means that the PHP interpreter is not being called to parse the source. I did not have a *lot* of luck installing PHP on a windows system, but I do remember that you need to add a new environment variable pointing to the php.exe file. I believe that this is where I had the issues before. I got it all jiving together a couple times, but I ended up saying f*ck it and I installed XAMPP. I am now trying my hand at managing a *real* LAMP server on UBUNTU Linux 6.01. I hope this helps some Nate Quote Link to comment https://forums.phpfreaks.com/topic/50894-php-shows-directory-and-source-code/#findComment-250334 Share on other sites More sharing options...
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.