Thanks Simon, that sounds great. I'm encountering an error when I try that, however (remember: I'm a complete newbie at anything web-related).
Using cPanel (what my webhost has installed), under "Advanced" I have "Apache Handlers" and "MIME Types" (among other things).
"Apache Handlers" only has this information:cgi-script
-> .cgi .pl .plx .ppl .perlserver-parsed
I haven't added anything to that yet.
"MIME types" has a huge number (several hundred) of entries similar to this:application/x-httpd-php
-> php php3 php4 php5 php6
So I added my own using the extension you suggested: (a ctrl+find for 'php-css' showed it wasn't being used)application/x-httpd-php
Since WordPress is looking for and expects a 'style.css', I renamed my old 'CSS with PHP' file to 'style.php-css',
and created a new blank 'style.css' file that looks like this:
Then I ran my site again, and instead of my normally broken WIP website, I just got this:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@<name of my website>.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
I have a file named error_log
in my root www.sitename.com folder. Aside from alot of other errors from yesterday still in the log file, a new log was added:[02-Aug-2012 07:49:14 UTC] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/blah/public_html/mysite.com/wp-content/jg-common/variables.php:7) in /home/blah/public_html/mysite.com/wp-includes/pluggable.php on line 881
I don't know if it's related or not - or even if error_log is even the 'server error log' mentioned in the 500 Internal Error message.
Undoing what I previously did, the 500 Internal Server Error still persists.
The entry was still in the .htaccess folder, despite telling cPanel to remove it, so I manually removed the new mimetype and it resolved the Internal Server Error 500.
How can I get this to work without that error?
Edited by Servant of the Lord, 02 August 2012 - 03:10 PM.