php update not taking !NOTE THIS IS AN EDITED REPOST

To start with php is working fine on my local server most of the time. Sometimes when i make syntax errors when checking php code, maybe it takes to long to reload. Sometimes, i get a prompt to try again. I do and it loads A web designer friend says to not blame the php. That its something probably wrong with my system and since he’s a linux guy who just hates the fact that some people use osx (in my case 10.6.8) i take his cautions with a grain of salt…
but anyway, when I updated php from 5.3 to 5.5 there were “problems” with the download and configurations as well, and I was thinking, maybe the hangup in my php is a result of these “problems” and maybe i should take care of it/them. Also, I dont want to migrate the problem to a newer computer soon…

The shorter history of my update debacle goes something like this;

I started a tutorial about php with one guy who walked me through using mamp. Had some problems with configuring due to newbie idioscy but ultimately got things working in php 5.3. Then I tried to update to 5.5. There were error logs from the download which i couldn’t understand. I thought maybe I couldn’t migrate from 5.3 to 5.5 and so downloaded 5.4 which presented with the same error logs ( I can provide the essence of those if helpful). Not quite sure of the sequence now, but ultimately was able to get 5.5 to work. Later, however when I was doing something with updating changes to one of the conf files or something like that, I made some more newbie type errors and may have edited the file in ways i couldn’t detect. I think after that , was when I went to my_phpinfo page and it reverted back to 5.3.26. I tried for a while to get 5.5 to work but couldn’t.

I then started a different intro tutorial about php ( the first guy was slow like molasses) and the new guy wasnt suggesting to use mamp, but instead taught how to use the packages from the php website. I liked the idea of more control of things and also hoped I could get 5.5 to work with that tutorial which I did the php/mysql setup section too many times to admit. Finally I gave up with trying to get 5.5 working though I did get rid of mamp and was able to work php (5.3) the way he showed.

Now Im grinding about it again and sure would appreciate some help getting 5.5 to work…

I have all the file path’s for the different ini folders. Im thinking if I could just change the 6th line on my_phpinfo to the path where my 5.5 folder is that would fix it . But I cant figure out how to do that or where; in unix or one of the config files? The solution is Prob not any of these…oh well

When I updated php to 5.5 ( and 5.4) I used ;
curl -s http://php-osx.liip.ch/install.sh | bash -s 5.5

also if it matters in /usr/local/ php5 is pointing (a sym link) to 5.5

thanks in advance…

Id suggest to just run a virtual machine for development. Just get a ubuntu server running and you will have plenty tutorials on how to do anything at your disposal.

not really the answer im looking for at this point, but I appreciate the idea.

I must admit I dont understand the advantage, by setting up an ubuntu server as im running osx and already have php configured and working properly ( for the most part)…

One advantage is that you get an environment more like a real production server. And if you would ever change computer or reinstall the os you could just copy the vm and continue developing without having to do it all over again

Sponsor our Newsletter | Privacy Policy | Terms of Service