[PHP-WIN] Problems with PHP5 RC1
I have successfully installed previous versions of PHP dozens of times, under Windows, Linux and FreeBSD, so I'm not exactly a newbie having a go at his first install. I've tried to report the problems I relate below to the PHP bugs knowledge base, but bugs.php.net has been down for a couple of days. I'm trying to run PHP5 RC1 on a Windows 2000 test server with Apache 2.0.49. I downloaded the PHP5 RC1 package and installed it according to the instructions in the install.txt file (which is essentially the same as for previous 4.x versions). (Note: I tried the installation for the first time with Apache 2.0.47, but have since upgrated to the latest stable version, to no avail.) Upon installation, when I start Apache again, I get an error message to the effect that php4ts.dll cannot be found in the system32 directory or any of the system paths. This is curious because if anything is missing, it should be php5ts.dll, not php4ts.dll. If I rename php5ts.dll to php4ts.dll, I stop getting the error message, so there's clearly something in the entrails of PHP5 that expects to find php4ts.dll. Renaming the file is not exactly a pretty solution, though, so I'm hoping this problem will be corrected in the final release. I have of course edited httpd.conf so that it now contains the line LoadModule php5_module "c:/php/php5apache2.dll" instead of LoadModule php4_module "c:/php/sapi/php4apache2.dll" I have also checked the new php.ini file to make sure that it contains valid paths (e.g. extension_dir = "C:\PHP\ext\"). Everything looks fine. I use the DOM XML extension all the time and noticed that "php_domxml" is no longer an option in the extensions section of php.ini, so I assume that DOM XML is now bundled with PHP. As a matter of course, phpinfo() tells me that DOM/XML is enabled and that the libxml version is 2.5.11. However, when trying to use domxml_version(), domxml_new_doc(), domxml_open_mem() or any other DOM XML function, I get a "call to undefined function" error. If these functions now have new names, they're not listed in the online documentation. The same happens with the MySQLi extension, which is no longer an option in php.ini but none of its functions work either. The extensions directory is there and is pointed to correctly by php.ini; all PHP files are in c:\php and the sub-directories are exactly the same as in the distribution package; httpd.conf has been properly edited (and in fact Apache issues no error messages); my system path variable contains c:\php. What else can I possibly do to get PHP5 to work properly? Erik -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-WIN] Where is mysqli in PHP5rc3?
The mysqli DLL file is not present in the PHP5rc3 for Win32 package, nor is it bundled. Can't find it in the PECL package either. Did they just forget to put the DLL in the package or is there a more esoteric explanation to this? Erik -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-WIN] Re: Arrrrrrrrrrrg. Session management expert needed.
Hello Ross, First of all, do you have a firewall on your test server? If you do, beware that some firewalls (e.g. ZoneAlarm 4) play havoc with session data. Disable the firewall (if you can) and, presto, your sessions start working as expected. Of course then your machine will be exposed, but that's another problem... One other thing: do you realize that, under normal circumstances, each and every time a user closes all browser windows on his computer and starts up the browser again a new session is started on the server? This basically means that if one of your users for some weird reason closes his browser (or if his browser crashes, which happens all the time with IE), then starts it again and goes back to your site, a new session will have been started. Hope this helps, Erik On 7 Jun 2004 at 10:15, Ross Honniball wrote: > Sessions are driving me crazy. > > I am tracking screens a user has visited using an array within the > $_SESSION array. > > And it nearly works. > > I call session_start() before any output in each script and before trying > to access any $_SESSION data. > > The huge headache I am having is that php seems to fire up a NEW session in > certain situations (the result being that it can NOT find the previous > screens a user has visited). > > Anyone had any similar problems and found a solution? -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-WIN] ASP to PHP converter?
Does anyone know of reasonably good and reliable (and preferably free) ASP to PHP converter? Erik -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-WIN] Re: Where is mysqli in PHP5rc3?
That sort of explains it, but I find it curious (to put it mildly) that there should not be any kind of warning or notice regarding the absence of the mysqli extension in the package. Granted, PHP doesn't cost any money, so I suppose I'm in no position to complain. On 11 Jun 2004 at 13:44, Jason Barnett wrote: > The new releases of MySQL are licensed under the GPL. I read over on > Zend's site that MySQL is trying to make an exception for PHP and a few > other open source projects, but a lot of the people at Zend don't want > to restrict their PHP users. And, a few others thought that they > shouldn't show preferences to any database. > > I was also unpleasantly surprised by this, but since I don't have a > pressing time concern this was no deal for me. Instead, I've learned > how to migrate my databases to another system :) -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-WIN] RE: ASP to PHP converter?
Thanks a lot for your responses, Trevor, Svensson and Sudeep. I'd already tried asp2php, but it spat out broken code. Your friend would probably do a much better job, Svensson, but I'm doing a favour for a friend of my own and am not willing to spend money. I guess I'll end up doing the conversion by hand, but I've looked at the ASP code and there are a few things that don't make a lot of sense to me. Oh, well. Thanks anyway, guys (Sudeep and Svensson, I'm assuming you're a guys, but forgive me if you aren't) Erik -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-WIN] Re: Installation Woes.
Jim, Below are a few comments and questions for you: On 22 Sep 2004 at 6:41, Jim Bailey wrote: > I'm a well seasoned developer dipping my toe into PHP/Apache/MySQL. > I installed Mozilla FireFox Version 0.9.3 and > PHP4.3.8 and > Apache 1.3.31 running in > Windows 2000 Version 5 SP 4. Fine, but FireFox has nothing to do with anything. Which browser you use has no impact on the way your web server works, except for the identification string the browser sends to the server each time a page is requested. > I appended the following lines to httpd.conf > ScriptAlias /php4/ "E:/Programs/PHP4.3.8/" > > AddType application/x-httpd-php4 .php4 .phtml .php > > Action application/x-httpd-php4 "php.exe" Why did you decide to install PHP as a CGI binary? Did you read the installation file that comes with the PHP package (install.txt)? Did you not see the line that reads "Note, we consider installing PHP like this suicidal"? I suggest you replace those lines you inserted in httpd.conf with these: LoadModule php4_module E:/Programs/PHP4.3.8/sapi/php4apache.dll AddModule mod_php4.c AddType application/x-httpd-php .php Good luck, Erik