View previous topic :: View next topic |
Author |
Message |
Adam123 -
Joined: 15 Apr 2006 Posts: 36
|
Posted: Sat Apr 15, 2006 8:02 pm Post subject: Setting a Server Up |
|
|
Ok what i got,
Abyss Web Server X1
mysql-4.1.18 ( Intaller)
php-5.1.2 ( Lots of files)
I got the Abyss Web Server Install, I got a user acount and i am in.
Now how do i install Mysql And Php thanks |
|
Back to top |
|
 |
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
|
Back to top |
|
 |
Adam123 -
Joined: 15 Apr 2006 Posts: 36
|
Posted: Sat Apr 15, 2006 9:00 pm Post subject: |
|
|
Thanks very much |
|
Back to top |
|
 |
Adam123 -
Joined: 15 Apr 2006 Posts: 36
|
Posted: Sat Apr 15, 2006 9:03 pm Post subject: |
|
|
I dont get this Download the PHP zip file from http://www.php.net if you haven't downloaded PHP yet. After you've downloaded PHP, create a new folder in C:\ called "Php". Now extract the contents of the zip file to the new folder "Php". Go to C:\Php and rename "php.ini - recommended" to "php.ini". Put this file in C:\Windows or C:\Winnt depending on your operating system. |
|
Back to top |
|
 |
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
|
Back to top |
|
 |
Adam123 -
Joined: 15 Apr 2006 Posts: 36
|
Posted: Sat Apr 15, 2006 9:26 pm Post subject: |
|
|
Cheers got PHP install Via u, followed the other one got MYSQL installed now phpadmin, which one is better your one or the other one |
|
Back to top |
|
 |
Adam123 -
Joined: 15 Apr 2006 Posts: 36
|
|
Back to top |
|
 |
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Sat Apr 15, 2006 9:36 pm Post subject: |
|
|
Both were designed to be equal but I think mine is easier for people who have never done it before because of step by step diagrams. The other tutorial is for people who have done it before and need a quick mind refresh. _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
 |
Adam123 -
Joined: 15 Apr 2006 Posts: 36
|
Posted: Sat Apr 15, 2006 9:41 pm Post subject: |
|
|
Dont worrie, i forgot to reset the server.
And what you just said below thanks :)
Last edited by Adam123 on Sat Apr 15, 2006 9:45 pm; edited 3 times in total |
|
Back to top |
|
 |
abyssisthebest -
Joined: 30 Jun 2005 Posts: 319 Location: Boston, UK
|
Posted: Sat Apr 15, 2006 9:42 pm Post subject: |
|
|
That is because you have not added index.php to the index files.
You can do this by going to the Console _________________ My online Portfolio |
|
Back to top |
|
 |
Adam123 -
Joined: 15 Apr 2006 Posts: 36
|
Posted: Sat Apr 15, 2006 9:45 pm Post subject: |
|
|
Thanks again
Also on the main page of http://127.0.0.1/phpadmin/ it says
Your configuration file contains settings (root with no password) that correspond to the default MySQL privileged account. Your MySQL server is running with this default, is open to intrusion, and you really should fix this security hole.
Is that ment to be there. its at the bottom |
|
Back to top |
|
 |
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Sat Apr 15, 2006 9:52 pm Post subject: |
|
|
No. You need to set a password in MySQL. I think you can do this via phpMyAdmin. You'll then have to change the phpMyAdmin config file to go with the password changes. _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
 |
Adam123 -
Joined: 15 Apr 2006 Posts: 36
|
Posted: Sat Apr 15, 2006 9:58 pm Post subject: |
|
|
Ok for root have added a password in the phpadmin and congig.inc the error has gone but now this error comes
The mbstring PHP extension was not found and you seem to be using a multibyte charset. Without the mbstring extension phpMyAdmin is unable to split strings correctly and it may result in unexpected results. |
|
Back to top |
|
 |
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Sat Apr 15, 2006 11:36 pm Post subject: |
|
|
In the php.ini there should be an extension for mbstring, remove the ";" before it to enable it. _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
 |
Adam123 -
Joined: 15 Apr 2006 Posts: 36
|
Posted: Sun Apr 16, 2006 9:13 am Post subject: |
|
|
I cannot find the PHP.INI file |
|
Back to top |
|
 |
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Sun Apr 16, 2006 9:54 am Post subject: |
|
|
It will either be in the root directory of where you installed php (default in the tutorials is c:\php\php.ini) or in the windows folder, c:\windows\php.ini.
If you do not have a php.ini (yes its possible) there will be files called php.ini(recommended) and another which i cant remember off the top of my head. Remove the "(recommended)" from the end and leave it as php.ini. _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
 |
Adam123 -
Joined: 15 Apr 2006 Posts: 36
|
Posted: Sun Apr 16, 2006 10:11 am Post subject: |
|
|
OK found it now what do i need to edit?
;Windows Extensions
;Note that ODBC support is built in, so no dll is needed for it.
;
;extension=php_bz2.dll
;extension=php_cpdf.dll
;extension=php_curl.dll
;extension=php_dba.dll
;extension=php_dbase.dll
;extension=php_dbx.dll
;extension=php_exif.dll
;extension=php_fdf.dll
;extension=php_filepro.dll
;extension=php_gettext.dll
;extension=php_ifx.dll
;extension=php_iisfunc.dll
;extension=php_imap.dll
;extension=php_interbase.dll
;extension=php_java.dll
;extension=php_ldap.dll
extension=php_mbstring.dll (like that)
;extension=php_mcrypt.dll
;extension=php_mhash.dll
;extension=php_mime_magic.dll
;extension=php_ming.dll
;extension=php_mssql.dll
;extension=php_msql.dll
;extension=php_oci8.dll
;extension=php_openssl.dll
;extension=php_oracle.dll
;extension=php_pdf.dll
;extension=php_pgsql.dll
;extension=php_shmop.dll
;extension=php_snmp.dll
;extension=php_sockets.dll
;extension=php_sybase_ct.dll
;extension=php_tidy.dll
;extension=php_w32api.dll
;extension=php_xmlrpc.dll
;extension=php_xsl.dll
;extension=php_yaz.dll
;extension=php_zip.dll
extension=php_gd2.dll
extension=php_mysql.dll
extension=php_mysqli.dll
Last edited by Adam123 on Sun Apr 16, 2006 10:28 am; edited 1 time in total |
|
Back to top |
|
 |
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Sun Apr 16, 2006 10:26 am Post subject: |
|
|
Quote: | In the php.ini there should be an extension for mbstring, remove the ";" before it to enable it. |
Just do that ^ Its in the section labeled "extensions".
Can I suggest you remove the php.ini text from the forum, its extreamly long and it makes the forum slow for some users. _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
 |
Adam123 -
Joined: 15 Apr 2006 Posts: 36
|
Posted: Sun Apr 16, 2006 10:29 am Post subject: |
|
|
Ok the error has gone now, for the user root i have a password is that ok? |
|
Back to top |
|
 |
Adam123 -
Joined: 15 Apr 2006 Posts: 36
|
Posted: Sun Apr 16, 2006 10:32 am Post subject: |
|
|
Ok got my user setup as Adam and a password |
|
Back to top |
|
 |
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Sun Apr 16, 2006 10:34 am Post subject: |
|
|
Yes thats fine. As long as the root user has a password and all other accounts with full access to MySQL do then you should have no problems. _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
 |
Adam123 -
Joined: 15 Apr 2006 Posts: 36
|
Posted: Sun Apr 16, 2006 10:36 am Post subject: |
|
|
OK i got my phpadmin setup with a password to login.
I have a useracount not root
now is that it? |
|
Back to top |
|
 |
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Sun Apr 16, 2006 10:37 am Post subject: |
|
|
Yes. Like I said above as long as each user has a password then you are fine. _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
 |
Adam123 -
Joined: 15 Apr 2006 Posts: 36
|
Posted: Sun Apr 16, 2006 10:38 am Post subject: |
|
|
Great, also i have AOL, and a dyminit IP so how would i get a static one? |
|
Back to top |
|
 |
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Sun Apr 16, 2006 10:42 am Post subject: |
|
|
AOL dont offer static IP's so you will have to go to www.no-ip.com or www.dyndns.org and get a domain name from them. Then you use their client to update your IP address to their servers each time it changes. That way you keep the same domain name from them and it never changes. The client updates the IP that relates to the domain name.
If you have a domain like a .com, .co.uk, .net etc then you can use the dyndns or no-ip domain name as a CNAME on your DNS settings so your domain always points to your server.
Its quite complex if you dont know how it works but I use the same method for my server as my IP is also dynamic, although it doesnt change very often (sometimes once a month sometimes once a year). _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
 |
Adam123 -
Joined: 15 Apr 2006 Posts: 36
|
Posted: Sun Apr 16, 2006 10:49 am Post subject: |
|
|
Ok thanks i am using dyndns and using WebHop
OK this is what i gott
Hostname: adam.endofinternet.net
Redirect URL: WHAT DO I PUT HERE
Cloak URL: TICK OR DONT TICK
Cloak Title: WHAT DO I PUT HERE
Thanks |
|
Back to top |
|
 |
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Sun Apr 16, 2006 11:00 am Post subject: |
|
|
I dont see why it is asking for a redirect URL. This might be for when your offline.
Cloak URL: Its up to you. Cloaking will simply remove your IP from the URL but you wont be able to link to your_url/folder/file.ext if it is switched on.
Cloak Title: Just like <title></title> in HTML. _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
 |
Adam123 -
Joined: 15 Apr 2006 Posts: 36
|
Posted: Sun Apr 16, 2006 11:00 am Post subject: |
|
|
My error wrong thing, ok i am in no-ip.com
what do i pick
DNS Host (A)
DNS Host (Round Robin)
DNS Alias (CNAME)
Port 80 Redirect
Web Redirect |
|
Back to top |
|
 |
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Sun Apr 16, 2006 11:13 am Post subject: |
|
|
You need to choose "DNS Host (A)" as an "A" record is IP's only. (CNAME is a domain name). _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
 |
Adam123 -
Joined: 15 Apr 2006 Posts: 36
|
Posted: Sun Apr 16, 2006 5:28 pm Post subject: |
|
|
Cheers The Inquisitor, got my website setup |
|
Back to top |
|
 |
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Sun Apr 16, 2006 5:28 pm Post subject: |
|
|
No problem. _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
 |
|