wordpress - PHP executes phpinfo function but not other php code -


i have installed lastest version of wordpress today.

i able run php files once tried creating wp-config.php file none of files seem execute php longer.

if go index.php , run (as per wordpress) see if php code in browser. however, if put following @ top of file:

phpinfo(); die(); 

i can see php information , server running normal. commenting line, again shows php code in browser.

i can create php file in root folder such test , echo out statement , works no problem either. wordpress code seems not work.

php version: 5.3.2 (ubuntu 10.4 , apache2) wp version: 3.1.2

sample >ll permissions:

-rw-r--r-- 1 myname myname  398 may 11 10:59 index.php -rw-r--r-- 1 myname myname   24 may 11 10:59 phptest.php ... -rw-r--r-- 1 myname myname 2454 may 11 10:59 wp-load.php 


Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -