Installing Php4 And Php5 On Same Apache Server
i'm trying to install php4 and php5 on same apache but it doesn't work. i have php4 installed in c:php4 and php5 in c:php5 if it's possible to install both as module it will be great. Code:
View Complete Forum Thread with Replies
Related Forum Messages:
Installing PHP5 On APACHE 2.2.x
I'm trying to do a new install of PHP5 on Apache 2.2.x and i'm running into a serious snag. It wont load anything! after it's installed, I've checked my configure files and then load it. When i open a page i get nothing. just blank pages no matter what. Then if i turn on the startup error reporting i get errors galore telling me that *.dll's could not be loaded. I've checked my paths, and checked my sources, permissions and everything. The files are there.
View Replies !
Apache 2.0 W/PHP4; W/PHP5 Cohabitate
Apache 2.0 is currently installed to support an application using PHP4. I do not have PHP4 development environment installed. I want to install PHP5 for a learning session. The httd.conf file in Apache has the following entry: LoadModule php4_module "C:/Program Files/ktdms/php/sapi/php4apache2.dll" AddType application/x-httpd-php .php PHPIniDir "C:/Program Files/ktdms/php" <Directory "C:/Program Files/ktdms/knowledgeTree"> The install process for PHP5 application instructs the following insertion in httd.conf: # For PHP 5 do something like this: LoadModule php5_module "c:/php/php5apache2.dll" AddType application/x-httpd-php .php # configure the path to php.ini PHPIniDir "C:/php" Will this work without conflict? Can I install PHP5 development environment using Apache 2.0 while another application is using Apache 2.0 with PHP4?
View Replies !
Installing And Running Apache 2.0.46 / Php5.0.0b1 / Suse Linux 8.2
I did the following as instructed in the docs. (see below) everything seemed to install ok and I started apache with no complaints, but, 1)I do not see a process for apache using ps -ef 2) In yast I see that the new apache2 version is installed but not php5, its still on php4 any ideas ? 1. gzip -d httpd-2_0_NN.tar.gz 2. tar xvf httpd-2_0_NN.tar 3. gunzip php-NN.tar.gz 4. tar -xvf php-NN.tar 5. cd httpd-2_0_NN 6. ./configure --enable-so 7. make 8. make install Now you have Apache 2.0.NN available under /usr/local/apache2, configured with loadable module support and the standard MPM prefork. To test the installation use your normal procedure for starting the Apache server, e.g.: /usr/local/apache2/bin/apachectl start and stop the server to go on with the configuration for PHP: /usr/local/apache2/bin/apachectl stop. 9. cd ../php4-NN 10. ./configure --with-apxs2=/usr/local/apache2/bin/apxs 11. make 12. make install 13. cp php.ini-dist /usr/local/lib/php.ini Edit your php.ini file to set PHP options. If you prefer this file in another location, use --with-config-file-path=/path in step 10. 14. Edit your httpd.conf file and check that these lines are present: LoadModule php4_module modules/libphp4.so AddType application/x-httpd-php .php The path on the right hand side of the LoadModule statement must point to the path of the PHP module on your system. The above statement is correct for the steps shown above. 15. Use your normal procedure for starting the Apache server, e.g.: /usr/local/apache2/bin/apachectl start
View Replies !
Install Php4 And Php5 At The Same Time To Apache
Here is some note about installation together php4 and php5 on apache2. First you need is to edit with the help of hex editor php4apache2.dll (in my case, or php5apache2.dll) in php4 directory. You find "x-httpd-php" and replace with "x-httpd-plc" e.g. (I found 2 matches) Save your dll file and edit your apache config (httpd.conf) e.g. like: Code:
View Replies !
Problem Installing PHP On Apache Server
I am trying to install Apache and PHP. I have installed apache fine where I can type in http://localhost and it displays the default Apache page. When trying to install PHP I have run the installer file which seemed to go OK. It is when configure the Apache httpd.conf file that I get the problem. I have updated the ScriptAlias to read: ScriptAlias /php/ "C:/Program Files/PHP/" And added the following lines: Action application/x-httpd-php "/php/php.exe" AddType application/x-httpd-php .php ...as instructed by the tutorial I was reading. To test PHP, I have created a phpinfo() page called index.php inside the htdocs folder in Apache. When I try to access the file it give the following 404 error: Not Found The requested URL /php/php.exe/index.php was not found on this server.
View Replies !
Installing PERL On My APACHE Server
Does anyone have any meaningful opinion on PERL vs PHP? I was thinking about installing PERL on my APACHE server just to give it a shot.. but eh what real uses does PERL have over PHP?? You think installing perl and php is redundant?
View Replies !
Installing PHP4 On PWS?
Is it possible to use the PHP4 DLLs with the MS Personal Web Server, or is IIS absolutely necessary? I ask because ASP pages can be served with PWS (using an ASP.dll file), so it seems the same should be possible with PHP. Unfortunately, I have seen no info to support or deny this hypothesis...
View Replies !
Installing Php4.3.X With GD
I've been running apache and PHP by using apt-get packages for a long time now, and it's been working fine for me. But the other day I tried to get image functions working and hit a brick wall with the packaging. I get my packages from stable. Basically, when I tried to install php4-gd2, I get something like this: Code:
View Replies !
Installing Php_ldap.dll W/Php4 And IIS
Does anyone out there know how to get the LDAP library working with Php4 and IIS? We have tried several things to get it working to no avail. Specifically, we have tried the following, as suggested on another bulletin board: --In the php.ini file, changing the value for php_extensions to Unix-style front slashes instead of backslashes --Found and installed msvcrtd.dll and libsasl.dll in c:winntsystem32 --Tried a million different values for php_extensions, and placed the extensions in a million different locations on the server Nothing seems to work. We installed Php3 on the server and everything works fine with it--we can hit our LDAP server like a champ. We were planning to just stay with Php3; however, we need to make a secure connection to our LDAP server, and that functionality is not available in Php3, according to the Php manual.
View Replies !
Error Of Php4 Installing
I have some errors when I install php4 on my linux, the errors are: ake[3] : *** [sapi_apache.lo] Error 1 make[3]: Leaving directory `/usr/src/php-4.0.1pl2/sapi/apache' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/src/php-4.0.1pl2/sapi/apache' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/php-4.0.1pl2/sapi' make : *** [all-recursive] Error 1 Would someone like to tell me how to avoid them?
View Replies !
Installing PHP4 On HP-UX 11 With NSAPI 4
We have a really hard time trying to install PHP 4.0.2 on HP-UX 11 with NSAPI for NetScape Enterprise Server 4: just running ./configure I can make without any problems. but when ./configure --with-nsapi=/netscape/server4 it configures fine but as soon as I run make, here is what I get: Code:
View Replies !
Installing Ming With PHP4.3.2
I've installed Apache 2.0.xx and PHP 4.3.2. I want to use Ming as a module to PHP. The instructions that came with Ming say to: as a php module (unix) download php_ming.so.gz uncompress it and copy it to your php modules directory (you can find your php module directory by running php-config --extension-dir) Now either just add 'extension=php_ming.so' to your php.ini file, or put 'dl('php_ming.so');' at the head of all of your Ming scripts. I ran php-config --extension-dir and put the php_ming.so file there but it wouldn't work. I got an error message in my Apache2 error log saying PHP Warning: Unknown(): Unable to load dynamic library './php_ming.so' - ../php_ming.so: cannot open shared object file: No such file or directory in Unknown on line 0 The entry in my php.ini file for extensions is ./ I put the extension=php_ming.so in the php.ini file.
View Replies !
Installing Zziplib On Php4?
We have PHP 4.3.9 on a RedHat ES4 server. Supposedly PHP4 comes with ZZIPLib pre-bundled: http://us2.php.net/manual/en/ref.zip.php But I can't locate the library on the server. And my phpinfo() doesn't have it listed (which I expected because the link above indicates you have to manually add the support on the install.) So, I downloaded the library: http://zziplib.sourceforge.net/download.html and the README says all I have to do is the usual ./configure, make, make install. Now, that probably installs the library on the server, but I'll probably have to recompile PHP anyway, will I? I ask for any suggestions from people with personal experience in it because this is our production server, and I'd really like to know what to expect before I end up ruinging our PHP install. =)
View Replies !
Installing Php5
i got apache 1.3.28 (on win xp) can i install php5 on it? i tried the same way like u would php 4. only changed loadmodule php5_module but when i start apache it says cant load module
View Replies !
HELP! Installing Php5.1.4 For Mysqli
I'm trying to get the mysqli object-oriented syntax to work in php. I understand that I have to have at least version 5 of php - I've therefore opted for version 5.1.4. The remainder of my setup is as follows php 5.1.4 mysql 4.1.10a-2.RHEL4.1 httpd-2.0.52-12.2.ent Redhat Enterprise Linux 4 To be able to configure and compile the source of php to work with mysqli, I've had to add the following packages: flex (2.5.4a-33 found with apt-get install flex) bison (1.875c-2 found with apt-get install bison) apxs (apt-get install http-devel [2.0.52-12.2.ent]) libxml2 2-2.6.24 (only 2-2.6.16 available via apt-get) apt-get remove libxml2 wget "http://ftp.gnome.org/pub/GNOME/sources/libxml2/2.6/libxml2-2.6.24.tar.bz2" ./configure make make install However, make tests results in a lot of errors as follows: ====== file:///etc/xml/catalog:1: parser error : Document is empty ^ file:///etc/xml/catalog:1: parser error : Start tag expected, '<' not found ^ ====== mysql header files (apt-get install mysql-devel [4.1.10a-2.RHEL4.1]) source of php-5.1.4 obtained from: wget "http://uk.php.net/get/php-5.1.4.tar.bz2/from/this/mirror" and rebuilt with ./configure --with-mysql --with-apxs2=/usr/sbin/apxs make make install When I've finished this and rebooted the machine, the phpinfo test command doesn't bring up the PHP information page as I would hope (it just echoes the "<?php phpinfo(); ?>" command to the screen). Does anyone know what I'm doing wrong (or what I've missed out)? www.reestitmutton.co.uk Bringing you the best-value mobile phone contract deals in the UK Presented the way it should be...in plain English
View Replies !
Installing Php5 Beta 4
Has anyone built the PHP5 beta 4 as an apache module ? I am using apache 2. Is there some trick, or missing instructions, or known bug ? Perhaps you have to use some version of apache earlier than 2.0.48, the current latest ? I have built php4 before without problems. After trying a variety of things and never getting a libphp5.so, I am at a loss as to how to go about this. (When I did a configure without using the --with-apxs2, and instead did a --with-apache=/path/apache_1.3/, I think it made the right Makefiles to make a module, but I'm not running apache 1.3 I'm running apache 2.) If I could at least confirmation that someone out there did it, I can post the various steps and configure lines for php and apache that I tried. Right now I think the next step is to start fiddling with the build system.
View Replies !
Problem Installing PHP5 On SuSE 8.2
I've been reading through the lasts months of postings in this (and some other) newsgroups to find a solution to my PHP problem. The configuration I use is as follows: - SuSE v8.2 - Apache 2.0.54 - MySQL 4.1.14 - PHP 5.0.5 Installing the first 3 parts was not a problem at all. Both Apache and MySQL start just fine. Before I could perform a proper 'configure' of PHP I had to update libxml2, add libxml2-devel and python but then the following command worked without any errors: ./configure --with-apxs2=/usr/local/httpd/bin/apxs --with-mysql=/usr [note: the previous is, of course, a single line] After this, I used 'make' to compile the stuff and this is where things go wrong. The following error message is shown: =============[ start of make-output ]============================ vpsuse:/usr/local/php # make /bin/sh /usr/local/php/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/standard/ -I/usr/local/php/ext/standard/ -DPHP_ATOM_INC -I/usr/local/php/include -I/usr/local/php/main -I/usr/local/php -I/usr/include/mysql -I/usr/local/php/ext/xml/expat -I/usr/local/php/TSRM -I/usr/local/php/Zend -g -O2 -prefer-non-pic -c /usr/local/php/ext/standard/info.c -o ext/standard/info.lo /bin/sh /usr/local/php/libtool --silent --preserve-dup-deps --mode=compile gcc -I/usr/local/httpd/include -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I/usr/local/httpd/include -I/usr/local/httpd/include -Isapi/apache2handler/ -I/usr/local/php/sapi/apache2handler/ -DPHP_ATOM_INC -I/usr/local/php/include -I/usr/local/php/main -I/usr/local/php -I/usr/include/mysql -I/usr/local/php/ext/xml/expat -I/usr/local/php/TSRM -I/usr/local/php/Zend -g -O2 -prefer-non-pic -c /usr/local/php/sapi/apache2handler/sapi_apache2.c -o sapi/apache2handler/sapi_apache2.lo In file included from /usr/local/php/sapi/apache2handler/sapi_apache2.c:39: /usr/local/httpd/include/ap_config.h:229:16: os.h: No such file or directory In file included from /usr/local/httpd/include/util_filter.h:23, from /usr/local/php/sapi/apache2handler/sapi_apache2.c:40: /usr/local/httpd/include/httpd.h:42:16: os.h: No such file or directory make: *** [sapi/apache2handler/sapi_apache2.lo] Error 1 =============[ end of make-output ]==============================
View Replies !
Installing Php5 With Mysqli And Mysql5
I am trying to set up a server with mysql5 and php5. I used the binaries provided on mysql.com to install mysql. For php I compilied it once with --with-mysql but then found out that --with-mysql doens't wotk for mysql5. So I have gone back to recomplie php with --with-mysqli. But try as I might I can't get php to configure. I keep getting " checking for MySQLi support... yes checking whether to enable embedded MySQLi support... no checking for mysql_set_server_option in -lmysqlclient... no configure: error: wrong mysql library version or lib not found. Check config.log for more information. " My config command is: ./configure --with-apxs2=/usr/local/apache2/bin/apxs --without-mysql --with-mysqli=/usr/local/mysql/bin/mysql_config --with-zlib --with-curl --with-gd --with-libxml-dir=/usr/lib I had php previously compile with --with-mysql.
View Replies !
Use PHP4 Dom XML In PHP5?
Is it just me... Or is PHP5 XML very limited? Or am I missing something very obvious? Any way to use PHP4 Dom XML in PHP5? Does anyone know why support for it was dropped? I have following code I need to have replaced: PHP4 $eir_dom = domxml_open_mem($eir_padfile_content); $eir_root_node = $eir_dom->document_element(); // = root element PHP5 $eir_dom = new DOMDocument; $eir_dom->loadXml($eir_padfile_content); // how do I set $eir_root_node ? PHP4 .... $nodes = $cur_root_node->child_nodes(); .... if ($test_node->node_name() == $next_node_name_to_find) { PHP5 // child_nodes(); node_name() PHP4 .... if ($node_child->node_type() == XML_TEXT_NODE) { $node_child->set_content($new_content); break; } PHP5 // set_content, node_type()
View Replies !
PHP4 Dom XML To PHP5 XML
Can anyone point me to a guide or something for conversion? I tryed http://alexandre.alapetite.net/doc-...5/index.en.html but it doesn't work (not all parts anyway) - and as I can't find a working IDE/debugger combination I can't currently figure out why. I need to translate following code: PHP4 $eir_dom = domxml_open_mem($eir_padfile_content); $eir_root_node = $eir_dom->document_element(); // = root element PHP5 $eir_dom = new DOMDocument; $eir_dom->loadXml($eir_padfile_content); // need equalant of: document_element(); PHP4 .... $nodes = $cur_root_node->child_nodes(); .... if ($test_node->node_name() == $next_node_name_to_find) { PHP5 // need equalant of: child_nodes(); node_name() PHP4 .... if ($node_child->node_type() == XML_TEXT_NODE) { $node_child->set_content($new_content); break; } PHP5 // need equalant of: set_content, node_type()
View Replies !
PHP4 Vs PHP5
I had php script that used to work with PHP 4.3.4 but stop working as soon as I use the PHP5RC1? Are there list differences that is deprecated/removefrom PHP4.3.4?
View Replies !
Php5 Or Php4 Sql
my previous php applicaiton written in php4 couldn't work. I see is a blank screen, example when i go to localhost/xyz/index.php.
View Replies !
PHP4 Or PHP5?
I'm having a bit of a dilemma, shall i update my software (which is increasing using OOP) to php5 and loose my RHEL compatability, or stick with php4?
View Replies !
Using PHP4 Or PHP5
As I mentioned earlier (in a posting to the PHP mailing list), I am putting a team together to create a web-based RPG, different from the one I am currently playing. Would it be better to use PHP4 with it's strong developer base, or the new PHP5 which is more object oriented an in my opinion would be easier to keep the game up to date?
View Replies !
PHP4 Or PHP5
I need to build a CMS and i have very little expierence with php. I know the main differences betweet php4 en 5, like better support for object oriented programing, exceptions, etc. But i wonder if i even need those things when building a cms.
View Replies !
PHP4 To PHP5
I've just been notified by my webhost (Pair) that my site will be moving from PHP4 (4.3.8) to PHP5 (5.2.3) and Apache 1.3.37 to 2.2.4. While I have been expecting this for a while, I'll put my hands-up and say that I've not taken the time to change anything. I now have until next week(!) to make sure everythings working *gulp* My site isn't huge but I have alot of visitors and make a little money through Adsense, so I really need to make sure everything is secure and working to keep my visitors happy and obviously prevent any loss of $.
View Replies !
Installing PhP5 (Win). Browser Shows Code.
I'm installing PhP5 on WinXP, with Apache2. In my Apache's httpd.conf file I have added LoadModule php5_module c:/php-5/php5apache2.dll and moved the .ini file to C:/Windows/php.ini Apache works with the php module loaded. When I look at this code with my IE browser: <? phpinfo(); ?> or <?php phpinfo(); ?> ....all I get in the browser is the code itself. Q: why is it not working? How can I diagnose my problem? I've spent hours with manuals, etc.
View Replies !
Howto: PHP4 Dom XML To PHP5 XML ?
Can anyone point me to a guide or something for conversion? I need to translate following code: PHP4 $eir_dom = domxml_open_mem($eir_padfile_content); $eir_root_node = $eir_dom->document_element(); // = root element PHP5 $eir_dom = new DOMDocument; $eir_dom->loadXml($eir_padfile_content); // need equalant of: document_element(); PHP4 .... $nodes = $cur_root_node->child_nodes(); .... if ($test_node->node_name() == $next_node_name_to_find) { PHP5 // need equalant of: child_nodes(); node_name() PHP4 .... if ($node_child->node_type() == XML_TEXT_NODE) { $node_child->set_content($new_content); break; } PHP5 // need equalant of: set_content, node_type()
View Replies !
PHP4 + PHP5 + ZendStudio
I've had setup on WinXP: Apache1.3 with PHP4 module and PHP5 installedas CGI for one vhost. This worked fine, till I installed Zend Studio 4 beta. I'm trying to make Zend Server use my existing configuration, but without success. If I point it to PHP4 php.ini, PHP cannot find (or rather refuses to load) modules. If I point it to PHP5 php.ini, I cannot enter server console, because my php lacks ZendOptimizer (even if I install ZendOptimizer). [Zend docs are brief, and googling finds only obvious answers, like "install mysql and uncomment mysql extension".] Do you have any suggestions how to get this trio working?=
View Replies !
PHP4 -> PHP5 Issue
I'm quite experienced in programming in PHP4, but I would like to make a step to PHP5. I created following class which works perfectly in PHP4: Code: ( text )
View Replies !
Install Php4 & Php5
Wanted to install php5 as well as php4 in a single system is this possible..Windows XP Please let me know and one more thing can u send me some easy and good link to install php 4 and php5 in windows XP environment.
View Replies !
XML Package For PHP4 And PHP5
I just released the new beta version of ActiveLink PHP XML Package that works in both PHP4 and PHP5. The package is not dependent on any other XML extensions or libraries and is completely written in PHP. If anyone is interested in testing the beta version, please do so. You can get the 0.4.0-beta version from: The package is freely redistributeable under the terms of LGPL.
View Replies !
PHP4 And PHP5 Installations?
I am currently learning PHP and MySQL with a book. This is a great book but I soon realised that my host uses PHP4 and the book is written for PHP5 so the scripts I am wanting to creat won't work for production. Is it possible to run PHP4 and PHP5 at the same time on my home system so I can develope for PHP4 but keep learning PHP5? I am running a windows system with Apache2 and MySQL 4.1.
View Replies !
Downgrading From Php5 To Php4
I've made a mistake and developed in php5 whereas our hosts only run php4 and have only worked through a book on php5. Is it ok to change this from version 5 code: $quoteid = $quote->quoteid; to this: $quoteid = quoteid($quote); so that i can run my scripts on a host running version 4 of php? I have been working through all my code, trying to replace anything that won't work in version 4. I've done loads and loads of it but i still can't get any results from the database and this is one of the things I can't seem to find an answer to elsewhere. I've been learning out of a book for too little time and the deadline is looming.
View Replies !
Phplib Sql, Php4 Vs Php5
who have noticed that the outputs aren't the same with PHP4 and PHP5? Seams like some sort of sessions isn't remaining and the SQL-object is resetted... Any clues?
View Replies !
PHP4, PHP5, PEAR
I need the following features for my web service:WSDL parsingDocument/Literal styleRPC/Literal style (optional)UDDI clientUDDI serverAttachments using MIMEAttachments using DIME (optional)I've searched for weeks through the Internet. The more I search the less I understand so forgive me. I've first installed PHP5 on a Gentoo Linux machine and saw Soap support was built-in PHP5. I read in PHP5 documentation that SOAP support was now built-in which includes in fact what was called PEAR-SOAP with PHP4 (if I've correctly understood). Now I've installed PHP4 on Windows and would like to give SOAP a try under Windows first before I port the whole thing under Linux. So I went to install php_soap.dll extension and saw PHP has to be version 5 or later. Now I wonder:Is PHP5 Soap PHP-SOAP or PEAR-SOAP?Can I use PEAR-SOAP with PHP5?Can I use PEAR-SOAP with PHP4?Is php_soap.dll from PECL actually a Windows port of PEAR-SOAP.
View Replies !
Installing On Apache
I'm a beginner in PHP, am currently learning the language, and need top install PHP on my system so I can test it off-line. I installed apache and can't get PHP to work with it. I also cannot get it to work with my main site file in another location, only if I put them in the file directory in the within the apache directory. Any ideas? The httpd.conf file is here Thanks for your help!
View Replies !
Installing PHP And Apache
I've been trying to setup PHP and apache on windows xp pro sp2. I went through the steps to configure httpd.conf and setup iis....but when i go to localhost/php.php all IE says "The specified module can't be found"....Not sure which module it is..
View Replies !
Installing Php 5.x On Apache 2.x
I downloaded the latest stable msi installer. Left it with default options unless i specifically needed to change them (e.g. server). Then I went to configue my httpd.conf file, and I realised I don't know where to put the lines of code. Can someone please say where I need to insert: 1) ScriptAlias /php/ "c:/php/" 2) AddType application/x-httpd-php .php3) Action application/x-httpd-php "/php/php-cgi.exe"
View Replies !
Installing SSL On Apache
I'm trying to install ssl on apache for use with php (I think installing SSL is what I need to do to avoid the curlopt error 'error setting certificate verify locations'...) I'm getting very confused. I'm currently running apache 2.0.58, and I'm trying to install openssl and modssl, but then it seems mod ssl is only for apache 1.3 I've read various tutorials about installing ssl on apache, but they all seem to be missing a step or 2. I think what's missing is my understanding of the various components. Can someone explain to me the relationship/difference between apache, apache SSL, openssl & modssl?
View Replies !
Installing PHP W/ Apache
I've been trying for around 5 hours to get PHP and Apache running. I was using Vista on my server but am upgrading to Windows 2003 Server Enterprise x64. I was using the standard PHP & Apache distributions so they are x86 based. But I install Apache and it works fine. I get the "It Works" page. But if I install PHP, with auto configuring Apache, I am not able to view PHP! If I modify the "It Works" page to add: <?php HELLO ?> No error is returned. Correct PHP also doesn't return anything. What's going on?! I I install WAMP I get two errors and nothing works there, either. I have tried installing WAMP on several computers and always get errors.
View Replies !
Installing PHP On Apache
I downloaded PHP 5.1.4 and Apache 2.2.2 and tried to install on Windows XP. Apache works ok, but when I try to restart it with PHP enabled, I get this message: Syntax error on line 115 of httpd.conf: Cannot load C:/PHP/php5apache2.dll into server: The specified module could not be found. However, there is a php5apache2.dll in C:PHP (although it's forward slashes in httpd.conf). So what's the deal? I've installed PHP on Apache maybe ten times and I never had any problems until now.
View Replies !
PHP4 & PHP5; Cohabitation: Is It Tough?
Here is what I need to better understand: I have what I always thought to be the greatest hosting Co. Lightning speed capability, very tight security, outstanding customer support. For example I recently needed SOAP to be installed 2 hours later got an email... Installed!. Until then everything was fine and dandy! I (Yesterday) asked about their PHP5 readiness. And was told that PHP5 will run by end of February. But they are still undecided on running BOTH PHP5 and PHP4. I have a couple of my own sites (recent one) that are OOP and PHP5 ready. However I have a bunch of sites done 2 or 3 years ago (Clients one) that are far from being ready for PHP5 (in a short time period). Further more I run three carts (configured for the most recent PHP4) but that will never work in PHP5 for they use a lot of the serialize() which does not do well in a PHP5 environment. And the cart’s programmers need a few more months to be 5 ready). Could you explain why running 4 & 5 seems to be such a hardship? Many other customers will be at risk to have broken sites. On another hand I have seen hosts that will allow running both at least for a year or two.
View Replies !
Php4 To Php5 Problems Summary?
My remote hosting service just upgraded to Php 5. I believe that this is the cause of one minor error that I have encountered. This line: <?= // isset($_SESSION['some_var'])?'Disable':'Enable' ?> now produces the following error: Parse error: parse error, unexpected '' in /home/abasama/public_html/demo_enable.php on line 114 [I know it's ugly, but I commented out that line in case I want to reuse it in the future.] I've also tried changing it to <?php echo // isset($_SESSION['abas_demo'])?'Disable':'Enable' ?> and I get the same error. I don't really care whether I can leave that line as it is or not, but it got me to wondering what other things might now be broken. Is there a summary of any sort that would help me know what I should be looking for as far as broken functionality after upgrading to Php5?
View Replies !
|