By erhanharm
Hi guys,
Here is my server IP http://95.85.55.217/
You can see the wordpress is working correctly. But i upload a basic PHP file to same folder with folder name arduino-push
http://95.85.55.217/arduino-push/test.php?title=test&message=test
It is not working. I am getting 500 Error.
I set the permission of the arduino-push folder 755 . Nothing changed :(
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!
to see the error instead of just 500 error, you probably need to first tell PHP to show errors: <br>at the TOP <br>error_reporting(E_ALL); <br>ini_set(‘display_errors’ 1); <br>
i accedently sent the previos message bfore i finished it and it seams you can’t edit here so: <br> <br> <br>to see the error instead of just 500 error, you probably need to first tell PHP to show errors: <br>at the TOP of the file <br>error_reporting(E_ALL); <br>ini_set(‘display_errors’ 1); <br> <br>if you still don’t see the errors <br>try to see the server log for errors: <br>on the terminal: tail /etc/log/httpd/error_log <br>or: tail /etc/log/syslog <br>of: tail /et/log/messages
@7ecc4baa <br> <br>Thanks for your help. <br> <br>I’ve added the PHP codes to my PHP file but nothing changed. <br> <br>After that i connected to the machine via SSH , but i could not find the location /etc/log/httpd/error_log or /etc/log/syslog and /et/log/messages <br> <br>You could said /var/log/apache2/ other_vhosts_access.log ? <br> <br>i saw these lines : <br> <br>XXX.XXX.XXX.XX XX.XXX.XXX.XXX(My IP’s) - - [20/Apr/2014:14:35:19 -0400] “GET /arduino-push/test.php?title=Test&message=Test45 HTTP/1.1” 500 190 “-” “Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.57 Safari/537.17”
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.