[PHP-WIN] PHP Related Questions
Hi, I am relatively new to PHP and brand new to PHP interacting with databases. I will do my development on my WinXP Home laptop and host my actual site at a Linux based hosting service. I have two questions. First, Has anybody had any success installing apache 1.3.31 as a module for WinXP Home Edition? I've followed the instructions outlined here http://us4.php.net/manual/en/install.windows.manual.php and http://us4.php.net/manual/en/install.windows.apache1.php to a "T." The result is that my web browser gives me a "download or open" dialogue box b/c it doesn't recognize PHP extensions. I have since configured PHP as CGI, but I understand that one can't have a persistent database connection with a CGI set up. Any help would be appreciated. Secondly, I am trying to DBG debugger to work with PHP Coder. I followed the DBG instructions, however, I get a whole bunch of nothing when I run "debugger" from PHP Coder. Any help here would be greatly appreciated. - Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages!
Re: [PHP-WIN] Php5 merging with Java???
Jim, I think that is pure speculation at this point. Jim MacDiarmid <[EMAIL PROTECTED]> wrote: I've been reading the latest articles about the future of PHP and based on the way I am understanding it, I'm getting the impression that PHP will not be free or open source. I'm interested in getting other PHP developer options and/or clarification of this direction. What is this going to do to the PHP community? Will most PHP developers stick with it or take up some other language such as C# for example? I am a relatively new PHP developer and I really like it's ease of use and all the functionality the current 4.x.x version has, so I find the news of it's current path rather depressing. Thank you all in advance for your input, Jim -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Re: [PHP-WIN] Help required for developing word reports.
does this article help? just to get you thinking... why do you *need* word? are there any other reasonable alternatives? could you format html so that it would print like word would print it? CBharadwaj <[EMAIL PROTECTED]> wrote:Dear All, I want to developing reports using PHP. These reports i have to develop on MS WORD. I have a database with multiple records VAL 1 | VAL 2 - VAL3 | VAL 4 VAL 5 | VAL 6 How to print these multiple rows on word in this format. Thanks in advance. Bharadwaj. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php - Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages!
Re: [PHP-WIN] Help required for developing word reports.
Does this link help? http://www.phpbuilder.com/columns/yunus20031124.php3?page=1 CBharadwaj <[EMAIL PROTECTED]> wrote: I can vey well generate reports in HTML formats. I want to generate only on MS WORD as it is a requirement of my client.. I have to do accordingly. I did not get your Question " Does this article help ?". Bye Bharadwaj. - Original Message - From: [EMAIL PROTECTED] To: CBharadwaj ; Gryffyn, Trevor Cc: [EMAIL PROTECTED] Sent: Saturday, September 04, 2004 2:30 AM Subject: Re: [PHP-WIN] Help required for developing word reports. does this article help? just to get you thinking... why do you *need* word? are there any other reasonable alternatives? could you format html so that it would print like word would print it? CBharadwaj wrote: Dear All, I want to developing reports using PHP. These reports i have to develop on MS WORD. I have a database with multiple records VAL 1 | VAL 2 - VAL3 | VAL 4 VAL 5 | VAL 6 How to print these multiple rows on word in this format. Thanks in advance. Bharadwaj. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! - Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage!
Re: [PHP-WIN] Windows, Apache, and PHP
dennis, the first step is to get apache running. did you do that? did you test it by typing in "localhost" and getting the apache page? i also found it easier t install apache to the c:\ so that the path ends up being c:\apache. The default includes "Program files" in the path and I think the space caused me some big time grief. you may be able to overcome that by using quote marks surrounding the path, but i chose to install at c:\ instead. php4apache.dll should be in your php/dll folder (there is another important file i can't recall right now). i moved it up to my c:\php folder which i put in my xp path startup path. if you don't have it i don't think php wll run. give me a little more information and i'll help from there. "Gross, Dennis" <[EMAIL PROTECTED]> wrote: Hi. I am trying to install Apache and PHP on a desktop running Windows XP. This is a test site, I am not interested in a live site yet. When I try to run Apache, I get the message that the system could not find the php4apache.dll. This is a line in the httpd.conf file, but there is no php4apache.dll on my PC. The PHP version is 4.3.3.8, and Apache is is version 1.3.something. Can anyone help? Dennis - Do you Yahoo!? Win 1 of 4,000 free domain names from Yahoo! Enter now.
[PHP-WIN] Virtual Host Problem - WinXP Home, Apache 1.3.31, PHP 4.3.8
Hi all, i'm having trouble getting virtual hosting to recognize subdirectories of my root directory. i go over my phpini, hosts and httpd.conf file additions/edits and then i discuss the unexpected results that i'm getting. tia for any suggestions to get back to the land of the expected. PHP.INI FILE doc_root = "c:\web" extension_dir = "c:\php\extensions" extension=php_pgsql.dll extension=php_dbg.dll-4.3.6 HOSTS 127.0.0.1 localhost 127.0.0.1 site1.com HTTPD.CONF ServerName localhost ... DocumentRoot "C:/web" ... ... DirectoryIndex index.php index.htm index.html ... SetEnv PHPRC "c:/php" ScriptAlias /php/ "c:/php/" AddType application/x-httpd-php .php AddType application/x-httpd-php .htm AddType application/x-httpd-php .html Action application/x-httpd-php "/php/php.exe" ... NameVirtualHost 127.0.0.1 DocumentRoot "C:/web" ServerName site1.com when i type in localhost or site1.com into my browser, i'm taken to the index.php file in c:\php as one wouold expect. however, when i update my virtualhost directive to... NameVirtualHost 127.0.0.1 DocumentRoot "C:/web/site1" ServerName site1.com then i get taken right back to C:/web instead of C:/web/site when i type in site1.com. i can't get apache to recognize lower level folders using the virtualhost directive. - Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages!
Re: [PHP-WIN] exif
don't know anything about exif, but i got this from a web page and may (or may not) be relevant... The php_mbstring.dll DLL must be loaded before the php_exif.dll DLL so adjust your php.ini accordingly http://www.ausweb.com.au/php-hosting/ref.exif.html good luck. --- [EMAIL PROTECTED] wrote: > Apache crashes when I uncomment this line in php.ini > and try to restart the > server: > > ;extension=php_exif.dll > > I upgraded from 4.3.8 this week and thought there > might be a dll conflict. > phpinfo reports Apache/1.3.29 (Win32) PHP/5.0.1. > All copies of php_exif.dll on > the system report as version 5.0.1.1. > > Any ideas on how to get this working? > > Thanks, > > Ed > > > > > > > > This message was sent using IMP, the Internet > Messaging Program. > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-WIN] php 4.3.8 virtual host problem
i had a virtual host problem where all my virtual host calls went directly into apache's root directory - c:\web. i disabled my cgi version of php 4.3.8 (by commenting out the call to php.ini) and i was able to get my apache virtual hosts to find the correct root directory subfolder. for example, site1.com found c:\web\site1. i re-enable php and site1.com is pointing right back to c:\web. if you have any ideas what may be causing this problem, please advise. tia... ___ Do you Yahoo!? Shop for Back-to-School deals on Yahoo! Shopping. http://shopping.yahoo.com/backtoschool -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-WIN] Re: [EMAIL PROTECTED] Multiple Virtual Hosts Problem [SOLUTION]
i found the solution in one of the comments listed here... Chapter 22. Installed as CGI binary. i didn't do the "Action php-script /cgi-bin/php" part b/c php was already running fine for my virtual hosts. 3 days later - WHEW!! http://us2.php.net/security.cgi-bin PHP CGI with VirtualHosts. This is what I found out while trying to get php to work as CGI with Apache VirtualHosts. By enabling 'force-cgiredirects', you *must*: 1) set 'cgi.fix_pathinfo=1' in php.ini 2) leave doc_root commented out (php.ini also) If you miss item 1, the apache logs will show 'unexpected T_STRING' in the php binary. If you miss item 2, you'll only see 'No input file specified.', instead of the expected output. You can then turn on the php support for a particular vhost by defining: Action php-script /cgi-bin/php inside the corresponding directive. ___ Do you Yahoo!? Shop for Back-to-School deals on Yahoo! Shopping. http://shopping.yahoo.com/backtoschool -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-WIN] PHP5 install woes
george, are you using multiple virtual hosts? i had the same problem and decommented "doc_root = you_doc_root_path" and it got rid of the problem and allowed apache to properly handle my virtual hosts. i isntalled cgi 4.3.8 so ymmv. --- George Pitcher <[EMAIL PROTECTED]> wrote: > Hi, > > I've checked the archive and couldn'tfind a solution > to my problem, which > is: > > I renamed my php 4 folder, and ini file, went > through the manual install of > PHP 5.0.1 and stopped and started my IIS server. I > then opened my usual > instance of phpinfo.php and got the usual listing. > > As I use MySQL, I went into the ini file and > decommented the dll. saved the > ini file and restarted the server and then got a 'No > input file specified.' > message. So I then commented out the mysql dll and > tried again and now I > can't get anything but "No input file specified." > > I'm using WinXPPro with IIS 5.1. > > Any ideas anyone? > > Cheers > > George in Oxford > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > __ Do you Yahoo!? Yahoo! Mail is new and improved - Check it out! http://promotions.yahoo.com/new_mail -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php