I fixed my PHP, here's the solution! (yar I'm dumb)

Gwailo

B.A. Economics (Hon)
Here's my problem, nay my solution!

[localhost:/etc/httpd] gwailo% cat httpd.conf | grep php
LoadModule php4_module libexec/httpd/libphp4.so
AddModule mod_php4.c
# http://www.php.net) will typically use:
#AddType application/x-httpd-php3 .php3
#AddType application/x-httpd-php3-source .phps
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

I don't know what the heck's wrong with me, but the bolded PHP's in my original httpd.conf were php4 and should not be! It should be straight PHP! I can't believe I didn't catch that...I'm almost as embarrassed as phpinfo() instead of phpinfo();

Just to let y'all know. It works fine now! Behold the splendor that is PHP/Apache on X

http://65.94.189.23:8080/test.php
:p
 
Back
Top