Hello All...Have a question or problem that I was hoping someone could answer for me. I have a new web site that supports php..the provider says that PHP is installed although I see no root directories that I am used to seeing. I have the lastest version of PHP install on the server, but I can't seem to get the site to display. The current index.html file is there and when I replace it with a index.php file I get "forbidden to view" The main folder that everything is upload to is called httpdocs. Question..How do I get PHP to display so I can change the themes to a custom one that I have from my other site...frankly just a "stock" php page would be welcomed. I have used PHP before and have dome many things inside of it, but this barebones stuff is beyond me and the tech support is no help after many questions. Any help would be helpful. Thanking you all in advance. ~Dave
You shouldn't be able to see the PHP installation from your directories anyway. This likely means that directory viewing is turned off (usually a good thing) and that index.php probably isn't configured as a DirectoryIndex name. Try calling your site with your domain name /index.php after you have changed then name. That will yield a clue. If it works then tell your host to add index.php to Apache's DirectoryIndex list for your domain.
I have done as you asked and called the site up using the /index.php I get the same display page as I did before when I simply typed in the addy. Also..I did not mean the install files but simply PHP files and directories. And the provider say that PHP 4.1 is installed on the server but I see none of those files previous to my uploading of PHP 7.9. Apache is no where to be found and the provider says it is not nessecary but it was present on my former site... Thanks for the reply thus far.
There is no PHP 7.9. The most recent version is 5.1.2. Unless you are on a dedicated server you shouldn't see any of the core PHP files nor any of the core Apache files. You shouldn't be able to find them.
You are correct..I do have version 5.1.2. This is getting out of hand trying to get this thing up and running to the point I cant think stright. I guess I am on my own again, the provider tells me that the index.html file is the same as the index.php file. Only differnece is that the extension is changed. I am a a totoal loss as to how to proceed.
The placeholder index.html is there. How do you know that this is a php problem? Try to upload a plain html file and see if it loads. If it does, try to upload a simple phpinfo file and see the results.
A server query shows you don't have PHP 5.1.2, but you do have 4.4.1: Apache/1.3.33 (Unix) mod_python/2.7.10 Python/2.2.2 mod_webapp/1.2.0-dev mod_perl/1.29 mod_throttle/3.1.2 PHP/4.4.1 FrontPage/5.0.2.2635 mod_ssl/2.8.22 OpenSSL/0.9.7e From what I've been able to see it looks like PHP is installed. Is the index.php file still there? What are the contents of that file?
You see that is my problem...I am used to the FTP showing the php files...Themes etc etc...they do not seem to be viewable...and..I do not know how to proceed to get even the PHP version that is installed to show up. When I load a simple HTML index file it does show up..ie..under construction. When I load it with .php it shows the same thing..I guess I am asking how do you get a PHP page to display and then be able to use the admin portion of the program to tweak the site..ie change themes, create blocks..see this was all set up for me before and like I have said before..the tech knows nothing as to the set up and running of PHP. That is why I am trying to go it alone(with you guys help of course). I know how to operate within PHP..but getting it going is more than I am capable of at this point. I have read a million things and still I am unable to get a "stock" PHP page up and running. Suggestions and requirements as to what to do is what I need more than anything else. Thanks for the input thusfar everyone!
This is the FTP set up...All file are said to go into the httpdocs folder Inside this folder are the following folders: Parent Folder picture_library plesk_stat webstat index.html
I cant even see a PHP config file there in..there are no contents in these folders...so you see I am at a total loss on how to go about this.. The Plesk thing is a control interface as I am sure you guys are aware but the one thing th tech did say was that the files could not be done via it(Plesk) on the domain level...so?You see I am going nuts here...LOL
Okay, now I think we are getting somewhere. PHP by itself doesn't have an admin section, themes, blocks, etc. You are talking about a CMS (Content Management System). There are numerous CMS systems out there, some of which are written with the PHP programming language. But PHP itself is just a programming language. Think of it like a foreign, spoken language. Just because you know the language doesn't mean you have a book. You need to write a book in that language. So your website supports programs that are written with PHP. Now you need to install one of those programs that uses PHP. Since you appear to have a general operating knowledge of what CMS systems are, do you know which CMS system you were using before? You will need to download that CMS program, install it on your server, and then you will have the admin section, blocks, themes, etc. You were probably using something like PostNuke, PHP-nuke, Mambo.... something like that.
Sorry... I misread this post and I'm rewriting it. You will need to use Plesk then to install a CMS system on your site.
OK...then what you are say is this...I have phpmyadmin...do would i just upload it to the httpdoc folder?...and then after that is done how do I get it to run...See I do know some..enough to hurt myself and the server. This also(The Server) is not dedicated so that is one reason I see no "PHP" files. Sorry to ask noob questions but I want to be sure and thats is why I ask before doing..unlike most times..lol...Look forward to your reply and thanks so much again!!!!
If you want to use phpmyadmin. 1) Check to see if your host already has it installed, many do. 2) If not, check to see if your control panel (cpanel, plesk, etc) has a installer for it. 3) Download it and install it yourself by following the instructions included with the package. This will involve uploading it to your site, securing the installation, and a probably a little configuration.
Ok tflight...I will do that and repost as to the results...again..thanks a million for your help as well as the others..I apperciate it very much and am very thankful!!!! ~
OK...I have asked the provider if they had a CMS program to install on the server and all I get is the Plesk system is "as CMS as it gets". They also say 1/4 of the 300 customers they have use PHP so if the CMS program is as vitial as I believe it is, at least in order to have more than simple html,php pages for a site,then I am at a loss once again. I do have phpmyadmin, I looked into cpanel but the cost is too much. I feel that if this is installed everything will be fine, but alas, another problem. The config file. This is just beyond me. Can use suggest any sites that my provide a "SIMPLE" tutorial as what to enter. I have been unable to obtain much input to that end. ~Thanks.
Plesk and cpanel are not CMS systems. They care control panels that facilitate controlling your website environment, things like creating email addresses, passwords, etc. Those control panels also sometimes have quick installers available for things like CMS systems. Picking the correct CMS system will depend on your needs. There are lots of CMS systems out there and there are just as many opinions out there as to which ones are the best. However some of the more popular are postnuke, mambo, and drupal. Other people are increasingly using blogging software such as WordPress as a light CMS system. You mentioned "changing themes" and "adding blocks" in one of your posts which leads me to believe you have some experience with a specific CMS system. Do you know which one it was? If so that would be a good place to start.