php-windows Digest 30 Apr 2009 01:52:29 -0000 Issue 3615
Topics (messages 29290 through 29309):
Re: Win32 PECL pre-built binaries.
29290 by: Richard Quadling
29302 by: Philip Olson
29308 by: Jeff McKenna
Re: First PHP program not working
29291 by: James Crow
29297 by: Vinay Nagrik
29300 by: Richard Quadling
29303 by: James Crow
29304 by: Vinay Nagrik
29306 by: James Crow
Re: How to access MySQL through PHP in windows 2K.
29292 by: James Crow
29307 by: Walter Torres
Re: [PHP-DEV] Re: Win32 PECL pre-built binaries.
29293 by: Jared Williams
29294 by: Richard Quadling
29295 by: Jeff McKenna
29296 by: Richard Quadling
Re: [PHP-DEV] Re: [PHP-WIN] RE: [PHP-DEV] Re: Win32 PECL pre-built binaries.
29298 by: Philip Olson
29299 by: Richard Quadling
29301 by: Jeff McKenna
{** SPAM **} Re: [PHP-WIN] How to access MySQL through PHP in windows 2K.
29305 by: Jacob Kruger
PHP and Crystal Reports
29309 by: John Messam
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 ---
2009/4/29 Richard Quadling <rquadl...@googlemail.com>:
> Hi.
>
> What are the plans for providing pre-built Win32 PECL extensions.
>
> I've been waiting for http://pecl4win.php.net to become active again.
>
> I understand that each extension has to be built MANY times (VC6/VC9,
> ts/nts, PHP5.0/PHP5.1/PHP5.2/PHP5.3/PHP6.0, etc.) so this is a LOT of
> effort (20 builds per extension, 40 if debug builds are also
> performed), but something like this was available a long time ago
> (http://web.archive.org/web/20071029164203/http://pecl4win.php.net/)
>
> Regards,
>
> Richard Quadling.
> --
> -----
> Richard Quadling
> Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
> "Standing on the shoulders of some very clever giants!"
>
And this is what happens when I don't read the phpdoc commits before
asking questions!
--
-----
Richard Quadling
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
"Standing on the shoulders of some very clever giants!"
--- End Message ---
--- Begin Message ---
If the documentation is wrong/outdated then please report a bug.
I notice that every time someone files a bug about the broken links
in the "Building PHP for Windows" documentation, a PHP developer
closes the bug and says to follow the Wiki notes instead (http://wiki.php.net/internals/windows/stepbystepbuild
) which are unfortunately not complete...hence my confusion.
I see one such bug, are there others?
- http://bugs.php.net/bug.php?id=46021
In the very least the "Building PHP for Windows" section should not
include broken links, so, this bug has been reopened.
Regards,
Philip
--- End Message ---
--- Begin Message ---
Philip Olson wrote:
I see one such bug, are there others?
- http://bugs.php.net/bug.php?id=46021
Here are some:
http://bugs.php.net/bug.php?id=47008
http://bugs.php.net/bug.php?id=46259
http://bugs.php.net/bug.php?id=46069
Needless to say that the issue has been driving people crazy for a
while...someone needs to fix those links.
Thanks.
-jeff
--
Jeff McKenna
FOSS4G Consulting and Training Services
http://www.gatewaygeomatics.com/
--- End Message ---
--- Begin Message ---
Vinay Nagrik wrote:
Hello Group,
I am beginner to learning PHP and I am still struggling to start my first
php program.
I downloaded apache httpd sever, which resides on "Windows XP" under
C:\Program Files\Apache Software Foundation\Apache2.2
and directories therein.
Similarly the PHP download resides under
C:\Program Files\PHP
I have made following configuration changes to httpd file, which resides
under
C:\Program Files\Apache Software Foundation\Apache2.2\conf
although it does not show .conf extenstion, but I believe even without .conf
extension "Which is hidden", it is the appropriate conf file.
The changes
ServerRoot "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs"
LoadModule php5_module C:\Program Files\php\php5apache2_2.dll
PHPIniDir "C:\Program Files\php\"
AddType applicaton/x-httpd-php .php
for php.ini I made following changes
extension_dir = "C:\Program Files\PHP"
extension=C:\Program Files\MySQL\MySQL Server5.1\bin\libmySQL.dll
doc_root = "C:\Pogram Files\Apache Software Foundation\Apache2.2\htdocs"
I have also created a .php test program, which reads like
<? phpinfo(); ?>
and resides under htdocs directory under Apache installation.
The htdocs directory also has an html page.
The .html pages residing under htdpcs directory show themselves on following
URL, however .php pages do not
http://localhost/ shows "It Works"
http://localhost/index.html shows "It Works"
However,
http://localhost/test.php shows "404 error"
Can someone help me in configuring my httpd server for php files
Error 404 is a standard web error. It does not come from php. When you
look through Windows Explorer is the test.php file in the same folder as
index.html? Something that may be helpful is to look at the Apache log.
From your email it would appear to be located at C:\Program
Files\Apache Software Foundation\Apache2.2\logs. There should be an
error.log (but you may not see the log part of the filename) and an
access.log.
First check to make sure that the test.php file is in the correct folder
and then check the log files.
Thanks,
James
--- End Message ---
--- Begin Message ---
Hello Group,
Till yesteday, the .html file under htdocs were working fine under
http://localhost/index.html
but today the same URL
http://localhost/index.html gives 404 error.
My guess is that my apache web server is not working.
Can someone tell me
"How do I make sure that I am running Apache httpd server."
Besides, yesterday when my .html files were working under
http://localhost/URL, and .php files were not working the log says the
following.
#################
Apr 28 07:43:01 2009] [notice] Apache/2.2.11 (Win32) configured -- resuming
normal operations
[Tue Apr 28 07:43:01 2009] [notice] Server built: Dec 10 2008 00:10:06
[Tue Apr 28 07:43:01 2009] [notice] Parent: Created child process 1296
[Tue Apr 28 07:43:01 2009] [notice] Child 1296: Child process is running
[Tue Apr 28 07:43:01 2009] [notice] Child 1296: Acquired the start mutex.
[Tue Apr 28 07:43:01 2009] [notice] Child 1296: Starting 64 worker threads.
[Tue Apr 28 07:43:01 2009] [notice] Child 1296: Starting thread to listen on
port 80.
[Tue Apr 28 13:53:17 2009] [error] [client 192.168.1.104] File does not
exist: C:/Program Files/Apache Software
Foundation/Apache2.2/htdocs/crossdomain.xml
[Tue Apr 28 14:47:45 2009] [error] [client 127.0.0.1] File does not exist:
C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/favicon.ico
#####################################
Can someone tell me what these two files are, what do they do, why are they
important, and why no liteature mentions about them.
Any help will be appreciated.
nagrik.
On Wed, Apr 29, 2009 at 4:32 AM, James Crow <ja...@ultratans.com> wrote:
> Vinay Nagrik wrote:
>
>> Hello Group,
>>
>> I am beginner to learning PHP and I am still struggling to start my first
>> php program.
>>
>> I downloaded apache httpd sever, which resides on "Windows XP" under
>>
>> C:\Program Files\Apache Software Foundation\Apache2.2
>>
>> and directories therein.
>>
>> Similarly the PHP download resides under
>>
>> C:\Program Files\PHP
>>
>> I have made following configuration changes to httpd file, which resides
>> under
>>
>> C:\Program Files\Apache Software Foundation\Apache2.2\conf
>>
>> although it does not show .conf extenstion, but I believe even without
>> .conf
>> extension "Which is hidden", it is the appropriate conf file.
>>
>> The changes
>>
>> ServerRoot "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs"
>> LoadModule php5_module C:\Program Files\php\php5apache2_2.dll
>> PHPIniDir "C:\Program Files\php\"
>> AddType applicaton/x-httpd-php .php
>>
>> for php.ini I made following changes
>>
>> extension_dir = "C:\Program Files\PHP"
>> extension=C:\Program Files\MySQL\MySQL Server5.1\bin\libmySQL.dll
>> doc_root = "C:\Pogram Files\Apache Software Foundation\Apache2.2\htdocs"
>>
>> I have also created a .php test program, which reads like
>>
>> <? phpinfo(); ?>
>>
>> and resides under htdocs directory under Apache installation.
>>
>> The htdocs directory also has an html page.
>>
>> The .html pages residing under htdpcs directory show themselves on
>> following
>> URL, however .php pages do not
>>
>> http://localhost/ shows "It Works"
>> http://localhost/index.html shows "It Works"
>>
>> However,
>>
>> http://localhost/test.php shows "404 error"
>>
>> Can someone help me in configuring my httpd server for php files
>>
>>
> Error 404 is a standard web error. It does not come from php. When you look
> through Windows Explorer is the test.php file in the same folder as
> index.html? Something that may be helpful is to look at the Apache log. From
> your email it would appear to be located at C:\Program Files\Apache Software
> Foundation\Apache2.2\logs. There should be an error.log (but you may not see
> the log part of the filename) and an access.log.
>
> First check to make sure that the test.php file is in the correct folder
> and then check the log files.
>
> Thanks,
> James
>
>
--
Thanks
Nagrik
--- End Message ---
--- Begin Message ---
2009/4/29 Vinay Nagrik <vnag...@gmail.com>:
> Hello Group,
>
> Till yesteday, the .html file under htdocs were working fine under
>
> http://localhost/index.html
>
> but today the same URL
>
> http://localhost/index.html gives 404 error.
>
> My guess is that my apache web server is not working.
>
> Can someone tell me
>
> "How do I make sure that I am running Apache httpd server."
>
> Besides, yesterday when my .html files were working under
> http://localhost/URL, and .php files were not working the log says the
> following.
>
> #################
> Apr 28 07:43:01 2009] [notice] Apache/2.2.11 (Win32) configured -- resuming
> normal operations
> [Tue Apr 28 07:43:01 2009] [notice] Server built: Dec 10 2008 00:10:06
> [Tue Apr 28 07:43:01 2009] [notice] Parent: Created child process 1296
> [Tue Apr 28 07:43:01 2009] [notice] Child 1296: Child process is running
> [Tue Apr 28 07:43:01 2009] [notice] Child 1296: Acquired the start mutex.
> [Tue Apr 28 07:43:01 2009] [notice] Child 1296: Starting 64 worker threads.
> [Tue Apr 28 07:43:01 2009] [notice] Child 1296: Starting thread to listen on
> port 80.
> [Tue Apr 28 13:53:17 2009] [error] [client 192.168.1.104] File does not
> exist: C:/Program Files/Apache Software
> Foundation/Apache2.2/htdocs/crossdomain.xml
> [Tue Apr 28 14:47:45 2009] [error] [client 127.0.0.1] File does not exist:
> C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/favicon.ico
> #####################################
>
> Can someone tell me what these two files are, what do they do, why are they
> important, and why no liteature mentions about them.
>
> Any help will be appreciated.
>
> nagrik.
>
> On Wed, Apr 29, 2009 at 4:32 AM, James Crow <ja...@ultratans.com> wrote:
>
>> Vinay Nagrik wrote:
>>
>>> Hello Group,
>>>
>>> I am beginner to learning PHP and I am still struggling to start my first
>>> php program.
>>>
>>> I downloaded apache httpd sever, which resides on "Windows XP" under
>>>
>>> C:\Program Files\Apache Software Foundation\Apache2.2
>>>
>>> and directories therein.
>>>
>>> Similarly the PHP download resides under
>>>
>>> C:\Program Files\PHP
>>>
>>> I have made following configuration changes to httpd file, which resides
>>> under
>>>
>>> C:\Program Files\Apache Software Foundation\Apache2.2\conf
>>>
>>> although it does not show .conf extenstion, but I believe even without
>>> .conf
>>> extension "Which is hidden", it is the appropriate conf file.
>>>
>>> The changes
>>>
>>> ServerRoot "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs"
>>> LoadModule php5_module C:\Program Files\php\php5apache2_2.dll
>>> PHPIniDir "C:\Program Files\php\"
>>> AddType applicaton/x-httpd-php .php
>>>
>>> for php.ini I made following changes
>>>
>>> extension_dir = "C:\Program Files\PHP"
>>> extension=C:\Program Files\MySQL\MySQL Server5.1\bin\libmySQL.dll
>>> doc_root = "C:\Pogram Files\Apache Software Foundation\Apache2.2\htdocs"
>>>
>>> I have also created a .php test program, which reads like
>>>
>>> <? phpinfo(); ?>
>>>
>>> and resides under htdocs directory under Apache installation.
>>>
>>> The htdocs directory also has an html page.
>>>
>>> The .html pages residing under htdpcs directory show themselves on
>>> following
>>> URL, however .php pages do not
>>>
>>> http://localhost/ shows "It Works"
>>> http://localhost/index.html shows "It Works"
>>>
>>> However,
>>>
>>> http://localhost/test.php shows "404 error"
>>>
>>> Can someone help me in configuring my httpd server for php files
>>>
>>>
>> Error 404 is a standard web error. It does not come from php. When you look
>> through Windows Explorer is the test.php file in the same folder as
>> index.html? Something that may be helpful is to look at the Apache log. From
>> your email it would appear to be located at C:\Program Files\Apache Software
>> Foundation\Apache2.2\logs. There should be an error.log (but you may not see
>> the log part of the filename) and an access.log.
>>
>> First check to make sure that the test.php file is in the correct folder
>> and then check the log files.
>>
>> Thanks,
>> James
>>
>>
>
>
> --
> Thanks
>
> Nagrik
>
favicon.ico http://en.wikipedia.org/wiki/Favicon.ico
crossdomain.xml http://en.wikipedia.org/wiki/Cross-site_request_forgery
--
-----
Richard Quadling
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
"Standing on the shoulders of some very clever giants!"
--- End Message ---
--- Begin Message ---
Richard Quadling wrote:
2009/4/29 Vinay Nagrik <vnag...@gmail.com>:
Hello Group,
Till yesteday, the .html file under htdocs were working fine under
http://localhost/index.html
but today the same URL
http://localhost/index.html gives 404 error.
My guess is that my apache web server is not working.
Can someone tell me
"How do I make sure that I am running Apache httpd server."
Besides, yesterday when my .html files were working under
http://localhost/URL, and .php files were not working the log says the
following.
#################
Apr 28 07:43:01 2009] [notice] Apache/2.2.11 (Win32) configured -- resuming
normal operations
[Tue Apr 28 07:43:01 2009] [notice] Server built: Dec 10 2008 00:10:06
[Tue Apr 28 07:43:01 2009] [notice] Parent: Created child process 1296
[Tue Apr 28 07:43:01 2009] [notice] Child 1296: Child process is running
[Tue Apr 28 07:43:01 2009] [notice] Child 1296: Acquired the start mutex.
[Tue Apr 28 07:43:01 2009] [notice] Child 1296: Starting 64 worker threads.
[Tue Apr 28 07:43:01 2009] [notice] Child 1296: Starting thread to listen on
port 80.
[Tue Apr 28 13:53:17 2009] [error] [client 192.168.1.104] File does not
exist: C:/Program Files/Apache Software
Foundation/Apache2.2/htdocs/crossdomain.xml
[Tue Apr 28 14:47:45 2009] [error] [client 127.0.0.1] File does not exist:
C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/favicon.ico
#####################################
Can someone tell me what these two files are, what do they do, why are they
important, and why no liteature mentions about them.
Any help will be appreciated.
nagrik.
On Wed, Apr 29, 2009 at 4:32 AM, James Crow <ja...@ultratans.com> wrote:
<snip>
--
Thanks
Nagrik
favicon.ico http://en.wikipedia.org/wiki/Favicon.ico
crossdomain.xml http://en.wikipedia.org/wiki/Cross-site_request_forgery
On windows you can check the status of a service by running:
sc query apache2
from a command prompt. The process name may be apache22. There is also
the Services MSC SnapIn that can be opened from Control
Panel->Administrative Tools->Services icon. It will list the status of
all installed services.
You seem to have two problems:
1) Apache serving up 404 errors vice web pages
2) PHP scripts not executing
Fix Apache first before you worry about PHP. If there is an error in the
php.ini file it can cause Apache not to start. The error.log file I
mentioned earlier will show these types of errors though.
Cheers,
James
--- End Message ---
--- Begin Message ---
Hello Everybody,
I checked my services and my find is
Apache is installed and is suppsed to start in 'Automatic' mode following is
the entry in the Services
Name Description Status Startup
Type LogOn As
Apache Apache/2.2.11 (Win32) ------
Automatic Local System
However, the services does not start automatically, when I logon as an user
or as an administrator.
I tried starting 'Apache' manually by going into the installed software at
the bottom of the taskbar. While logged on as a user, it forces me to start
the service as an 'administrator', but then asks for the password. As far
as password is concerned for the administrator for Apache, "I do not have
any password" and it fails to start 'Apache'.
When I log on as administrator, even then it does not start Apache. When I
try to start Apache manually, it gives error message,
"Requested services failed."
I know I am missing one small point. And I know out there is somebody, who
must have encountered the same problem.
Please help.
nagrik.
On Wed, Apr 29, 2009 at 8:29 AM, James Crow <ja...@ultratans.com> wrote:
> Richard Quadling wrote:
>
>> 2009/4/29 Vinay Nagrik <vnag...@gmail.com>:
>>
>>
>>> Hello Group,
>>>
>>> Till yesteday, the .html file under htdocs were working fine under
>>>
>>> http://localhost/index.html
>>>
>>> but today the same URL
>>>
>>> http://localhost/index.html gives 404 error.
>>>
>>> My guess is that my apache web server is not working.
>>>
>>> Can someone tell me
>>>
>>> "How do I make sure that I am running Apache httpd server."
>>>
>>> Besides, yesterday when my .html files were working under
>>> http://localhost/URL, and .php files were not working the log says the
>>> following.
>>>
>>> #################
>>> Apr 28 07:43:01 2009] [notice] Apache/2.2.11 (Win32) configured --
>>> resuming
>>> normal operations
>>> [Tue Apr 28 07:43:01 2009] [notice] Server built: Dec 10 2008 00:10:06
>>> [Tue Apr 28 07:43:01 2009] [notice] Parent: Created child process 1296
>>> [Tue Apr 28 07:43:01 2009] [notice] Child 1296: Child process is running
>>> [Tue Apr 28 07:43:01 2009] [notice] Child 1296: Acquired the start mutex.
>>> [Tue Apr 28 07:43:01 2009] [notice] Child 1296: Starting 64 worker
>>> threads.
>>> [Tue Apr 28 07:43:01 2009] [notice] Child 1296: Starting thread to listen
>>> on
>>> port 80.
>>> [Tue Apr 28 13:53:17 2009] [error] [client 192.168.1.104] File does not
>>> exist: C:/Program Files/Apache Software
>>> Foundation/Apache2.2/htdocs/crossdomain.xml
>>> [Tue Apr 28 14:47:45 2009] [error] [client 127.0.0.1] File does not
>>> exist:
>>> C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/favicon.ico
>>> #####################################
>>>
>>> Can someone tell me what these two files are, what do they do, why are
>>> they
>>> important, and why no liteature mentions about them.
>>>
>>> Any help will be appreciated.
>>>
>>> nagrik.
>>>
>>> On Wed, Apr 29, 2009 at 4:32 AM, James Crow <ja...@ultratans.com> wrote:
>>>
>>>
>>>
>>>> <snip>
>>>>
>>> --
>>> Thanks
>>>
>>> Nagrik
>>>
>>>
>>>
>>
>> favicon.ico http://en.wikipedia.org/wiki/Favicon.ico
>> crossdomain.xml http://en.wikipedia.org/wiki/Cross-site_request_forgery
>>
>>
>>
> On windows you can check the status of a service by running:
>
> sc query apache2
>
> from a command prompt. The process name may be apache22. There is also the
> Services MSC SnapIn that can be opened from Control Panel->Administrative
> Tools->Services icon. It will list the status of all installed services.
>
> You seem to have two problems:
> 1) Apache serving up 404 errors vice web pages
> 2) PHP scripts not executing
>
> Fix Apache first before you worry about PHP. If there is an error in the
> php.ini file it can cause Apache not to start. The error.log file I
> mentioned earlier will show these types of errors though.
>
> Cheers,
> James
>
--
Thanks
Nagrik
--- End Message ---
--- Begin Message ---
Check the error.log file. It will tell you why the Apache service is not
starting.
Vinay Nagrik wrote:
Hello Everybody,
I checked my services and my find is
Apache is installed and is suppsed to start in 'Automatic' mode following is
the entry in the Services
Name Description Status Startup
Type LogOn As
Apache Apache/2.2.11 (Win32) ------
Automatic Local System
However, the services does not start automatically, when I logon as an user
or as an administrator.
I tried starting 'Apache' manually by going into the installed software at
the bottom of the taskbar. While logged on as a user, it forces me to start
the service as an 'administrator', but then asks for the password. As far
as password is concerned for the administrator for Apache, "I do not have
any password" and it fails to start 'Apache'.
When I log on as administrator, even then it does not start Apache. When I
try to start Apache manually, it gives error message,
"Requested services failed."
I know I am missing one small point. And I know out there is somebody, who
must have encountered the same problem.
Please help.
nagrik.
On Wed, Apr 29, 2009 at 8:29 AM, James Crow <ja...@ultratans.com> wrote:
<snip>
--- End Message ---
--- Begin Message ---
Katiyar (GMail) wrote:
Hi List,
I am new to PHP and as well as with MySQL,
* I have installed PHP 5.28, on win 2K (with IIS) and it is
installed properly I suppose, as when I call phpinfo (), through
a script, it shows the PHP Information.
* then I installed MySQL 5.1.30, and through MySQL command prompt
I am able to do things (creating tables, making queries etc).
* Now I want to use MySQL with PHP, but seems that MySQLI is not
installed properly. as when I write a following script in a php
page I get the error, that 'MySQLi'* *is not installed properly,.
*<?php
$si = function_exists ( 'mysqli_connect' ) ;
if ( $si )
{
echo ' MySQLi appears to be installed correctly ' ;
}
else
{
echo 'MySQLi <B> does not </B> appears to be installed. ' ;
}
?>*
I understand that it is a configuration error somewhere, as I am new
here in this world I am unable to figure out what ?
I am attaching the php.ini for the reference.
Praveen K.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- =-=-=-=-=-=-=
Praveen Katiyar
Site : http://praveenkatiyar.co.cc
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- =-=-=-=-=-=-=
I did not see an attached file, but the mysqli extension must be
activated in the php.ini file. Search the file and see if you have a
line like this:
;extension=php_mysqli.dll
Note the ';' at the beginning. The semicolon makes the line a comment
and php ignores it. You have to remove the comment to activate the
extension. The other thing is the php_mysqli.dll file must be present in
the extension directory for php. To find the extension directory search
the php.ini file extension_dir. In my php.ini the line looks like this:
extension_dir = "c:\php\ext". Make sure the php_mysqli.dll file is in
the directory listed in extension_dir.
Thanks,
James
--
James Crow
IT Manager
ULTRATAN, Inc
<ja...@ultratans.com>
--- End Message ---
--- Begin Message ---
web.walters-way.com
complete details on how to get a LAMP-like stack running on just about
nay windows platform.
Yes, there are windows INSTALLERs that will do the "work" for you, but
they don't help when something goes wrong.
If you want to learn this stuff, learn it from the ground up.
A great pilot knows his airplane, knows how and *why* it works the way
it does.
A great developer should know how and why Apache & PHP & mySQL work
together and and to correct issues as they arise. It's more than just
installing an "app".
Good luck.
Walter--
...that's the thing about people who think they hate computers.
What they really hate is lousy programmers.
- Larry Niven and Jerry Pournelle in "Oath of Fealty"
--- End Message ---
--- Begin Message ---
> -----Original Message-----
> From: Richard Quadling [mailto:rquadl...@googlemail.com]
> Sent: 29 April 2009 11:33
> To: PHP internals; php-windows
> Subject: [PHP-DEV] Re: Win32 PECL pre-built binaries.
>
> 2009/4/29 Richard Quadling <rquadl...@googlemail.com>:
> > Hi.
> >
> > What are the plans for providing pre-built Win32 PECL extensions.
> >
> > I've been waiting for http://pecl4win.php.net to become
> active again.
> >
> > I understand that each extension has to be built MANY times
> (VC6/VC9,
> > ts/nts, PHP5.0/PHP5.1/PHP5.2/PHP5.3/PHP6.0, etc.) so this
> is a LOT of
> > effort (20 builds per extension, 40 if debug builds are also
> > performed), but something like this was available a long time ago
> > (http://web.archive.org/web/20071029164203/http://pecl4win.php.net/)
> >
> > Regards,
> >
> > Richard Quadling.
> > --
> > -----
> > Richard Quadling
> > Zend Certified Engineer :
> > http://zend.com/zce.php?c=ZEND002498&r=213474731
> > "Standing on the shoulders of some very clever giants!"
> >
>
> And this is what happens when I don't read the phpdoc commits
> before asking questions!
>
>
So what was it?
Jared
--- End Message ---
--- Begin Message ---
2009/4/29 Jared Williams <jared.willia...@ntlworld.com>:
>
>
>> -----Original Message-----
>> From: Richard Quadling [mailto:rquadl...@googlemail.com]
>> Sent: 29 April 2009 11:33
>> To: PHP internals; php-windows
>> Subject: [PHP-DEV] Re: Win32 PECL pre-built binaries.
>>
>> 2009/4/29 Richard Quadling <rquadl...@googlemail.com>:
>> > Hi.
>> >
>> > What are the plans for providing pre-built Win32 PECL extensions.
>> >
>> > I've been waiting for http://pecl4win.php.net to become
>> active again.
>> >
>> > I understand that each extension has to be built MANY times
>> (VC6/VC9,
>> > ts/nts, PHP5.0/PHP5.1/PHP5.2/PHP5.3/PHP6.0, etc.) so this
>> is a LOT of
>> > effort (20 builds per extension, 40 if debug builds are also
>> > performed), but something like this was available a long time ago
>> > (http://web.archive.org/web/20071029164203/http://pecl4win.php.net/)
>> >
>> > Regards,
>> >
>> > Richard Quadling.
>> > --
>> > -----
>> > Richard Quadling
>> > Zend Certified Engineer :
>> > http://zend.com/zce.php?c=ZEND002498&r=213474731
>> > "Standing on the shoulders of some very clever giants!"
>> >
>>
>> And this is what happens when I don't read the phpdoc commits
>> before asking questions!
>>
>>
>
> So what was it?
>
> Jared
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
http://docs.php.net/manual/en/install.pecl.downloads.php "At this time
the PHP project does not compile Windows binaries for PECL extensions.
However, to compile PHP under Windows see the chapter titled building
PHP for Windows."
--
-----
Richard Quadling
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
"Standing on the shoulders of some very clever giants!"
--- End Message ---
--- Begin Message ---
http://docs.php.net/manual/en/install.pecl.downloads.php "At this time
the PHP project does not compile Windows binaries for PECL extensions.
However, to compile PHP under Windows see the chapter titled building
PHP for Windows."
Small world: that chapter "Building PHP for Windows" is exactly why I
sent a message yesterday to the php-windows list asking where the most
uptodate instructions are for building PHP with VC 9 on Windows (that
chapter has broken links to the build tools, and the Wiki page,
http://wiki.php.net/internals/windows/stepbystepbuild, is incomplete).
So it seems we're in limbo for building!
-jeff
--
Jeff McKenna
FOSS4G Consulting and Training Services
http://www.gatewaygeomatics.com/
--- End Message ---
--- Begin Message ---
2009/4/29 Jeff McKenna <jmcke...@gatewaygeomatics.com>:
>
>>
>> http://docs.php.net/manual/en/install.pecl.downloads.php "At this time
>> the PHP project does not compile Windows binaries for PECL extensions.
>> However, to compile PHP under Windows see the chapter titled building
>> PHP for Windows."
>>
>>
>
> Small world: that chapter "Building PHP for Windows" is exactly why I sent a
> message yesterday to the php-windows list asking where the most uptodate
> instructions are for building PHP with VC 9 on Windows (that chapter has
> broken links to the build tools, and the Wiki page,
> http://wiki.php.net/internals/windows/stepbystepbuild, is incomplete). So it
> seems we're in limbo for building!
>
> -jeff
>
>
>
> --
> Jeff McKenna
> FOSS4G Consulting and Training Services
> http://www.gatewaygeomatics.com/
>
>
>
It seems like this isn't going to be fixed any time soon.
220 extensions which may have version specific external libraries and
each one needing to be built at least 20 ways (VC6/9, ts/nts,
5.0/5.1/5.2/5.3/6.0). That gives 4,400 build processes. Debug? 8,800
builds. And then more if there are different external libraries,
though I would hope that a version of a PECL extension would only run
with a single version of an external library. I don't know if the
dependencies are maintained in any easy way.
Compare that with PHP's handful of builds.
--
-----
Richard Quadling
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
"Standing on the shoulders of some very clever giants!"
--- End Message ---
--- Begin Message ---
It seems like this isn't going to be fixed any time soon.
220 extensions which may have version specific external libraries and
each one needing to be built at least 20 ways (VC6/9, ts/nts,
5.0/5.1/5.2/5.3/6.0). That gives 4,400 build processes. Debug? 8,800
builds. And then more if there are different external libraries,
though I would hope that a version of a PECL extension would only run
with a single version of an external library. I don't know if the
dependencies are maintained in any easy way.
Compare that with PHP's handful of builds.
DLL downloads will be offered at pecl.php.net for active PHP branches
(5_2, 5_3, 6_0).
However, this does not exist today so yesterday I removed all
references to pecl4win from the PHP manual and referred to the "build
it yourself" documentation. If the documentation is wrong/outdated
then please report a bug.
Regards,
Philip
--- End Message ---
--- Begin Message ---
2009/4/29 Philip Olson <phi...@roshambo.org>:
>
>> It seems like this isn't going to be fixed any time soon.
>>
>> 220 extensions which may have version specific external libraries and
>> each one needing to be built at least 20 ways (VC6/9, ts/nts,
>> 5.0/5.1/5.2/5.3/6.0). That gives 4,400 build processes. Debug? 8,800
>> builds. And then more if there are different external libraries,
>> though I would hope that a version of a PECL extension would only run
>> with a single version of an external library. I don't know if the
>> dependencies are maintained in any easy way.
>>
>> Compare that with PHP's handful of builds.
>
>
> DLL downloads will be offered at pecl.php.net for active PHP branches (5_2,
> 5_3, 6_0).
>
> However, this does not exist today so yesterday I removed all references to
> pecl4win from the PHP manual and referred to the "build it yourself"
> documentation. If the documentation is wrong/outdated then please report a
> bug.
>
> Regards,
> Philip
>
>
Looking forward to play with the old extensions.
--
-----
Richard Quadling
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
"Standing on the shoulders of some very clever giants!"
--- End Message ---
--- Begin Message ---
Philip Olson wrote:
If the documentation is wrong/outdated then please report
a bug.
I notice that every time someone files a bug about the broken links in
the "Building PHP for Windows" documentation, a PHP developer closes the
bug and says to follow the Wiki notes instead
(http://wiki.php.net/internals/windows/stepbystepbuild) which are
unfortunately not complete...hence my confusion.
-jeff
--
Jeff McKenna
FOSS4G Consulting and Training Services
http://www.gatewaygeomatics.com/
--- End Message ---
--- Begin Message ---
FWIW, while I'm using windows xp pro, I just use the WAMP package to run
php, mysql and apache on my machine:
http://www.wampserver.com/en/
All I've done extra is make it run using port 81 so I can also still run IIS
for asp.net stuff.
Stay well
Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broken his body, but not his spirit...'
----- Original Message -----
From: "James Crow" <ja...@ultratans.com>
To: "Katiyar (GMail)" <katiya...@gmail.com>
Cc: <php-wind...@lists.php.net>
Sent: Wednesday, April 29, 2009 1:37 PM
Subject: Re: [PHP-WIN] How to access MySQL through PHP in windows 2K.
Katiyar (GMail) wrote:
Hi List,
I am new to PHP and as well as with MySQL,
* I have installed PHP 5.28, on win 2K (with IIS) and it is
installed properly I suppose, as when I call phpinfo (), through
a script, it shows the PHP Information.
* then I installed MySQL 5.1.30, and through MySQL command prompt
I am able to do things (creating tables, making queries etc).
* Now I want to use MySQL with PHP, but seems that MySQLI is not
installed properly. as when I write a following script in a php
page I get the error, that 'MySQLi'* *is not installed properly,.
*<?php $si = function_exists ( 'mysqli_connect' ) ;
if ( $si )
{
echo ' MySQLi appears to be installed correctly ' ;
}
else
{
echo 'MySQLi <B> does not </B> appears to be installed. ' ;
}
?>*
I understand that it is a configuration error somewhere, as I am new
here in this world I am unable to figure out what ?
I am attaching the php.ini for the reference.
Praveen K.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- =-=-=-=-=-=-=
Praveen Katiyar
Site : http://praveenkatiyar.co.cc
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- =-=-=-=-=-=-=
I did not see an attached file, but the mysqli extension must be activated
in the php.ini file. Search the file and see if you have a line like this:
;extension=php_mysqli.dll
Note the ';' at the beginning. The semicolon makes the line a comment and
php ignores it. You have to remove the comment to activate the extension.
The other thing is the php_mysqli.dll file must be present in the
extension directory for php. To find the extension directory search the
php.ini file extension_dir. In my php.ini the line looks like this:
extension_dir = "c:\php\ext". Make sure the php_mysqli.dll file is in the
directory listed in extension_dir.
Thanks,
James
--
James Crow
IT Manager
ULTRATAN, Inc
<ja...@ultratans.com>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
__________ Information from ESET NOD32 Antivirus, version of virus
signature database 4043 (20090429) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
__________ Information from ESET NOD32 Antivirus, version of virus signature
database 4043 (20090429) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
__________ Information from ESET NOD32 Antivirus, version of virus signature
database 4043 (20090429) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
--- End Message ---
--- Begin Message ---
I am trying to write a php program that opens a number of reports written in
Crystal 11. From research on the internet, I found that CR would have to be
called using COM. So I did that. From the command line it triggers a dialog
box saying that the version of Crystal the reports was written in was later
than the one that is being used to open it via the php program. The other
problem is that when it is run from the browser the program hangs on the
openReport command
Can anyone assist me on resolving the hanging issue or the entire thing for
that matter.
Thanks!
John
_________________________________________________________________
Show them the way! Add maps and directions to your party invites.
http://www.microsoft.com/windows/windowslive/products/events.aspx
--- End Message ---