Hello & Welcome to our community. Is this your first visit? Register
Follow us on
Follow us on Facebook Follow us on Twitter Watch us on YouTube


MMOCoin

Likes Likes:  0
Results 1 to 6 of 6
  1. #1
    Beginner

    Join Date
    Feb 2010
    Posts
    7
    Post Thanks / Like
    Rep Power
    15
    Reputation
    1

    Problem compiling php5 in visual studio


    Register to remove this ad
    I'm trying to compile php-5.3.2 on a vista 64 using visual studio 2008.
    So I downloaded this package where i added an existing .dsp file to my project that was converted
    to VS2008.
    I’m just in the beginning of this phase.
    Something that is a bit strange is that they added the file getopt.c and this file is
    not found in ‘php-5.3.2\sapi\cgi’ where it is pointing to from the project.
    If it is there for a reason then why is it not found in the folder where it is supposed to be?
    The error I get is:
    Error 21 fatal error C1083: Cannot open source file: '..\sapi\cgi\getopt.c': No such file or directory c1 php5
    Grateful for any help on this.


    › See More: Problem compiling php5 in visual studio

  2. #2
    Contributor
    StickyIcky's Avatar
    Join Date
    Jul 2008
    Location
    127.0.0.1
    Posts
    747
    Post Thanks / Like
    Rep Power
    19
    Reputation
    188
    Why bother compile it when you can download the bin directly from php.com?

  3. #3
    Beginner

    Join Date
    Feb 2010
    Posts
    7
    Post Thanks / Like
    Rep Power
    15
    Reputation
    1
    WigSplitta: Thanks for asking. This is because it seams that you need the php compile package in order to make a new extension. I'm just following online tutorials and have no clue yet why I need the whole package.

  4. #4
    Contributor
    StickyIcky's Avatar
    Join Date
    Jul 2008
    Location
    127.0.0.1
    Posts
    747
    Post Thanks / Like
    Rep Power
    19
    Reputation
    188
    Use WAMPSERVER, if you have mysql installed already, just disable the mysql service in wamp...

    Then read a tutorial on how to use custom extensions for that.



    Much easier imho.



  5. Related Threads - Scroll Down after related threads if you are only interested to view replies for above post/thread

  6. #5
    Beginner

    Join Date
    Feb 2010
    Posts
    7
    Post Thanks / Like
    Rep Power
    15
    Reputation
    1
    Quote Originally Posted by WigSplitta View Post
    Use WAMPSERVER, if you have mysql installed already, just disable the mysql service in wamp...

    Then read a tutorial on how to use custom extensions for that.

    Much easier imho.
    Are we on the same page? Should I not have a VC++ environment in order to be able to compile my own extensions?

  7. #6
    Contributor
    StickyIcky's Avatar
    Join Date
    Jul 2008
    Location
    127.0.0.1
    Posts
    747
    Post Thanks / Like
    Rep Power
    19
    Reputation
    188

    Register to remove this ad
    But you don't need to compile it into php?

 

 

Visitors found this page by searching for:

Nobody landed on this page from a search engine, yet!
SEO Blog

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -5. The time now is 09:06 PM.
Powered by vBulletin® Copyright ©2000-2024, Jelsoft Enterprises Ltd.
See More links by ForumSetup.net. Feedback Buttons provided by Advanced Post Thanks / Like (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
vBulletin Licensed to: MMOPro.org