My company ordered a website and we were given all usernames and passwords but I can't find the PHP source files and this is my first website assignment. I have no prior exposure to web technologies although I've been programming for a decade and know computer usage inside out. I tried to use the cPanel to find .php files but there aren't any. There are no MySQL databases either. I'm lost.
2 Answers
You should have FTP login details somewhere in that list of usernames and passwords (if not call the supplier and ask for it) or if you have full cPanel access, you can setup an account for yourself.
FTP information should have:-
- FTP Address in the form of ftp.yourdomain.com, yourdomain.com, or an IP address)
- Username
- Password
Once you have the login information you'll need to download a free FTP client like FileZilla. After you've set it up with the correct login details you should be able to access your website's root folder and the PHP source files.
Your MySQL database (if the website has one) should live under 'MySQL databases'
in the database section of cPanel. To manually edit entries (If you've no experience doing this, I suggest that you don't) click on 'phpMyAdmin'
.
-
Good answer. Only want to add, that the Windows explorer (not Internet-Explorer) can show FTP directories directly. So there is no need to install a tool, though it can be useful. Apart from the FTP-login, you normally get a second login for administration of the website (cPanel/mySQL). Jun 5, 2012 at 20:39
-
@martinstoeckli Not only with IE. It's possible with many other browsers too.– WilliamSep 18, 2014 at 6:11
Try to go on cPanel File Manager, in directory public_html. Your files should be there.