4 Vs. 5? Why 2 Version?
why is there a 4 and 5 version being updated by the PHP team? Are they updating bugs in 4 and want everyone to go to 5?
View Complete Forum Thread with Replies
Sponsored Links:
Related Messages:
Your MySQL Library Version 5.0.37 Differs From Your MySQL Server Version 5.0.45
well i got phpmyadmin loaded and now when i go to the home page i get these two errors and can't seem to find what causes them. Your PHP MySQL library version 5.0.37 differs from your MySQL server version 5.0.45. This may cause unpredictable behavior The mbstring PHP extension was not found and you seem to be using a multibyte charset. Without the mbstring extension phpMyAdmin is unable to split strings correctly and it may result in unexpected results.
View Replies !
View Related
PHP Version 4.4.7 On My ISP
So, phptest.php on my ISP server returned: 4.4.7 And I know Version 5 is out. Any compatibility problems? Is there anything I need to know before proceeding to install PHP/ Apache/MySQL on my Windows XP machine?...
View Replies !
View Related
Which Version Of PHP ?
Is there any way (perhaps a script?) to tell what the minimum version of PHP is for a given script without having to trawl through every command? I develop on PHP 5.0 but have tried to keep everything below 4.3 because that seems to be the highest release on a lot of ISP systems. I'm looking for a way to test without having to install lower versions ?
View Replies !
View Related
PHP Version Of W3C DOM
Im looking for a way to get php to read through a html or shtml document, but using the W3C DOM. It would need to have the childNode functions etc. Is there anythign that woudl allo wme to do this? or alternately retrive html tage attributes, according to a certain criteria.? Code:
View Replies !
View Related
Version
Basically I need to, when a new cateogry is created in the db it runs a PHP script that checks to see if dir exists and creates it if not. Here is an ASP example: <% Dim objFSO, objFolder Set objFSO = Server.CreateObject("Scripting.FileSystemObject") objFolder = Trim(Request("FN")) 'Create Folder if it doesn't already exist If Not objFSO.FolderExists("D:Websites#*$!xxArticles"& objFolder) then objFSO.CreateFolder("D:Websites#*$!xxArticles"& objFolder) End If %>
View Replies !
View Related
XML Version
have just posted my first live script, it's a contact us form and it works. The site was put together using Dreamweaver templates and DW adds two lines giving <?XML version=... and <!DOCTYPE= ... The script displays a blank page if the <?XML version=... is included, but displays and executes properly if that line is taken out. Can anyone help me understand what the lines mean to PHP and what they should be changed to to make the script work.
View Replies !
View Related
Version 4 Vs 5
I am just wondering if everyone is switching to PHP5? Also the scripts that are written in PHP4 should be working in PHP5 right? I switched over my server and some of our bought applications aren't working. I can't give specifics just wondering if its becoming standard to move to PHP5?
View Replies !
View Related
Old Version Of PHP
Is this an old version of PHP because I keep getting blank screens. I know the code is correct because it came straight from a book, work for work. The book was written in 2002.I am running PHP5 and downgraded to PHP4. Here's the PHP file (file 1 of 2) <FORM ACTION="123.html" METHOD="POST"> Input a name <br> <INPUT NAME="name" TYPE=TEXT> <br> <INPUT TYPE=SUBMIT VALUE="Search!"> </FORM> Here's the HTML file 123.html (file 2 of 2) <?php echo $name; ?>
View Replies !
View Related
Version 5.0.3
I need the version php 5.0.3 to use a program in that version. I have looked for it on the net but I haven´t found anything. I am in urgent need of it, so I am going to write this message in others groups so maybe you read it in others groups.
View Replies !
View Related
PHP Version
I installed the apache via RPM same with MYSQL now i installed the PHP but it seems not to see the MYSQL. i installed it via. rpm -Uvh php-mysql-4.3.9-3.9.i386.rpm nodeps.
View Replies !
View Related
MySQL VERsion With PHP
How would I query for the version of MySQL that is installed on the server? I'm creating an application that will need to check the version before it allows the user to install to make sure they meet the needed requirements.
View Replies !
View Related
Php Version Emulator
I have a PostNuke site... [It's an open source cms, using mysql+php... ] The problem is that my host upgrades the php version all the time & 'forcing' me to upgrade the PostNuke version... My question is: is there a php emulator that I can run on the server that will emulate a specific php version???
View Replies !
View Related
Upgrade Php Version On Red Hat 7.1
I've got a server running Red Hat 7.1 with the default installation of php/apache. This version of php doesn't have a lot of the default functions I need like mysql and odbc support. The php rpms for Red Hat 7.3 have the options I need. Can I just install these rpms on Red Hat 7.1? I tried doing this and it told me some libraries I need are not present. Would installing these libraries cause any problems? If anyone knows of the best way for me to add these options for php that I need, please let me know.
View Replies !
View Related
SQLite Version 2.1?
I added the following lines to PHP.INI. extension=php_pdo.dll extension=php_pdo_sqlite.dll extension=php_sqlite.dll specifically in that order. I noticed the extensions getting loaded are alphabetally listed, so I'm thinking that the order of the load doesn't matter. Is that true? And when I use the following statements to create a test.db file... It creates a file with the following text as the first 48 characters in the file... ** This file contains an SQLite 2.1 database ** Searching php.net for that string turned up the following link: http://gcov.php.net/PHP_5_2/lcov_ht...tree.c.gcov.php It appears that PHP 5.2 mis-identifies the file. I took a look at some other software found at SourceForge advertised as a visual front end to access and create SQLite databases. However, the SQLite Browser identifies the SQLite data file as NOT a 3.1 version (perhaps due to PHP's mis-tagging (?)).
View Replies !
View Related
Which Version To Learn On
I have SuSE linux 9.1, with: apache2-mod_php4-4.3.4-26 apache2-2.0.49-23 Is this a good platform to start learning PHP, or should I upgrade to PHP 5? I have Oracle installed. Can I use it, or should I install mysql? Does it matter?
View Replies !
View Related
Which Version Would You Choose ?
I just got asked to setup a LAMP box for a friend/customer. I am not sure yet which versions of LAMP I should best use. My initial thoughts is go with SuSe Linux and all latest versions, but especially where PHP is concerned, I am not sure PHP5 is preferable yet. I can't really say why, just the fact it is a major new version and relatively unknown wrt stability/security. What would you guys choose ? (The scripts that are gonna be run on the box aren't very spectacular I believe, oldskool straightforward stuff, a weblog, a small db application and some home pages with mailforms)
View Replies !
View Related
How Do I Check Against The PHP Version?
I'm writing an installation script for my PHP content management system. I've written the code to be compatible with PHP 4.06 or later. I need to get the PHP version and throw an error message if the version is less than 4.0.6. I realize that phpinfo outputs the info, but what function would get me the version string?
View Replies !
View Related
Upgrade From PHP Version 4.2.2 To 4.3.10
I am currently running PHP Version 4.2.2 on Red Hat Linux release 9 (Shrike) with Apache/2.0.40 (Red Hat Linux) I would like to upgrade to the latest version of PHP (4.3.10 ?). PHP was pre-installed as RPM version, I would like to know where i can find an RPM upgrade... What are the steps to take, will original php.ini be overwritten, do i need to change Apache confg files.
View Replies !
View Related
PHP Version 4.3.10 Class
I have an some PHP code which uses classes. this works perfectly using PHP v5 and PHP v 4.2.3. I have recently uploaded the code to a PHP v4.3.10 site and it wont work, everything else PHP related does except the creating the instance and calling the main function within the class. Here is a snippet: $mysms = new sms();//Create SMS instance. $smsstatus=($mysms->send ("test", "test ", "testing"))
View Replies !
View Related
A Version Issue
I'm trying to install a game stats module into PHP-Nuke, it's no big deal I've done twice before. But this time I'm getting an error and I can't see why. Firstly, the error says "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-25, 25' at line 37" (see http://mafsquad.com/modules.php?name...ion=kill_stats ). So I thoguht that maybe this was a PHP version issue but as I said, I've installed this module on other sites and I compared version number with my http://thectu.com site. They are the same, here are the version numbers.
View Replies !
View Related
Different Version Of PHP From Browser
is there a way to point my browser to use a different version of PHP that is installed on a computer. I am using XAMPP and currently I'm using the version of PHP that is bundled with it. Our system is being moved over to ORACLE from MySQL soon and there is another version of PHP installed with the ORA addons on the Solaris machine I am using. I'm looking to know if it is possible to point the browser to use the PHP with the ORACLE addons. Should this be done in the PHP.ini file or how can I set up a path to use the PHP for ORACLE?
View Replies !
View Related
Php Version Of Ms Movefirst
i need to know the php version of the ms movefirst. i need to spin a recordset for html outputs that are in two different places on the web page. i am stuck on the second output not knowing how to 'movefirst'.
View Replies !
View Related
Php Version 3 Ftp Question
I am writing a php program that ftp's up a file to an individual's website. The server I am accessing has php3. I was only able to locate code for version 4 (see below). $ftp_server = "ftp.mysite.com"; $ftp_user_name = "taylor"; $ftp_user_pass = "tay345"; $conn_id = ftp_connect($ftp_server); $login_result = ftp_login($conn_id, $ftp_user_name, $ftp_user_pass); Does anyone know what I need to do to make this work in php3? The person who is running the server I am acessing will not upgrade at this point to php 4.
View Replies !
View Related
Version Controll
I need a clean way to keep all versions of a group of PHP files archived and versions updated. Currently all I do is backup the most recent version and begin to recode/add/remove files, but there must be a more accurate way of controling this information... right? I have looked at CVS stuff and am completely lost. So my question to you is: "how do you keep track of your php file versions for your projects?" I work with Zend studio, on a Windows Ultimate OS, and am running WOS Portable with PHP5_SE (Version 5.2.3) and MySQL5_SE (Version 5.0.41).
View Replies !
View Related
Browser Version
I run a site with fairly high traffic and demographics that might be interesting to see browser data on. so I was thinking of writing browser idents to the db. How do I do get that info in PHP? Ideally, I wouldn't just want to get browser name and version (for example 'Opera 9.01').
View Replies !
View Related
PHP Version Session
I've got a site completed on Php5 and apache on my developing machine and it works well. However, i have php5 installed on my machine. I JUST got which server the file will be on assigned to me, and the server is running PHP 4.4.1. I cant upgrade the php version on the server, so I now must convert my sessions form php5 to php 4. my site is dependent on session variables to keep the user logged in, without it the user is redirected to a login page. So whey I got the site and login the first page works as usual, but when you click any othe rpage i get redirected to the login page. So I know its a session problem because I keep trying to echo my sess vars and they are coming up blank. in my original code I establish variables as such session_start(); $_SESSION['myvariable'] = $myvariable and retrieving them using the $myvar = $_SESSION['myvar']; now, i was under the impression PHP 4.4.1 would be able to handle the same way. However, that doesnt seem to be the case. So i'm trying to revert back the sessions to PHP 4, using session_register("myvar")
View Replies !
View Related
Old Client API Version
i have php 4.4.4 on a windows server (the version is old, i know, but we cannot change it. It was installed with mapserver. We have some applications running with postgresql without problems. Now we need to install joomla, so i downloaded mysql 5 and tried to run some php script to test the connection to the db. When i try to connect i receive the old client api version error. I checked with php info and is client api version 3.23.49. So, i need to upgrade to a newer one that can handle the new type of password handling.
View Replies !
View Related
Version On Hosted
I have just setup a hosting account, they have PHP version 4.3.2 on all the servers with no immediate plan to upgrade to a newer version. How does this effect which version I should download on my local PC for testing etc? Should I be using the same version?
View Replies !
View Related
Version Incompatibility
Working on a project at work and home. At work we use PHP 4.3 and home I use WAMP with PHP 5.2. The following snippet from a class I found in public domain. This code works fine on PHP 4.3 but outputs part of the program code in PHP 5.2. Code:
View Replies !
View Related
Determine Version
I've tried $_SERVER['SERVER_SOFTWARE'] and $_SERVER['SERVER_SIGNATURE'], although both seem very unreliable, as different servers broadcast them, and some don't. Is there a more reliable method. edit: Whoops: phpversion()
View Replies !
View Related
Version GCC 4.2.0 Not Found
I had to reboot and suddenly PHP won't start with this error: /usr/local/lib/libgcc_s.so.1: version `GCC_4.2.0' not found (required by usr/lib/libstdc++.so.5) The only thing I've recently updated was spamassassin.
View Replies !
View Related
|