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. My friend is a linux guy who just hates the fact that some people use osx (in my case 10.6.8) so 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 potential 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 setup php using mamp. I 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 /uncommented lines in the php.ini 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 quite 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 the currently working my_phpinfo page to the path where my 5.5 folder is that would fix it , but haven’t yet figured out how…
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 i changed the symlink in; /usr/local/ php5 so that it points to 5.5 , but that didn’t change anything…
thanks in advance…