Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Compiling Php On Windows
assism
post Mar 30 2008, 06:48 AM
Post #1


Newbie
*

Group: Members
Posts: 7
Joined: 30-March 08
Member No.: 60,074



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?
Go to the top of the page
 
+Quote Post
shadowx
post Mar 30 2008, 11:15 AM
Post #2


A clever man learns from his own mistakes, a WISE man learns from those of OTHERS
*********

Group: [HOSTED]
Posts: 884
Joined: 12-April 06
From: Essex, UK
Member No.: 21,719



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
?


Go to the top of the page
 
+Quote Post
assism
post Mar 30 2008, 11:49 AM
Post #3


Newbie
*

Group: Members
Posts: 7
Joined: 30-March 08
Member No.: 60,074



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
Go to the top of the page
 
+Quote Post
shadowx
post Mar 30 2008, 12:08 PM
Post #4


A clever man learns from his own mistakes, a WISE man learns from those of OTHERS
*********

Group: [HOSTED]
Posts: 884
Joined: 12-April 06
From: Essex, UK
Member No.: 21,719



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.
Go to the top of the page
 
+Quote Post
rvalkass
post Mar 30 2008, 03:39 PM
Post #5


apt-get moo
Group Icon

Group: [MODERATOR]
Posts: 2,053
Joined: 28-May 05
From: Hertfordshire, England
Member No.: 7,593
Spam Patrol



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.
Go to the top of the page
 
+Quote Post
assism
post Mar 30 2008, 08:31 PM
Post #6


Newbie
*

Group: Members
Posts: 7
Joined: 30-March 08
Member No.: 60,074



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 .
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. How To Install Microsoft Windows Xp Automatically!(5)
  2. Windows Vista Randomly Freezing(5)
  3. Windows Vista Sp1(1)
  4. Sata Hard Drive Not Recognized By Windows(12)
  5. Windows Vista Sp1 Blocks Antivirus Programs(3)
  6. Windows Seven(18)
  7. Windows Xp Or Vista?(27)
  8. Windows Media Player 11 Officially Release!(28)
  9. What Would You Rather Change In Windows(5)
  10. Windows Xp Sp4(11)
  11. I Have Install Windows 2003 Server(4)
  12. Ctrl + C Will Not Work(17)
  13. How To Change Windows Xp Language ?(20)
  14. Increase Internet Bandwidth In Windows Xp(9)
  15. Run Internet Explorer From Command Prompt(21)
  1. Windows Vista Tranformation Pack(73)
  2. Reducing Windows Vista Start Menu Programs Response Time.(4)
  3. Start Multiple Programs With One Shortcut(15)
  4. Garage Band! Windows Version?(7)
  5. Windows Xp Freezes At Welcome Screen(39)
  6. Memory Trick To Speedup Windows Xp(28)
  7. Issue With Windows Vista - Sound Card Acting Wierd [resolved](4)
  8. Error Installing Windows Xp -error 7 Ntkrnlmp.exe(10)
  9. How To Control Other Users’ Privileges (microsoft Windows Steadystate 2.5)(1)
  10. Microsoft Windows Bill Gates Edition?(90)
  11. Is There An Adium-like Im Client For Windows?(17)
  12. Internet Connection Sharing With Xbox 360 And A Laptop(6)
  13. A Good File Explorer For Windows Xp?(6)
  14. Windows Vista, Better Or Not?(21)
  15. Windows Xp Not Being Sold Anymore?(27)


 



- Lo-Fi Version Time is now: 25th July 2008 - 09:49 AM