Images in PHP not showing!

  • Posted on January 2, 2013
  • b437324Asked by b437324

Hello, I got problem after installing LAMP… Images not showing on my wordpress blog. also images not uploading on the directory. Please help me!


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

If PHP files show blank pages then it’s not working. <br> <br>You should throw up a test.php wich just phpinfo() to see if you get the phpinfo to display. According to your last message it seems that it doesn’t. <br> <br>At this point we are going to have to dig into your Apache config and how you installed PHP so it’s best for you to open up a support ticket so we can review that in detail. <br> <br>Otherwise you can post the relevant information here though some of it may get removed due to filters.

Thanks for the reply. i give the correct chmod for directories also i checked <?php <br>phpinfo(); <br>?> and php files works but i’ts shows blank pages :( also i installed php mudules such as gd gmp dev curl etc. then what’s the problem? can you add 1 more post for php configuration after installation? <br>P.S. my .htaccess is also not working~

You should not be using 777 permissions on any directories except for those where you want your webserver to write files to. Setting directories to 777 isn’t secure and is not recommended except in very particular circumstances. <br> <br>It seems like you are having a different issue, if it was a permissions issue you would be receiving a 403 forbidden error, in this case y ou are saying that you are loading a PHP file but it’s coming up blank. <br> <br>We need a bit more information to help you troubleshoot this, if you provide the URLs that you are attempting to load I can see what you are seeing and also you may need to do a few directory listings to confirm permissions for every directory in the path. <br>