dmikusa / cf-php-apache-buildpack

CloudFoundry PHP & Apache HTTPD Buildpack
Apache License 2.0
4 stars 11 forks source link

Simple phpinfo app failure #2

Closed andypiper closed 11 years ago

andypiper commented 11 years ago

I have an index.php file which simply executes phpinfo() (no other content, short <? tags)

I put it in an htdocs/ folder and push with this buildpack.

PHP never appears to operate on the file and the browser source shows the unpreprocessed phpinfo() call.

What am I doing wrong?

dmikusa commented 11 years ago

Interesting. Couple things I can think to figure out what's going on here...

  1. Check the files in the app/httpd/conf/extra directory. Make sure that httpd-php.conf exists there.
  2. Make sure the contents of httpd-php.conf look like this.
  3. Check the output of app/httpd/logs/error_log. Look to see if it's reporting any errors.
  4. Try pushing php-info. I just tested with this and it worked OK.
  5. Send me your app. I'll see if I can replicate the problem.

Thanks

dmikusa commented 11 years ago

Closing, no response.