Koozali.org: home of the SME Server
Obsolete Releases => SME Server 6.x => Topic started by: Thomas on June 02, 2006, 01:38:46 AM
-
I have searched this site and cannot find the info I need. I have written a web application using PHP and MySQL. I have it installed in an ibay for the moment but understand that is not the proper place for it. My questions are:
1) What is the proper way to install a php web application on SME 6.0.1?
2) Where is the Include directory located on SME? This is the directory where the php include files go.
Any other info I might need to know regarding ways to secure the web app on SME would be greatly appreciated
Thanks,
Thomas
-
I have searched this site and cannot find the info I need. I have written a web application using PHP and MySQL. I have it installed in an ibay for the moment but understand that is not the proper place for it. My questions are:
1) What is the proper way to install a php web application on SME 6.0.1?
The proper way is to install it in it's own (sub)directory in the /opt/ directory. You can then use a template (and if you want to the configuration databases) to implement it in the configuration files for the httpd deamon.
2) Where is the Include directory located on SME? This is the directory where the php include files go.
You can find the pear include path in the /etc/php.ini file.
Any other info I might need to know regarding ways to secure the web app on SME would be greatly appreciated
Thanks,
Thomas
Search for a good tutorial on how to configure the httpd daemon to use with php applications or browse through the apache documentation (http://httpd.apache.org/docs/2.0/mod/core.html#directory).