I am very new to php, and I am trying to develop a Facebook application using php. I am using Joyent as my hosting platform.
Currently, I am trying to do some simple scripts in php and then building them on them. However I am unable to see any php files are sung properly in my application. For example: I have a simple script called phpinfo.php:
If I run it on php on php phpinfo.php, then I can see all the configuration. However, if I try to use the same file, I get: Internal server error server has to face an internal error or misconfiguration and was unable to fulfill your request.
Even if I have this file index.php its still the same though I am able to use other html files [index.html] at the same place.
These are some of my PHP settings: These are some settings:
[FBKUOONO: ~ / web / public] AFFEFI 7VH $ PHP phpinfo.php | Grep on allow_url_fopen = & gt; At = & gt; Auto_globals_jit = & gt; On buton = & gt; Enable_dl = & gt; On buton = & gt; File_uploads & gt; At = & gt; Ignore_repeated_errors = on & gt; At = & gt; Ignore_repeated_source = & gt; On buton = & gt; On implicit_flush = & gt; At = & gt; Log_errors = on & gt; At = & gt; Register_argc_argv = & gt; On buton = & gt; Report_memleaks = & gt; On buton = & gt; Y2k_compliance = & gt; On buton = & gt; Multibyte Reggae (Ogguruma) Backtrack Check = & gt; Mysql.allow_persistent = & gt; On buton = & gt; On session .bug_compat_warn = & gt; At = & gt; Session.use_cookies = & gt; On buton = & gt; Suhosin.cookie.cryptdocroot = & gt; On buton = & gt; Suhosin.cookie.cryptua = & gt; On buton = & gt; Suohsin.mt_srand.eagore = on & gt; At = & gt; Suhosin.protectkey at & gt; At = & gt; Suhosin.server.encode at & gt; At = & gt; Suhosin.server.strip on & gt; At = & gt; On Suohsien Session Crypt Deduct = & gt; At = & gt; Suohsin session Cryptua = & gt; At = & gt; Suohsin on Session.encript = & gt; At = & gt; Suhosin srand.ignore = & gt; At = & gt; & Gt; Suhosin.stealth At = & gt; The answer can be very naive, but I am just going to start and seek any suggestions on this and I am also using Joyient and CakePP to develop the Facebook application. Thank you.
Is your script executable ( chmod + x phpinfo.php
) ?
What is the Web server error log?
Comments
Post a Comment