Closed Thread Icon

Topic awaiting preservation: php5 upgrade/installation Pages that link to <a href="https://ozoneasylum.com/backlink?for=22994" title="Pages that link to Topic awaiting preservation: php5 upgrade/installation" rel="nofollow" >Topic awaiting preservation: php5 upgrade/installation\

 
Author Thread
kronk
Bipolar (III) Inmate

From: Sydney, Autralia
Insane since: Jun 2004

posted posted 08-19-2004 16:56

hi there, i have had some trouble trying to install php5 and mysql on my home testing server running winXP and apache v2. i have successfully installed php 4.3.7 + mysql (after giving up of php5).

what i want to know is, can i upgrade to php5 or do i need a clean install?

another problem i keep getting is my sessions don't work. i can register them, nut once i go to the next page they are gone. i had this problem before but managed to fix it, however i just installed winxp and had to reconfig all web server stuff and now cannot remember how i did it.

i have set most things to on, register globals + save.session_path are correct, maybe i missed something, i don;t know.

do you think maybe its a browser cofig error or php???

thanks in advance

---------------------------------------------------------------------------------------------------------------------
Need a web site made? don't have much $$$ to spend? I have 3 spaces to fill as I am looking to increase my portfolio! I will make your site for you.

Visit 10/6 Web Solutions today!

Cameron
Paranoid (IV) Inmate

From: Brisbane
Insane since: Jan 2003

posted posted 08-22-2004 23:30

Installing both PHP 4 & 5 can be a pain. You either have to do some manual config file editing each time you want to swap over or run on of them as a CGI (preffered). Using a CGI means you can simply use a .htaccess file to redirect all .php to your PHP 4/5 cgi version in a particular directory).

Or, you save yourself the headaches and use a pre-packaged installer `cause if I have to set up Apache form scratch *again*, I'm gonna kill someone.. somehting... ok, so maybe I'll just get trigger happy with a can of fly spray, but mark my words, something will suffer the pain with me.

Apache Friends make a kick arse AMP (Apache, MySQL, PHP) installer for windows. Includes Apache 2, PHP 4 & 5 (can switch between them), MySQL 4, PHPMyAdmin and they also have Perl and Python addons umong others. Itcertainly saves a lot of headaches. Their defaults for Apache are fairly solid, much like most webosts you'll find (who don't run PHP in 'Safe Mode' anyways).

The only ecception being a problem with Apache 2 on WinXP. I had problems with Apache corrupting all of the images it sered up. I maged to reduce this a fair bit with some simple ht settings, but didn't manage to fix it completly. Unfortionatly this seems to be a problem with Apache 2 itself, not the Apache Friends installer. This won't pose too much of a problem as it should *finges crossed* be fixed in a future Apache update, and if it's only for local development then there's no real need for concern, unless you're doing a lot of finely detailed imaging with PHP, which is highly unlikely.

Oh and you don't need to actually "install" any of this, which means you can have a copy of your development server on a USB disk. This comes in super handy when you work in different locations (like work, at home and at university) or need to show work to a client on site and you don't have a laptop etc...

p.s. It's good to see more aussie inmates around here. Pitty I dont have the time to devote to this place like I use too...

(Edited by Cameron on 08-22-2004 23:39)

kronk
Bipolar (III) Inmate

From: Sydney, Autralia
Insane since: Jun 2004

posted posted 08-23-2004 00:44

i fixed the php5 problem, i d'loaded and installed a pre-packaged bundled version from http://www.en.wampserver.com. then i went thru every part of the conf and php.ini files to get my sessions working however nothing seemed to work... then i had the brilliant idea of turning my zonealarm off and the sessions worked just fine... now i just gotta fix that problem then i dont have to disconnect my internet connection to do any work.

thanks

---------------------------------------------------------------------------------------------------------------------
--------------ONLY 2 LEFT!!!--------------

Need a web site made? or an existing site updated? maybe you're looking for a fresh start for your site? I am looking to update my web portfolio and I want YOU! I now only have 2 FREE* places available - for a limited time only...

Visit 10/6 Web Solutions today for more details!

* - some restrictions apply

« BackwardsOnwards »

Show Forum Drop Down Menu