php-windows Digest 2 Jul 2009 15:33:48 -0000 Issue 3652

Topics (messages 29426 through 29430):

Unable to run programs in php
        29426 by: Ravi Joshi
        29428 by: Ariz Jacinto

Re: Building an extension on windows
        29427 by: Lester Caine
        29429 by: Louis Solomon

Can i run php script using command prompt in any location by typing 
scriptname.php
        29430 by: Ravi Joshi

Administrivia:

To subscribe to the digest, e-mail:
        php-windows-digest-subscr...@lists.php.net

To unsubscribe from the digest, e-mail:
        php-windows-digest-unsubscr...@lists.php.net

To post to the list, e-mail:
        php-wind...@lists.php.net


----------------------------------------------------------------------
--- Begin Message ---
Hi ,
I have downloaded php-5.2.10-win32-installer.exe(18.6MB) and installed in my 
C:\php folder.at the time of installation i have clicked on apache 2.2.x(i have 
installed apache_2.2.11-win32-x86-openssl-0.9.8i also in C:\Apache Software 
Foundation\apache folder) and i have installed all the features of php which 
comes at the time of installation.after the installation ends i have create a 
.php file as below

<?php
echo " Hello php ";
?>             
                    a very simple program to print hello php on the screen.i 
save this file as script.php in my desktop. after saving i cilck on it to run 
.there was some error something like 
Unable to locate component and in that message it says that some .dll files 
could not find .these dll files are OCI.dll , ntwdblib.dll etc. and it says to 
reinstall the php. but after reinstalling this problem occurs .
                             one thing also that i have downloaded 
php-5.2.10-Win32.zip(10MB) also. when i install that zip file(after uncompress 
it but at this time i have not install the  php-5.2.10-win32-installer.exe) my 
php programs will run good and display the output also.
but after installing  php-5.2.10-win32-installer.exe i can not run any php 
program.
                            please help me. i am new in php.



      

--- End Message ---
--- Begin Message ---
Hi Ravi,

You need to comment out those extensions in your php.ini if they don't
exist or are not part of the installer.

If you really want to get started with PHP try installing XAMPP[1] or
Zend Server Community Edition[2].

[1] http://www.apachefriends.org/en/xampp.html
[2] http://www.zend.com/community/zend-server-ce


On Tue, Jun 30, 2009 at 11:20 AM, Ravi Joshi<ravi.josh...@yahoo.com> wrote:
> Hi ,
> I have downloaded php-5.2.10-win32-installer.exe(18.6MB) and installed in my 
> C:\php folder.at the time of installation i have clicked on apache 2.2.x(i 
> have installed apache_2.2.11-win32-x86-openssl-0.9.8i also in C:\Apache 
> Software Foundation\apache folder) and i have installed all the features of 
> php which comes at the time of installation.after the installation ends i 
> have create a .php file as below
>
> <?php
> echo " Hello php ";
> ?>
>                     a very simple program to print hello php on the screen.i 
> save this file as script.php in my desktop. after saving i cilck on it to run 
> .there was some error something like
> Unable to locate component and in that message it says that some .dll files 
> could not find .these dll files are OCI.dll , ntwdblib.dll etc. and it says 
> to reinstall the php. but after reinstalling this problem occurs .
>                              one thing also that i have downloaded 
> php-5.2.10-Win32.zip(10MB) also. when i install that zip file(after 
> uncompress it but at this time i have not install the  
> php-5.2.10-win32-installer.exe) my php programs will run good and display the 
> output also.
> but after installing  php-5.2.10-win32-installer.exe i can not run any php 
> program.
>                             please help me. i am new in php.

--- End Message ---
--- Begin Message ---
u...@domain.invalid wrote:
Hi,

I'm told to build an PHP extension on windows to be used with PHP 5.2.9. What do I need for this purpose? Is there anywhere a manual telling me what to do for this purpose?

I'm using Visual Studio 2008.

Must I get the source files from PHP 5.2.9 to do this? Do I need to build PHP my self to get the lib files needed for linking, or where do I get them from?

If I must build PHP my self, where can I find instructions how to do that?

http://wiki.firebirdsql.org/wiki/index.php?page=Compiling+PHP+on+Windows+so+we+can+use+with+Firebird
and it has links to source articles as well. 5.2.x is a little different
to the 5.3 build notes, but I've run both without too much trouble - on
the free VSExpress ;)

--
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk//
Firebird - http://www.firebirdsql.org/index.php


--- End Message ---
--- Begin Message ---
> Must I get the source files from PHP 5.2.9 to do this?

Some (many) headers - yes

> Do I need to build PHP my self to get the lib files needed for linking

No, php5ts.lib is in the php\dev folder of a standard .zip release.

I suggest looking at some of the standard and example extensions that bundled 
with the source.

Louis Solomon
www.SteelBytes.com

-----Original Message-----
From: u...@domain.invalid [mailto:u...@domain.invalid] 
Sent: Wednesday, 1 July 2009 12:39 AM
To: php-wind...@lists.php.net
Subject: [PHP-WIN] Building an extension on windows

Hi,

I'm told to build an PHP extension on windows to be used with PHP 5.2.9. 
What do I need for this purpose? Is there anywhere a manual telling me 
what to do for this purpose?

I'm using Visual Studio 2008.

Must I get the source files from PHP 5.2.9 to do this? Do I need to 
build PHP my self to get the lib files needed for linking, or where do I 
get them from?

If I must build PHP my self, where can I find instructions how to do that?

Best wishes, Georg

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


--- End Message ---
--- Begin Message ---
Hi,
       I have downloaded ZendServer-CE-4.0.3-Windows_x86.exe(49.6 MB) and 
installed it in C:\Program Files\Zend derectory .Whenever i want to run any php 
script i have to put my php script in C:\Program Files\Zend\ZendServer\bin 
directory and then by the command prompt first i goto in C:\Program 
Files\Zend\ZendServer\bin location and then i type php scriptname.php. after 
doing this i get the output from php script.
      I want to ask that can i run my php script by simply double clicking or 
by command prompt only by typing scriptname.php in any location.
-Ravi Joshi


      

--- End Message ---

Reply via email to