May 16, 2008

Compiling Php On Windows

Free Web Hosting, No Ads > CONTRIBUTE > Computers > Programming Languages > PHP Programming

free web hosting

Compiling Php On Windows

assism
hello all
im trying to compile php 5 on my windows box with visual studio 2005 , every thing goes fine on my computer ,but when i moved the php.exe and the dll corresponding to it to another computer nothing happend , the program won't work.
what can i do to make it working?

Reply

shadowx
Slightly confused but my advice is so use XAMPP (google it, comes from apachefriends.com) An all in one PHP, MYSQL, Mail and FTP server for windows, highly configurable, fairly light and very easy to use. I would guess that 90% of the folk who run PHP on windows on this board use XAMPP.

And for moving around computers you can get XAMPP lite, specially made for portability.

I may have misunderstood though, what do you mean by

QUOTE
compile php 5 on my windows box with visual studio 2005
?



Reply

assism
QUOTE(shadowx @ Mar 30 2008, 02:15 PM) *
Slightly confused but my advice is so use XAMPP (google it, comes from apachefriends.com) An all in one PHP, MYSQL, Mail and FTP server for windows, highly configurable, fairly light and very easy to use. I would guess that 90% of the folk who run PHP on windows on this board use XAMPP.

And for moving around computers you can get XAMPP lite, specially made for portability.

I may have misunderstood though, what do you mean by

?



im not trying to run the apache server on windows i just need the php , i want to run some script on the client side with it

Reply

shadowx
Hum im confused still...Do you mean you want to run PHP using Visual studio on your local machine?

If you want to run PHP locally then you do need a server installation. Im not sure what the visual studio PHP "server" is like but if you do want to run PHP lcoally i would strongly suggest XAMPP.


Sorry if im still totally wrong but im confused about what exactly you want to do.

Reply

rvalkass
The reason copying the files doesn't work is most likely due to the fact that you haven't added the path to the files to your PATH environment variable. Take a look at the following two pages from the PHP documentation:

http://uk.php.net/manual/en/install.windows.manual.php
http://uk.php.net/manual/en/install.windows.building.php

Also bear in mind that compiling it and copying it generally isn't a good idea - there is bound to be something you'll miss out or get wrong. Either compile it again on the machine you want to use, or download a pre-compiled package from the PHP website.

Reply

assism
ty all
i think that i need to explain myself a little more .
im writing some program in C.
my client want that this program will have the option to run some php script on his machine.
for the php script i wrote some extension, and when i compiled it and tried to run it with the php binary , the php complained about the the module api does not match in the php and in the extension, so i tried to compile every thing , and now every thing goes fine , but only on computers that have visual studio installed on them. since on my client computer there is no vs im prety stuck .
abput changing the path , i put all the files in the same directory so that isnt the problem .

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Recent Queries:-
  1. compiling and running php - 94.90 hr back.
  2. compiling php on windows xp - 135.24 hr back.
  3. compiling php extensions windows - 139.87 hr back.
  4. how to compile php files in windows - 169.90 hr back.
  5. windows - 173.75 hr back.
  6. compile php on your pc - 173.86 hr back.
  7. how to compile php xampp - 461.92 hr back.
Similar Topics

Keywords : compiling php windows

  1. Windows Can Be Hacked Via Firewire - (8)
  2. Windows Login Credentials - (0)
    On an intranet I'm running php. apache and mysql. We use Windows logins. I have a form that
    users can submit. This will require a login. I would prefer to use the windows login and passwords.
    can I link to the windows authentication? The issue I see is when a user changes the password. My
    link would need to update the password...
  3. Php Escaped Control Characters And Windows - they aren't working for me. (3)
    In php coding, when you escape certain characters, they have an impact on the output of an
    echo'd or printed string. ie "\r\n\t" should give you a new line and a tab before
    outputting the content for a line of printing. They vary by OS, I know, but I have tried all the
    variations I can think of and can't seem to control output using them. Believe me, I have tried
    multiple variations and nothing works for me. I have checked the php.ini file for settings but I
    can't find where you can modify them. So the question is : Where do i look to conf...
  4. Parsing Html As Php - and XAMPP as the server version on Windows (7)
    On my Trap17 account here, I have an .htaccess file with the following declaration which (I think)
    forces all html files to be parsed by the PHP Parsing engine and therefore I can insert snippets of
    php scripts into html files. CODE AddType application/x-httpd-php .html .htm However, when I
    add an .htaccess file to the local directory of the version of XAMPP on my local machine, it fails.
    I have tried to add the .htaccess file to the htdocs folder and elsewhere, but it still doesn't
    work to parse html through the php parser. Any ideas on how to get these htm...
  5. Email Server Help Please - I need noob detailed help on setting up a email server on windows XP (0)
    Hello I would like to say thank you for any help you might give me. I'm new to Apache / PHP and
    MySQL I have all them up and running propertly I think. I want to make a PHP online game and I need
    to set up an email server so I can have and authincation system. When the player creates an account
    I want the computer to email the player a link the have to click on to make there account active.
    I have a Comcast 8mbits broadband connection My server is running at http://192.168.1.105 My
    PHPinfo file is http://192.168.1.105/phpinfo.php My FormMail File http://192...
  6. Create A Windows User Account - (1)
    hi, i am making an online registration scheme for my website for some webspace. i have got every
    thing sorted out exsept for one thing. to acces the ftp service and upload files to there user space
    i need to create a user account on the server for that user. is there a way to create a user account
    on a windows operating system with php 5 installed. thanks, kvarnerexpress ...
  7. Installing Apache + Php5 + Mysql - On Windows Sistems (0)
    We will use Apache 1.3.*, because it's not recommended that we run PHP on Apache 2.0 on wondows
    sistems. First, download the following programs: - Apache 1.3.* - MySQL 4.1.9 - PHP 5.0.3 2.
    Installation - Execute Apache's installation program and install it wherever you want, with the
    default options. - Extract the MySQL database on the same folder of apache (the same folder than
    htdocs) - Extract PHP on C:\php5 3. PHP Configurations Go to c:\php5 eand copy the file
    php5ts.dll to the following folders, according to your windows: - c:\windows&#...



Looking for compiling, php, windows

Searching Video's for compiling, php, windows
advertisement



Compiling Php On Windows



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE