So I finally got around to installing WordPress; all seemed fine until I deployed to my live server and tried to log into the Admin panel. After doing so, I hit the following error:
Fatal error: Call to undefined function get_option() in ../wp-admin/admin.php on line xyz.
After doing some research, it seems like a lot of folks have hit this problem. Googling the error surfaced 2 common fixes:
- deleting trailing spaces from the wp-config.php and functions.php files
- re-uploading the entire Word Press installation (seems as if Word Press files have a way of becoming corrupt during their upload, which sounds odd)
Neither of those worked for me, but after suspecting the issue had something to do with php 5.3 and calls to include_once, my Google-fu uncovered this post:
So, it turns out that my issue was due to having php 5.3 and a specific version of APC installed. After setting this APC directive in my apc.ini:
apc.include_once_override = 0
… all is well again! Hopefully this saves someone the hours of research, debugging, and frustration that I went through!