Koozali.org: home of the SME Server

Contribs.org Forums => General Discussion => Topic started by: igardiner on January 17, 2008, 02:33:13 AM

Title: PHP Setup in ibays
Post by: igardiner on January 17, 2008, 02:33:13 AM
Hi All

I've installed static websites on SME Server before, I currently have 3 running at the moment. I am looking at making one of them into PHP with MYSQL is there any documentation on how to set up the files on the web server. I have placed my a few pages in the html folder of my ibay and all is working well there. Do I put all the script files ie Update, Insert, Delete in the cgi-bin folder of the ibay or do I just create another folder under the html to store all these files ?

I have successfully installed phpMyAdmin and connecting to MYSQL, it is just the testing insert statement I am having trouble with.

If there is any documentation that somebody could point me to that would be greatly appreciated.
Title: Re: PHP Setup in ibays
Post by: cactus on January 17, 2008, 08:20:24 AM
Hi All

I've installed static websites on SME Server before, I currently have 3 running at the moment. I am looking at making one of them into PHP with MYSQL is there any documentation on how to set up the files on the web server. I have placed my a few pages in the html folder of my ibay and all is working well there. Do I put all the script files ie Update, Insert, Delete in the cgi-bin folder of the ibay or do I just create another folder under the html to store all these files ?

I have successfully installed phpMyAdmin and connecting to MYSQL, it is just the testing insert statement I am having trouble with.

If there is any documentation that somebody could point me to that would be greatly appreciated.
Enable "Execution of dynamic content"  for the ibay and put all as is in the html folder, do not modify directory layouts as most php applications are coded using relative paths from the top down into the tree of the program files and folders.

See also chapter 14 of the Administrators website in the wiki.
Title: Re: PHP Setup in ibays
Post by: igardiner on January 22, 2008, 01:27:05 AM
Thank you for the details
Title: Re: PHP Setup in ibays
Post by: Seeking on January 22, 2008, 01:03:54 PM
Good day igardiner.

Very interesting subject.

Is it perhaps possible to contact you?

I want to put a website together for users to log-in, but I don't have a clue where to start.

I know that I must make use of a mysql database, and make use of php pages.

Any guidance for beginners.

Cheers.
Title: Re: PHP Setup in ibays
Post by: igardiner on January 22, 2008, 11:00:16 PM
Hi Seeking

No problems at all, I am a bit of a beginner with PHP myself but have developed many websites with many different languages before so I might be able to help you with it.

Best contact is my hotmail iaingardiner_007@hotmail.com
Title: Re: PHP Setup in ibays
Post by: raem on January 23, 2008, 03:41:22 PM
igardiner

Useful info
http://wiki.contribs.org/MySQL

http://wiki.contribs.org/SME_Site_Maker

Read the script that comes with Site Maker as it gives you the basics of configuring mysql databases that your application can hook into.