|
#51
|
|||
|
|||
|
Hi,
I am just about to choose hostgator, is this update to 5.2.0 or 5.2.2 released on 3rd may I had a site on hostrocket running php 4.4.4 got hacked a few days ago and looking for security |
|
#52
|
|||
|
|||
|
so how does later today turn into nearly a week?
any news on the update to 5.2.2? |
|
#53
|
|||
|
|||
|
bump..........
|
|
#54
|
|||
|
|||
|
Hi, sorry for bringing such an old thread back but I notice my account shows PHP version 4.4.4, should it be 5?
|
|
#55
|
|||
|
|||
|
Cpanel may show version 4 (bug in cpanel) to check create a file phpinfo.php in your public html Then put the following code into it.
PHP Code:
|
|
#56
|
|||
|
|||
|
Hi,
phpinfo shows PHP Version 4.4.4 and there is no extras link in my cpanel. So that means I need to use the htaccess method to update? |
|
#57
|
|||
|
|||
|
Quote:
cPanel won't show that you're using PHP 5 since it's not located in your directories and is run using PHP 4. Once you add the line in your .htacces file to tell the server to use PHP 5 your phpinfo script should show that it's using version 5 instead of 4. |
|
#58
|
|||
|
|||
|
I can't seem to turn off magic_quotes_gpc off for "Flyspray" (bugtracker)
php.ini Code:
register_globals = Off magic_quotes_gpc = Off session.use_trans_sid = 0 short_open_tag = off register_argc_argv = Off register_long_arrays = Off filter.default = "unsafe_raw" always_populate_raw_post_data = Off |
|
#59
|
|||
|
|||
|
Quote:
I too have a heap of scripts that require XSLT and they all fell over when the site was moved to PHP5. After some searching, I found this nifty little wrapper that makes my PHP4/XSLT stuff compatible with PHP5/XSL: http://alexandre.alapetite.net/doc-a.../index.en.html So, basically my scripts did the following with PHP4: 1. setup curl to retrieve xml-source 2. use xslt to parse out xml and create output Now, my scripts do the following with PHP5 (with XSL module): 1. setup curl to retrieve xml-source 2. load the wrapper module 3. use xslt (in wrapper) to parse out xml and create output I hope that helps someone out. Regards. Last edited by keehan; 02-14-2008 at 07:17 PM. |
|
#60
|
||||
|
||||
|
Thanks for the link....
I have placed the following php.ini in my test/ directory Code:
short_open_tag = Off asp_tags = Off safe_mode = Off expose_php = On max_execution_time = 30 max_input_time = 60 memory_limit = 32M register_globals = Off register_long_arrays = Off magic_quotes_gpc = Off magic_quotes_runtime = Off magic_quotes_sybase = Off default_mimetype = "text/html" enable_dl = Off file_uploads = Off upload_max_filesize = 10M extension=php_xsl.dll PHP info for the same directory (http://www.peperuka.com/test/info.php) is showing PHP 5 (good) but loaded extension is XSLT (the one of PHP4 from webroot)... What should I do to load the XSL extension for a specific directory (the directory that has PHP5). Thank you
__________________
From Kenya "I eat up gnus 'coz there are no 'gators in Africa" |
![]() |
| Bookmarks |
| Thread Tools | |
|
|