mumbles27 Posted March 23, 2010 Share Posted March 23, 2010 Hi forum not sure if this is the right place to askthis but any help greatfuklly recieved. i need to host a website which appears to be written with PHP or using PHP. i know i need to activate PHP and MySQL. my initial question is that a normal HTML website has an index.html or default.html which is placed in the root public HTML folder and the subsequent files and folders are placed with regard to the dir tree they are written in. Is this the case with PHP as the website i have received appears not to have a definitive landing page. If it does its within a folder. not a dunce with regard to HTML so am willing to read if anyone has any links or tips or help... Thanks Quote Link to comment https://forums.phpfreaks.com/topic/196266-hosting-a-website-written-with-php/ Share on other sites More sharing options...
trq Posted March 24, 2010 Share Posted March 24, 2010 Generally a server with php installed will configure index.php as a default DirectoryIndex. See http://httpd.apache.org/docs/2.0/mod/mod_dir.html#directoryindex Quote Link to comment https://forums.phpfreaks.com/topic/196266-hosting-a-website-written-with-php/#findComment-1030878 Share on other sites More sharing options...
mumbles27 Posted March 24, 2010 Author Share Posted March 24, 2010 thanks and at the risk of opening a can worms, how hard is configuring php? Quote Link to comment https://forums.phpfreaks.com/topic/196266-hosting-a-website-written-with-php/#findComment-1030983 Share on other sites More sharing options...
mumbles27 Posted March 24, 2010 Author Share Posted March 24, 2010 or should i say installing php? Quote Link to comment https://forums.phpfreaks.com/topic/196266-hosting-a-website-written-with-php/#findComment-1030984 Share on other sites More sharing options...
JonnoTheDev Posted March 24, 2010 Share Posted March 24, 2010 If you have yum: yum install php yum install mysql-server yum install php-mysql start the services service httpd restart service mysqld start make sure you change the root password for mysql Quote Link to comment https://forums.phpfreaks.com/topic/196266-hosting-a-website-written-with-php/#findComment-1030988 Share on other sites More sharing options...
trq Posted March 24, 2010 Share Posted March 24, 2010 or should i say installing php? Its not hard at all. What OS are you using? Quote Link to comment https://forums.phpfreaks.com/topic/196266-hosting-a-website-written-with-php/#findComment-1031236 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.