Jump to content
xisto Community

Lyon

Members
  • Content Count

    360
  • Joined

  • Last visited

Everything posted by Lyon

  1. Here it is the text i have found in http://www.jevontech.com/ , and i'm posting this text because i remember the dificults i had when i wanted to do this right... Installing Apache , MySQL and PHP under Windows Introduction While many webservers run Linux, Unix or BSD most personals computers run on Windows. So it would be quite comfortable if web designers and developers could develop on their home computer.So in this E-book we will focus on configuring your computer to use Apache, MySQL and PHP, so you can work on your home computer. Step 1: Installing Apache Apache is one of the most common webservers in the world.You can download and use it for free. You can go to http://httpd.apache.org/download.cgi and download the webserver here yourself. Make sure you download the version for Windows (Win 32) WITH installer (MSI Installer) . There are currently 2 branches available of Apache . Apache2 is the new branch, Apache 1.3 is the old one.I'd recommend installing the latest version of the Apache 2 branch. When you finished downloading the installer package(somewhere around 6MB) you can install Apache. Just execute the installer and install Apache somewhere in a logical place. Make sure Apache is installed, but this is only possible under Windows 2000 or XP. When you install Apache as a server, a small tool called Apache Monitor is also installed. It is somewhere in the notification area(lower right corner, near the clock). When you double click the icon you can start/stop and restart the Apache server. When you change something in the configuration file of Apache (called httpd.conf ) you always have to restart Apache! When you have installed Apache you can open your web browser and surf to LOCALHOST/ . You should now see the standard website from the Apache server that Apache was successfully installed. So, your webserver is now up and running!!!! Congratulations! If you installed Apache in the default path, you can go to C:\Program Files\Apache Group\Apache2\htdocs and place your own HTML pages there and see them by surfing to LOCALHOST/. If you want to write a HTML only website, you are done now. If you also want to create more sophisticated website, let's proceed to the next software package. Step 2: Installing MySQL Now on to MySQL. MySQL is a database.You can also download this one for free. Surf to the MySQL website : http://dev.mysql.com/downloads/ to download the latest MySQL database server.The default install path is C:\mysql .It is best to leave this default path or else you will need a whole lot of more work to get it up and running.So install MySQL in the default path. When MySQL is installed we need to test it, right? We need a simple way to start and stop the MySQL server. So, let's create a .bat file to start the MySQL server.(I assume you installed the MySQL server in the directory C:\mysql) Open Notepad. Enter the following text: C:\mysql\bin\mysqld console Save this file as mysqlstart.bat on your desktop. Create a new file in Notepad and enter the following text: C:\mysql\bin\mysqladmin -u root shutdown Save this file as mysqlstop.bat on your desktop. If everything is right you should now be able to start your MySQL server by executing(double click) the mysqlstart.bat file and stopping it by double clicking mysqlstop.bat . What can we now do with the MySQL server? A lot! But let's first install PHP. Step 3: Installing PHP PHP is one of the most popular scripting languages used on the Internet nowadays. You can create anything from guestbooks and shopping carts to complete auction sites and webmail applications with this language. So , let's install it . Go to http://php.net/downloads.php and download the latest version. Go to Windows binaries and then the ZIP package, not the installer.We need the ZIP package, because we installed Apache and the ZIP package works best with the Apache server. When you finished extract the zip package into C:/php . Now comes the most difficult part: We need to let Apache know that PHP is installed. Copy the following files to the main Apache folder (probably C:\Program Files\Apache Group\Apache2\ ): C:\php\php4ts.dll C:\php\sapi\php4apache2.dll C:\php\php.ini-recommended Rename php.ini-recommended to php.ini . Open this php.ini file in Notepad. Look for the following line: doc_root = Set this to the Apache htdocs directory: doc_root = C:\Program Files\Apache Group\Apache2\htdocs This let's PHP know where the PHP files should be Now we need to let Apache know that PHP in installed. Go to the configuration folder of Apache( :\Program Files\Apache Group\Apache2\conf\ ) and open httpd.conf in Notepad . Add the following lines to the file (doesn't really matter where, I'll leave that up to you): LoadModule php4_module php4apache2.dll AddType application/x-httpd-php .php Look for the following line: DirectoryIndex index.html index.html.var and add index.php to the end of the line like this: DirectoryIndex index.html index.html.var index.php So, now Apache knows that PHP is installed. And now what? Let's see what we can do with PHP :-) Start Apache (or restart if you already have it running). Open Notepad and enter the following: <?php echo phpinfo(); ?> Save this file as phpinfo.php in your htdocs directory (C:\Program Files\Apache Group\Apache2\htdocs). If you now surf to LOCALHOST/phpinfo.php you should see a page that shows all the info about your PHP installation you ever want to know. This is the proof that PHP is properly working. Carpe diem.
  2. I work asp and php with frontapage 2002 and macromedia homesite 5.5 most of the times, homesite 5.5 is the best for asp but alsow to php with some addins like frontpage, but there are a lot more good code editors, like for example:Hotdog free edition or hotdog 7.0;Coffecup free edition or paid editionEtc...If you need any programs that i have refered, just email me and i will send it to you.Carpe diem.
  3. If you want to learn the hard way just read html e-books and write your html code or scripts in notepad or win32pad or stylepad , this way you'll learn much more but is more harder.If you don't want to paid for nothing related to webdesign software:The best for me is frontapage 2002, but...download this:for css - topstyle litefor html - coffecup html editor ; hotdog ; wysiwyg editors (what you see is what you get) they are almost all free and most of them are good, and much more.If you want any of them just email me and i will send it to you.Carpe diem.
  4. Lyon

    Need Free Ftp Client

    It's very easy, just do yourself...type this keywords in google.com:"download free ftp" - and you'll have many good results, just click one and download.
  5. I use frontpage 2002, flash mx 2004, swishmax and others.
  6. I understand french but most of people don't, so, it's a good idea to put some links for translation into english and maybe to some other languages.Good website. The colors are ok.Carpe diem.
  7. Thanks but i know that site for a long time. Look to my posts if you want more templates.Carpe diem.
  8. I use dzsoft php editor and some times php expert editor.Carpe diem.
  9. i alsow agree with the ones that say to test first localy and then remotly.try to know the right configuration of your remote server and configure your local server the same way, i know it can be harder, but can alsow be better for you, because you'll have more time to test your scripts localy.
  10. I don't know, but, go to http://www.allthescripts.com/. Carpe diem.
  11. Here it is: http://customize.ru/icons_od.html Carpe diem.
  12. Here it is: http://www.hugedomains.com/domain_profile.cfm?d=shivprasad&e=com Just register and download all the e-books you want.
  13. I downloaded the apache2triad (3 in 1), i mean, with apache, sql and php, but doesn't have many documentation to help me get started.So, if someone works already with this, please help me get started, i'm having problems testing php scripts.Questions:. Do i have to configure something or the software configures everything by itself?. where do i put my php scripts to test them?. Is there a website(s) that have tutorials about apache2triad?Thank you.
  14. Dzsoft php editor, and if you're interested, there is for perl too - dzsoft perl editor
  15. If you want to learn php, html, asp, javascript, i'm sorry but you have to read a lot , i'm saying that because it's the best way to realy learn something.You can ask all the questions you want and if i can help you i will, but i advice you to read first then ask the questions or else it's going to be harder not just for you but to the people that are going to help.The basics to php you can find in the oficial website of php - php.net, or better, in the websites of php developers, you can find in google websites of php with the keywords:"php developers" ; "download php scripts" ; "forun(s) about php" ; "forun(s) about php" etc..., just use your mind to it, just think in other good few keywords and google will help you.Asp or active server pages and php or personal home page are server side, i mean, the scripts run in the server side au contraire to html or javascript, this two ones the script or code runs in the client side, that means that takes more time to load the pages, depending on your connection speed and other things.Well, if you want e-books about this or about webdesign, just email me and i will send you the links or the files.Carpe diem.
  16. Hi everyone, i'm looking for link exchanges or affiliates in the subject of "templates and scripts", that because my website here in Xisto is about that subject, but i'm alsow looking for someone that wants to exchange links even if the subject of your website is different. My Xisto website: http://forums.xisto.com/no_longer_exists/ You can put a text link in your website or to me to finishe my website and give you the image link, that's your choise. Thank you. Carpe diem.
  17. I can't login to my cpanel, but i can login to ftp, you said i had to wait 48h max, so, i can't still login to my cpanel.Please help me with this.
  18. i can't access my account at http://www.bestfreetemplates.com/
  19. My website is about templates and scripts, so, can i storage some of my templates and scripts in my free webspace?Or i have to storage all of them on other server?
  20. Here it is: http://http://www.webdevstore.com/?f Carpe diem.
  21. Here it is: http://ftp.cdut.edu.cn/pub3/uncate_doc/ Carpe diem.
  22. Here it is: http://forums.xisto.com/no_longer_exists/ Carpe diem.
  23. Go alsow to: http://forums.xisto.com/no_longer_exists/ - English http://forums.xisto.com/no_longer_exists/ - English http://forums.xisto.com/no_longer_exists/ - English http://www.cbtcafe.com/ - English http://www.swftools.com/ - Flash tools Carpe diem.
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.