Content | Navigation |

If you have done PHP development work in other environments, you should know about the following PHP environment gotchas on Pubweb.

Short open tags <?

Short open tags (<? as opposed to <?php) are not enabled on PubWeb.

This means you may need to modify old code or code you have borrowed or downloaded from other sources. When <? is used, the page is treated like XML and you will see the PHP code when visiting the page from a web browser. Change these to <?php to make your pages parseable as PHP.

Be sure to search and replace through all of your code, not only the first instance in each file.

Reference Description of core php.ini directives (short_open_tag)


Student Focused. Land Grant. Research University.

Follow NDSU
  • Facebook
  • Twitter
  • RSS
  • Google Maps

North Dakota State University
Phone: +1 (701) 231-7961 / Fax: (701) 231-8541
Campus address: Quentin Burdick Building 206
Physical/delivery address: 1320 Albrecht Blvd., Fargo, ND 58102
Mailing address: NDSU Dept. 4530 / PO Box 6050 / Fargo, ND 58108-6050
Page manager: ECI Contacts Page

Last Updated: Thursday, January 28, 2016 4:24:56 PM
Privacy Statement