hosting website but different directory for php programs

  • 2
  • Question
  • Updated 10 years ago
  • Answered
Hi, thanks for creating this service. This way I am able to create a nice website and post it on my university account. I have the following problem though. The website that I created is written in php. It can be hosted on my university but from what I understand, I have to make some changes to the code. I hope you will be able to help me with this. I checked the faq, and I found the following:
Can I use PHP on the campus web?
PHP is installed in AFS package space, so your PHP code will need to use the following interpreter line:
How do I do that?

Also, it says that I should put all my programs in a specific directory and then I will be able to access the program using the following URL
Is this something you can help me with?

Also, is it legal to modify the code from synthasite?

Photo of eva


  • 1 Post
  • 0 Reply Likes

Posted 10 years ago

  • 2
Photo of Kershnee


  • 2087 Posts
  • 152 Reply Likes
Hi Eva,

Here are the instructions for hosting your own site. Click on the link in the publishing dialog box that says: "Want to download your site and host it yourself?" You will then be able to download your site as a zipped file and you will be given the following instructions:

Hosting with your own service provider:
Copy the site to the webroot of a php 5.2.x enabled web server
* Ensure that the "classes/work/templates_c" directory is writable by the web server (chmod 777 classes/work/templates_c on Unix / Linux boxes)

Please note that if you elect to host your site elsewhere, we can only support you with the process of creating your site, and downloading it. Thereafter all support relating to the hosting of your site will become the sole responsibility of your service provider.

The site you built will always be available in your SynthaSite account for editing and updating even if you download your site as a zipped file and host it elsewhere. However, to put your changes live you would need to re-download your site and re-upload it to the servers of your hosting provider each time. If you host your site with us (either using a free subdomain or a domain of your own) you can update it with a single click - so it is a lot easier to make changes.