Jump to content

php needs visual studio?

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
14 replies to this topic

#1
onething

onething

    Programmer

  • Members
  • PipPipPipPip
  • 118 posts
PHP For Windows:

plz excuse the noobiness again, but i was looking to install php and i read the columns at this site, the part where it says VC9 is compiled by visual studio 2008 and VC6 is compiled by visual studio 6. does this mean visual studio is required for using php on ur pc? or is it just that they were built using visual studio? if so, what alternative, cheaper, free prolly, would u recommend to me for playing around with php on my windows vista sp2? cheers

#2
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
I seriously doubt it, given that I use PHP on windows, and don't have visual studio.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#3
onething

onething

    Programmer

  • Members
  • PipPipPipPip
  • 118 posts
what do u use instead of VS?

#4
Alexander

Alexander

    It's Science!

  • Moderators
  • 4,118 posts

onething said:

what do u use instead of VS?

Do you have PHP installed on your Windows computer?

PHP is simply a scripting language, you can edit it using anything; If you're wanting a proper IDE, there's Netbeans, Eclipse and Geany for free. Each support advanced features and debuggers.

If you need any help on setting any of the IDE's or PHP up, I'll be glad to help here.
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.

#5
onething

onething

    Programmer

  • Members
  • PipPipPipPip
  • 118 posts
thanks, my problems will come up, most of the time ill google, but sometimes i get in silly ruts lol
well, i know i can be a translator, i thought id go into programming and designing webpages cuz it seems more exciting and'll provide me with a way out if google invents a super machine translator lol

im reading HOW TO DESIGN PROGRAMS by the MIT press, meanwhile i got meself a wordpress blog im trying to set up on my local host, and ive got like 50 internet pages open, the usual :-)
in fact im not sure i wound up installing php today, i coulda sworn yesterday i was hell bent on learning css... any suggestions welcome

so for this IDE, do any of those three open sources u suggested lack in anything VS's proprietary has?

#6
Alexander

Alexander

    It's Science!

  • Moderators
  • 4,118 posts
Microsoft has their own dynamic page technologies (ASP - Active Server Page) which runs on IIS. Microsoft does not do anything with Apache or PHP, as PHP is mainly run on Linux environments. Therefor visual studio is useless completely for PHP development, as it has nothing to do with it.

The open source options I listed are used extensively by professional developers, they provide all you need for an integrated development solution, there's no features lacking in any of them, they are often boasted for their powerful options.

If you're wanting to install Wordpress on localhost, then I recommend you save yourself trouble and install a WAMP distribution, it is essentially a package of MySQL (which you need for databases), Apache and PHP all together. It is majorly easy to install on Windows, here's a link if you're interested, I'm not sure if you installed PHP successfully or not:
http://www.easywamp.com/
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.

#7
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts

onething said:

what do u use instead of VS?
XAMPP for Apache/MySQL/PHP
jEdit/MinGW for C++ coding.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#8
onething

onething

    Programmer

  • Members
  • PipPipPipPip
  • 118 posts

Nullw0rm said:


If you're wanting to install Wordpress on localhost, then I recommend you save yourself trouble and install a WAMP distribution, it is essentially a package of MySQL (which you need for databases), Apache and PHP all together. It is majorly easy to install on Windows, here's a link if you're interested, I'm not sure if you installed PHP successfully or not:
http://www.easywamp.com/

I think i installed WAMP a few days ago , without knowing exactly what it was for, and forgot i had it. Anyway, I put the server online but when on mozilla i click on wp-admin/install.php in the wordpress readme, it says PHP is not running. Is this because PHP doesnt work on windows? or have i dont something wrong setting up WAMP?

#9
Alexander

Alexander

    It's Science!

  • Moderators
  • 4,118 posts
Are you connecting to install.php through http://localhost/wp-admin/install.php (or wherever you put wordpress)? If WAMP on http://localhost/ exists than PHP should be running fine.

Make sure you place you wordpress installation in the htdocs folder where you installed WAMP, all files in /htdocs/ will be able to be run with PHP in http://localhost/.
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.

#10
onething

onething

    Programmer

  • Members
  • PipPipPipPip
  • 118 posts
i remember i connected iis7 up. is that interfering with my wamp? iis7 is what shows on localhost, shall i uninstall and stay with wamp?
i think yes prolly, for instance when i installed xampp i started getting clr error on wamp, so there are prolly compatibility issues
anyway, ill research on this tomorrow

#11
Alexander

Alexander

    It's Science!

  • Moderators
  • 4,118 posts
You either need to uninstall IIS or disable it before attempting to use WAMP. IIS is most likely not what you were wanting to use in the first place (especially as PHP is not technically supposed to run on IIS), so you may want to berid of it.
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.

#12
onething

onething

    Programmer

  • Members
  • PipPipPipPip
  • 118 posts
ok, well im getting there
yup, localhost now shows the wampserver homepage not that i uninstalled iis
HOWEVER, http://localhost/wp-admin/install.php is an epic fail, both when i try to connect to it from the wordpress readme or from anywhere. perhaps this might be because i just added the wordpress folder into the wamp folder by creating one called htdocs, which wasnt there in the first place? i think maybe i still dont kno how to associate wordpress or anything to this wamp server? thankksss a ton for answer


Not Found

The requested URL /wp-admin/install.php was not found on this server.

and when i go from the readme it says

WordPress
Error: PHP is not running

WordPress requires that your web server is running PHP. Your server does not have PHP installed, or PHP is turned off.
>
WordPress
get_var("SHOW TABLES LIKE '$wpdb->users'") != null ); // Ensure that Blogs appear in search engines by default $blog_public = 1; etc

however wamp claims to have 5.3.0 installed and running