Apache2Triad Help, Support and Development Forum Index Apache2Triad Help, Support and Development
The apache2triad help , support and development forums
 

Bugous php 4.4.2
Click here to go to the original topic

 
       Apache2Triad Help, Support and Development Forum Index -> Programming
View previous topic :: View next topic  
Author Message
razor7



Joined: 17 May 2006
Posts: 6

Posted: Wed May 24, 2006 7:22 pm    Post subject: Bugous php 4.4.2  

Hello php 4.4.2 has a severe bug ( http://bugs.php.net/bug.php?id=36017 ) that iterrupts the execution of any fopen, fclose, fread,
file_get_contents etc with a remote file. And since apache2triad 1.4.4 comes with that version of PHP i guess:

How can I upgrade PHP to the last 4.4.x dev package? (the one that can be downloaded from php.net)


Thanks
Back to top  
Joshua Meadows (DemoRic)



Joined: 29 Dec 2004
Posts: 783
Location: S.E. Kansas

Posted: Fri May 26, 2006 12:16 am    Post subject:  

Pathways are different in the 4.x series than the 5.x but if you modify the paths in my php update batch script then it should work just fine for you.

*removed batch codecode

I'd do this myself but I only run the edge version. (I choose to develop and use scripts for the 5.x branch) This script stops apache copies the new files over the old php files and then runs services.msc
Back to top  
razor7



Joined: 17 May 2006
Posts: 6

Posted: Fri May 26, 2006 4:18 am    Post subject:  

Thanks a lot for your help.

I have installed apache2triad 1.4.4 that ships php 4.4.2, because of this I need to update.

¿Does the above instrucions fit for this version?

Thanks
Back to top  
Joshua Meadows (DemoRic)



Joined: 29 Dec 2004
Posts: 783
Location: S.E. Kansas

Posted: Fri May 26, 2006 8:04 pm    Post subject:  

by changing the appropriate php pathways, and the correct files for your .so files it should work just fine.

If modifying batch scripts isn't something you can do or are comfortable with, then if you'll give me a folder layout for php4, I can modify the script and repost it for you to test.
Back to top  
razor7



Joined: 17 May 2006
Posts: 6

Posted: Mon May 29, 2006 6:37 pm    Post subject:  

I will realyy appreciate the modified version to fit php 4.4.x

Thanks.

EDIT:
Please send me the modified batch file so I can upgrade to PHP 4.4.x and override that anoying problem


Thanks.
Back to top  
Joshua Meadows (DemoRic)



Joined: 29 Dec 2004
Posts: 783
Location: S.E. Kansas

Posted: Fri Jun 09, 2006 10:33 pm    Post subject:  

Quote: c:\apache2triad\php
|
+--cli
| |
| |-php.exe -- CLI executable - ONLY for commandline scripting
|
+--dlls -- support DLLs required by some extensions
| |
| |-expat.dll
| |
| |-fdftk.dll
| |
| |-...
|
+--extensions -- extension DLLs for PHP
| |
| |-php_bz2.dll
| |
| |-php_cpdf.dll
| |
| |-..
|
+--mibs -- support files for SNMP
|
+--openssl -- support files for Openssl
|
+--pdf-related -- support files for PDF
|
+--sapi -- SAPI (server module support) DLLs
| |
| |-php4activescript.dll
| |
| |-php4apache.dll
| |
| |-php4apache2.dll
| |
| |-..
|
+--PEAR -- initial copy of PEAR
|
|
|-go-pear.bat -- PEAR setup script
|
|-..
|
|-php.exe -- CGI executable
|
|-..
|
|-php.ini-dist -- default php.ini settings
|
|-php.ini-recommended -- recommended php.ini settings
|
|-php4ts.dll -- core PHP DLL
|
|-...

is this the file structure for the 1.4.x php folder? What is the
LoadModule line in your httpd.conf file for php?
Back to top  
razor7



Joined: 17 May 2006
Posts: 6

Posted: Wed Jun 14, 2006 12:57 am    Post subject:  

php4ts.dll is located here "C:\apache2triad\bin"

and PHP config is this LoadModule php4_module modules/mod_php.so

I also have attached the conf file

Any help?

Thanks.

PS: How can i query php to tell me the current runing version?
Back to top  
Joshua Meadows (DemoRic)



Joined: 29 Dec 2004
Posts: 783
Location: S.E. Kansas

Posted: Wed Jun 14, 2006 10:11 pm    Post subject:  

http://localhost/apache2triadcp/info.php is the easiest way to find the version.
Yeah the info helps, I'll see about d/l the latest dev version and make that into a pack in a few days
Back to top  
razor7



Joined: 17 May 2006
Posts: 6

Posted: Wed Jun 14, 2006 10:28 pm    Post subject:  

you mean that you will publish a new apache2triad installation without the bugous PHP 4.4.2?
Back to top  
 
       Apache2Triad Help, Support and Development Forum Index -> Programming
Page 1 of 1


Powered by phpBB Search Engine Indexer
Powered by phpBB 2.0.13 © 2001, 2002 phpBB Group