Results 1 to 19 of 19

Thread: starting php

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Feb 2006
    Posts
    185

    starting php

    I have been doing vb and html.
    I want to start work with PHP right now.

    anybody help me.

    How can i start with php. Do i start it in a note pad (as HTML)
    or any program have to install?
    waht is the meaning of "PHP enabled server"?
    Last edited by r_amin; May 11th, 2007 at 03:50 PM.

  2. #2
    WiggleWiggle dclamp's Avatar
    Join Date
    Aug 2006
    Posts
    3,527

    Re: starting php

    1) You can use any text editor you want. There are some that offer syntax highlighting. Like Dreamweaver, PHP Designer, EditPad Pro.

    2) To run PHP on localhost, you are going to need a server (Apache is a popular one) and you are going to need to download PHP from http://www.php.net. There are also all-in-one solutions for localhost testing (Xampp, AppServe) thoes are not suggested for commercial use.

    3)a PHP enabled server is a server that has php on it.

    here are some tutorials to start you out:
    http://www.w3schools.com/php/default.asp (Very good one)
    http://us2.php.net/tut.php
    My usual boring signature: Something

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Feb 2006
    Posts
    185

    Re: starting php

    Thank you dclamp.

    I installed PHP. Last of the installation process, it massaged to configure manually. How can I Configure it?

  4. #4
    Frenzied Member I_Love_My_Vans's Avatar
    Join Date
    Jan 2005
    Location
    In the PHP compiler
    Posts
    1,275

    Re: starting php

    What distribution did you install? With xampp its usually configured for you.

  5. #5
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: starting php

    All in one packages are not recommended as they are generally less secure and occasionally behave oddly.

    What was the message?

  6. #6
    Frenzied Member I_Love_My_Vans's Avatar
    Join Date
    Jan 2005
    Location
    In the PHP compiler
    Posts
    1,275

    Re: starting php

    Yes but considering he has just started PHP less configuration wopuld be a benifit? Surely?

  7. #7
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: starting php

    Well there is hardly any actual configuration required to get a standard zip install of PHP running and it is much better to learn with that.


    Quote Originally Posted by r_amin
    I installed PHP. Last of the installation process, it massaged to configure manually. How can I Configure it?
    I think I understand; you've used the installer. I am not familiar with it as I always use and recommend the zip package.

  8. #8

    Thread Starter
    Addicted Member
    Join Date
    Feb 2006
    Posts
    185

    Re: starting php

    Quote Originally Posted by penagate
    Well there is hardly any actual configuration required to get a standard zip install of PHP running and it is much better to learn with that.




    I think I understand; you've used the installer. I am not familiar with it as I always use and recommend the zip package.

    But where I can get it? can you tell me the URL

  9. #9
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: starting php

    From post #2 - http://www.php.net/
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  10. #10

    Thread Starter
    Addicted Member
    Join Date
    Feb 2006
    Posts
    185

    Re: starting php

    Quote Originally Posted by dclamp
    1) You can use any text editor you want. There are some that offer syntax highlighting. Like Dreamweaver, PHP Designer, EditPad Pro.

    2) To run PHP on localhost, you are going to need a server (Apache is a popular one) and you are going to need to download PHP from http://www.php.net. There are also all-in-one solutions for localhost testing (Xampp, AppServe) thoes are not suggested for commercial use.

    3)a PHP enabled server is a server that has php on it.

    here are some tutorials to start you out:
    http://www.w3schools.com/php/default.asp (Very good one)
    http://us2.php.net/tut.php
    I have downloaded
    (1) http://us.php.net/distributions/php-4.4.7.tar.bz2
    (2) http://www.php.net/distributions/php-4.4.7.tar.gz
    But what can i do with it now?

  11. #11
    WiggleWiggle dclamp's Avatar
    Join Date
    Aug 2006
    Posts
    3,527

    Re: starting php

    you should now download Apache server.
    My usual boring signature: Something

  12. #12
    VBA Nutter visualAd's Avatar
    Join Date
    Apr 2002
    Location
    Ickenham, UK
    Posts
    4,906

    Re: starting php

    Quote Originally Posted by r_amin
    WHY are you downloading PHP 4? Can you not see there is a newer version. Its called PHP 5. Download the ZIP package.

    http://uk2.php.net/get/php-5.2.2-Win.../from/a/mirror
    PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2

    | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload

    Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am.

    Random VisualAd: Blog - Latest Post: When the Internet becomes Electricity!!


    Spread happiness and joy. Rate good posts.

  13. #13
    Frenzied Member the182guy's Avatar
    Join Date
    Nov 2005
    Location
    Cheshire, UK
    Posts
    1,473

    Re: starting php

    You will be here till christmas if you want php,mysql,phpmyadmin manually etc, I agree with ILMV all-in-one FTW. I've had countless problems trying to get them all to work together, xampp can have it running in 2mins. I've used it for ages now, had no problems, one tip: dont set php and mysql as a service unless you want to run it 24/7, xampp gives you a control panel to turn php,mysql etc on or off when you want, which reduces security risks.
    Chris

  14. #14
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: starting php

    Quote Originally Posted by the182guy
    You will be here till christmas if you want php,mysql,phpmyadmin manually etc
    Nonsense!

    You can get them all running in about 5 minutes if you've done it before. 10 maybe if it's the first time you've tried.

  15. #15
    WiggleWiggle dclamp's Avatar
    Join Date
    Aug 2006
    Posts
    3,527

    Re: starting php

    i have tried, and then i failed. i think it is very hard.

    but i would only suggest the all-in-on if you are using it localy for testing.
    My usual boring signature: Something

  16. #16
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: starting php

    Follow visualAd's tutorial from the sticky FAQ thread. I personally don't see how it is hard.

  17. #17
    VBA Nutter visualAd's Avatar
    Join Date
    Apr 2002
    Location
    Ickenham, UK
    Posts
    4,906

    Re: starting php

    If it is the first time you have done it you need to set down for a couple of hours, familiarise yourself with the configuration files and be prepared to start over a couple of times.

    Once you have done it once it will be a breeze next time. Anyone who takes till Christmas installing it needs to consider a brain transplant.
    PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2

    | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload

    Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am.

    Random VisualAd: Blog - Latest Post: When the Internet becomes Electricity!!


    Spread happiness and joy. Rate good posts.

  18. #18
    WiggleWiggle dclamp's Avatar
    Join Date
    Aug 2006
    Posts
    3,527

    Re: starting php

    Quote Originally Posted by visualAd
    If it is the first time you have done it you need to set down for a couple of hours, familiarise yourself with the configuration files and be prepared to start over a couple of times.

    Once you have done it once it will be a breeze next time. Anyone who takes till Christmas installing it needs to consider a brain transplant.
    I think i will take a look a that. Because now my computer wont run the all-in-on programs :P. how much does a brain transplant cost, just so i know before i begin.
    My usual boring signature: Something

  19. #19

    Thread Starter
    Addicted Member
    Join Date
    Feb 2006
    Posts
    185

    Re: starting php

    I want to use Php and mySql. There need a application server.
    I tried to find the compare between Apache and IIS. but I got a lot of learger reports. I can not make disition.
    Now I want to know Is it matter of coading which server I use?
    or after I done my coading I can use it with Apache or any application server.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width